[Bug ld/25122] behaviour of ld when copying .ctors to .init_array

2019-10-21 Thread wxsxsdz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25122 wxsxsdz at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug ld/25122] behaviour of ld when copying .ctors to .init_array

2019-10-21 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25122 --- Comment #2 from Andreas Schwab --- The input .ctors sections should never contain begin and end markers, except for the fragments from crtbegin.o/crtend.o (which are explicitly excluded). -- You are receiving this mail because: You are o

[Bug ld/25122] behaviour of ld when copying .ctors to .init_array

2019-10-21 Thread wxsxsdz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25122 --- Comment #1 from wxsxsdz at gmail dot com --- ld will copy .ctors section from the input files to .init_array section in the output file. .ctors section should start with 0x and end with 0x. But .init_array sh

[Bug ld/25122] behaviour of ld when copying .ctors to .init_array

2019-10-21 Thread wxsxsdz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25122 wxsxsdz at gmail dot com changed: What|Removed |Added Summary|behaviour of ld |behaviour of ld when