[PATCH] Fix alpha elf_machine_load_address
Richard Henderson
rth@twiddle.net
Wed Sep 19 18:01:00 GMT 2001
On Wed, Sep 19, 2001 at 08:04:23PM +0200, Jakub Jelinek wrote:
> Should work too, but I wanted to avoid executing code in .data section.
I guess I don't care then. For gcc 3.1 I'll be able to
change this to
static unsigned long foo = (unsigned long) &foo;
return (unsigned long)&foo - foo;
and have the compiler use gp-relative relocations instead
of got references.
r~
More information about the Libc-hacker
mailing list