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]

.data.rel.so brokenness


Alpha won't link at present because __libc_enable_secure 
and __libc_stack_end are declared as

	extern void *foo;
and defined as
	extern void *foo __attribute__((section(...)));

Because of the declaration, the compiler thinks __libc_stack_end
is defined in .sdata, and so generates a 16-bit relocation.  Because
of the definition, the 16-bit reloc won't reach.

Put the attribute on the decl too and the compiler will DTRT.


r~


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