This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] |
On Friday 17 August 2012 23:49:22 Roland McGrath wrote: > Incidentally it makes me wonder why we don't have attribute_hidden > on all such variables. As it is, they all get GOT slots needing > startup-time R_*_RELATIVE relocs (and corresponding indirection cost > at runtime), don't they? it does look that way. other __have_xxx vars are marked with attribute_hidden too. i'll post a follow up patch. > I wonder if there is something analogous to check-localplt that we > could come up with for global-variable GOT slots and root this out > generally. annoyingly, `readelf -r` doesn't decode the symbols for R_X86_64_RELATIVE relocs. so i think we might have to fix that first. > More radically, we could conceivably one day just > compile everything with -fvisibility=hidden and specifically > annotate (via some new libc-symbol.h macro shorthand) each function > intended to be exported with an overriding attribute. Hmm. that might just be crazy enough to work ;) -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |