.data.rel.so brokenness
Richard Henderson
rth@twiddle.net
Thu Jan 15 04:47:00 GMT 2004
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~
More information about the Libc-alpha
mailing list