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: [steleman@hoggle][/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 [steleman@hoggle][/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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils