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] |
Other format: | [Raw text] |
On Thu, Aug 22, 2002 at 08:07:26PM -0400, Roland McGrath wrote: > I just experimented with making a static variable in rtld.c and redefining > GL using that locally, with strong_alias to define _rtld_global. It seems > to work. Can platforms like Alpha and SPARC avoid the relocs for local > symbols? SPARC, unless GOTOFF like relocs are added cannot, it still has to use a R_SPARC_RELATIVE reloc and thus we must not reference it before ld.so relocation. For Alpha, I'll look when I wake up. Note that i386-linux glibc build segfaults in ld.so ATM too (while i686-linux works), both using gcc 3.2. In that case it seems like %ebx was not set up as early as needed before _dl_start first references it. Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |