This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Treat STV_HIDDEN and STV_INTERNAL symbols as STB_LOCAL


On Sat, 7 May 2016, Maciej W. Rozycki wrote:

> Index: glibc/elf/dl-reloc.c
> ===================================================================
> --- glibc.orig/elf/dl-reloc.c	2016-05-05 19:36:17.418334585 +0100
> +++ glibc/elf/dl-reloc.c	2016-05-06 04:41:12.649078174 +0100
> @@ -233,7 +233,8 @@ _dl_relocate_object (struct link_map *l,
>  
>      /* This macro is used as a callback from the ELF_DYNAMIC_RELOCATE code.  */
>  #define RESOLVE_MAP(ref, version, r_type) \
> -    (ELFW(ST_BIND) ((*ref)->st_info) != STB_LOCAL			      \
> +    ((ELFW (ST_BIND) ((*ref)->st_info) != STB_LOCAL			      \

 I missed the unwanted `ELFW (ST_BIND)' part in this change and will keep 
the original formatting intact in the final commit.  I don't think there's 
any sense in reposting the whole submission just for this bit.

  Maciej


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