PATCH: Handle R_ALPHA_NONE

H . J . Lu hjl@lucon.org
Tue Apr 16 10:37:00 GMT 2002


On Mon, Apr 15, 2002 at 11:48:35PM -0700, Richard Henderson wrote:
> On Mon, Apr 15, 2002 at 09:45:53PM -0700, H . J . Lu wrote:
> > The issue is ELF/alpha allocates more relocation entries for ld.so than
> > needed.
> 
> But why?  It is already trying to compute exactly how many
> are needed.

If I have to guess, ELF/alpha doesn't handle the visibility right. The
current glibc has

  1063: 0000000000000010     4 OBJECT  GLOBAL HIDDEN    9
__libc_enable_secure_inte
  1093: 0000000000000004     4 OBJECT  GLOBAL HIDDEN  COM _dl_skip_args
  1107: 0000000000000004     4 OBJECT  GLOBAL HIDDEN  COM _dl_argc
  1183: 0000000000000008     4 OBJECT  GLOBAL HIDDEN    9
_dl_starting_up_internal
  1208: 000000000000039b    14 OBJECT  GLOBAL HIDDEN    3
_dl_out_of_memory_interna
  1236: 0000000000000628    16 OBJECT  GLOBAL HIDDEN    3
_itoa_lower_digits_intern



H.J.



More information about the Binutils mailing list