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]

bogus textrels with alpha target ?


with the addition of automated ELF QA checks to Gentoo, we started
noticing that alpha hosts had a lot of binaries ending up with TEXTREL
markings.  for example, when building the shadow package against pam,
the passwd and su binaries are marked with DT_TEXTREL:
# readelf -d /bin/passwd | grep TEXTREL
 0x0000000000000016 (TEXTREL)            0x0
 0x000000000000001e (FLAGS)              SYMBOLIC TEXTREL BIND_NOW STATIC_TLS

i narrowed down the test case (which is attached) and checked against
binutils versions:
2.14.90.0.8
2.15.92.0.2
2.16.1
2.16.91.0.4
and gcc versions:
3.3.2
3.4.4

and yes, i checked that it isnt a Gentoo-issue because Debian exhibits
the same behavior (/usr/bin/passwd in the alpha deb 4.0.13-4 has same
output as above)

so then the question is, am i looking at a bug in binutils ?
-mike

Attachment: Makefile
Description: Text document

Attachment: libshared.c
Description: Text document

Attachment: main.c
Description: Text document


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