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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: [PATCH] Fix alpha elf_machine_load_address


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~


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