[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_S
From: |
stefan.teleman at oracle dot com |
Subject: |
[Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables |
Date: |
Tue, 02 Aug 2016 14:35:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20427
--- Comment #6 from Stefan Teleman <stefan.teleman at oracle dot com> ---
If i change the test case for the Sun assembler:
__kmp_unnamed_critical_addr:
.xword .gomp_critical_user_ + 0x1234567890
i get this:
address@hidden/builds/steleman/userland-s12-binutils-gas-24380705/components/binutils/build/sparcv9/gas][08/02/2016
7:30:35][544]>> /usr/bin/as -m32 -xarch=v8plusa test32-sun.S -o test32-sun.o
/usr/bin/as: "test32-sun.S", line 14: warning: value does not fit in 32 bits
address@hidden/builds/steleman/userland-s12-binutils-gas-24380705/components/binutils/build/sparcv9/gas][08/02/2016
7:30:43][545]>> readelf -sW --relocs test32-sun.o
Relocation section '.rela.data' at offset 0xf8 contains 1 entries:
Offset Info Type Sym. Value Symbol's Name + Addend
00000004 00000303 R_SPARC_32 00000008 .gomp_critical_user_ +
34567890
Symbol table '.symtab' contains 5 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 FILE LOCAL DEFAULT ABS test32-sun.S
2: 00000000 0 SECTION LOCAL DEFAULT 2
3: 00000008 64 OBJECT GLOBAL DEFAULT COM .gomp_critical_user_
4: 00000000 8 OBJECT GLOBAL DEFAULT 2 __kmp_unnamed_critical_addr
Same as GAS, but the Sun assembler emits a warning.
Which now creates a new and interesting question that i am going to run
by the Solaris linker people: isn't this a Solaris rtld bug, in final
analysis?
I will ask the linker folks and i will come up with more test cases
for the other relocations.
Thank you very much!
--Stefan
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/20427] New: Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, stefan.teleman at oracle dot com, 2016/08/01
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, stefan.teleman at oracle dot com, 2016/08/01
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, stefan.teleman at oracle dot com, 2016/08/01
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, stefan.teleman at oracle dot com, 2016/08/01
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, nickc at redhat dot com, 2016/08/02
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, stefan.teleman at oracle dot com, 2016/08/02
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, nickc at redhat dot com, 2016/08/02
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables,
stefan.teleman at oracle dot com <=
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, ali_swbugzilla at emvision dot com, 2016/08/02
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, ro at CeBiTec dot Uni-Bielefeld.DE, 2016/08/03
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, cvs-commit at gcc dot gnu.org, 2016/08/04
- [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables, nickc at redhat dot com, 2016/08/04