This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Properly align __*_array_start


Hi Jakub,

I don't believe

http://sources.redhat.com/ml/libc-hacker/2002-12/msg00017.html

is correct. The problem is we can have the .init_array section in a.o,
b.o, c.o, .... You only want to align the first .init_array section
the linker sees to the proper alignment according to the ABI since the
linker will concatenate all .init_array sections into one. We don't
want any gaps between them. The glibc problem is a linker bug. Please
try the patch enclosed here.


H.J.

Attachment: ld-array.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]