[lld] r360439 - [llvm-objdump] Print st_other
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 09:24:57 PDT 2019
Author: maskray
Date: Fri May 10 09:24:57 2019
New Revision: 360439
URL: http://llvm.org/viewvc/llvm-project?rev=360439&view=rev
Log:
[llvm-objdump] Print st_other
Add support for ".hidden" ".internal" ".protected" and " 0x%02x" for
other st_other bits used by some architectures.
Reviewed By: sfertile
Differential Revision: https://reviews.llvm.org/D61718
Modified:
lld/trunk/test/ELF/gc-sections-metadata-startstop.s
lld/trunk/test/ELF/mips-micro-relocs.s
lld/trunk/test/ELF/mips-micror6-relocs.s
Modified: lld/trunk/test/ELF/gc-sections-metadata-startstop.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gc-sections-metadata-startstop.s?rev=360439&r1=360438&r2=360439&view=diff
==============================================================================
--- lld/trunk/test/ELF/gc-sections-metadata-startstop.s (original)
+++ lld/trunk/test/ELF/gc-sections-metadata-startstop.s Fri May 10 09:24:57 2019
@@ -11,7 +11,7 @@
# CHECK-NOT: yy
# CHECK: SYMBOL TABLE:
-# CHECK: xx 00000000 __start_xx
+# CHECK: xx 00000000 .protected __start_xx
# CHECK: w *UND* 00000000 __start_yy
.weak __start_xx
Modified: lld/trunk/test/ELF/mips-micro-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-micro-relocs.s?rev=360439&r1=360438&r2=360439&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-micro-relocs.s (original)
+++ lld/trunk/test/ELF/mips-micro-relocs.s Fri May 10 09:24:57 2019
@@ -53,9 +53,9 @@
# EL: Contents of section .debug_info
# EL-NEXT: 0000 11000200
-# SYM: 00038000 .got 00000000 .hidden _gp
-# SYM: 00020000 g F .text 00000000 foo
-# SYM: 00020010 .text 00000000 __start
+# SYM: 00038000 .got 00000000 .hidden _gp
+# SYM: 00020000 g F .text 00000000 0x80 foo
+# SYM: 00020010 .text 00000000 0x80 __start
# ELF: ElfHeader {
# ELF: Entry: 0x20011
Modified: lld/trunk/test/ELF/mips-micror6-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-micror6-relocs.s?rev=360439&r1=360438&r2=360439&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-micror6-relocs.s (original)
+++ lld/trunk/test/ELF/mips-micror6-relocs.s Fri May 10 09:24:57 2019
@@ -26,8 +26,8 @@
# EL-NEXT: 20014: 7f 80 f6 ff beqzc $3, -36
# EL-NEXT: 20018: ff b7 f4 ff balc -24 <foo>
-# SYM: 00020000 g F .text 00000000 foo
-# SYM: 00020010 .text 00000000 __start
+# SYM: 00020000 g F .text 00000000 0x80 foo
+# SYM: 00020010 .text 00000000 0x80 __start
.text
.set micromips
More information about the llvm-commits
mailing list