aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-01-07 09:29:54 +1030
committerAlan Modra <amodra@gmail.com>2020-01-07 09:34:52 +1030
commit85e290dc1252d77e726c0892b197be449b34bd16 (patch)
treee6664faf8ba904c153ba17d7d11c77b4dd5e5a96 /ld
parent153d79c451fd852e97cdfecf2205781e3a13dd55 (diff)
downloadgdb-85e290dc1252d77e726c0892b197be449b34bd16.zip
gdb-85e290dc1252d77e726c0892b197be449b34bd16.tar.gz
gdb-85e290dc1252d77e726c0892b197be449b34bd16.tar.bz2
Re: Prefer object over notype symbols when disassembling
Reverts unnecessary mips testsuite changes made by commit 660df28acf. * testsuite/ld-mips-elf/eh-frame5.s, * testsuite/ld-mips-elf/ehdr_start-new.s, * testsuite/ld-mips-elf/ehdr_start-o32.s, * testsuite/ld-mips-elf/mips16-call-global-1.s, * testsuite/ld-mips-elf/mips16-intermix-1.s, * testsuite/ld-mips-elf/mips16-pic-1b.s, * testsuite/ld-mips-elf/mips16-pic-4c.s, * testsuite/ld-mips-elf/no-shared-1-n64.s, * testsuite/ld-mips-elf/no-shared-1-o32.s, * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s, * testsuite/ld-mips-elf/pic-and-nonpic-1b.s, * testsuite/ld-mips-elf/pic-and-nonpic-2a.s, * testsuite/ld-mips-elf/pic-and-nonpic-3b.s, * testsuite/ld-mips-elf/pic-and-nonpic-4b.s, * testsuite/ld-mips-elf/pic-and-nonpic-5a.s, * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s, * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s, * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s, * testsuite/ld-mips-elf/pie.s, * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog23
-rw-r--r--ld/testsuite/ld-mips-elf/eh-frame5.s11
-rw-r--r--ld/testsuite/ld-mips-elf/ehdr_start-new.s1
-rw-r--r--ld/testsuite/ld-mips-elf/ehdr_start-o32.s1
-rw-r--r--ld/testsuite/ld-mips-elf/mips16-call-global-1.s1
-rw-r--r--ld/testsuite/ld-mips-elf/mips16-intermix-1.s1
-rw-r--r--ld/testsuite/ld-mips-elf/mips16-pic-1b.s1
-rw-r--r--ld/testsuite/ld-mips-elf/mips16-pic-4c.s2
-rw-r--r--ld/testsuite/ld-mips-elf/no-shared-1-n64.s1
-rw-r--r--ld/testsuite/ld-mips-elf/no-shared-1-o32.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-1b.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-2a.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.s2
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s1
-rw-r--r--ld/testsuite/ld-mips-elf/pie.s1
-rw-r--r--ld/testsuite/ld-mips-elf/relax-jalr.s7
21 files changed, 26 insertions, 35 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a987193..7ff108c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,26 @@
+2020-01-07 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-mips-elf/eh-frame5.s,
+ * testsuite/ld-mips-elf/ehdr_start-new.s,
+ * testsuite/ld-mips-elf/ehdr_start-o32.s,
+ * testsuite/ld-mips-elf/mips16-call-global-1.s,
+ * testsuite/ld-mips-elf/mips16-intermix-1.s,
+ * testsuite/ld-mips-elf/mips16-pic-1b.s,
+ * testsuite/ld-mips-elf/mips16-pic-4c.s,
+ * testsuite/ld-mips-elf/no-shared-1-n64.s,
+ * testsuite/ld-mips-elf/no-shared-1-o32.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
+ * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
+ * testsuite/ld-mips-elf/pie.s,
+ * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
+
2020-01-06 Nick Clifton <nickc@redhat.com>
PR 25327
diff --git a/ld/testsuite/ld-mips-elf/eh-frame5.s b/ld/testsuite/ld-mips-elf/eh-frame5.s
index cf5a11c..741a021 100644
--- a/ld/testsuite/ld-mips-elf/eh-frame5.s
+++ b/ld/testsuite/ld-mips-elf/eh-frame5.s
@@ -2,7 +2,6 @@
.cfi_personality 0x0,local_pers
.cfi_lsda 0x0,LSDA
.ent f1
- .type f1, @function
f1:
nop
.end f1
@@ -12,7 +11,6 @@ f1:
.cfi_personality 0x0,hidden_pers
.cfi_lsda 0x0,LSDA
.ent f2
- .type f2, @function
f2:
nop
.end f2
@@ -22,7 +20,6 @@ f2:
.cfi_personality 0x0,global_pers
.cfi_lsda 0x0,LSDA
.ent f3
- .type f3, @function
f3:
nop
.end f3
@@ -32,7 +29,6 @@ f3:
.cfi_personality 0x0,extern_pers
.cfi_lsda 0x0,LSDA
.ent f4
- .type f4, @function
f4:
nop
.end f4
@@ -42,7 +38,6 @@ f4:
.cfi_personality 0x80,local_indirect_ptr
.cfi_lsda 0x0,LSDA
.ent f5
- .type f5, @function
f5:
nop
.end f5
@@ -52,7 +47,6 @@ f5:
.cfi_personality 0x80,hidden_indirect_ptr
.cfi_lsda 0x0,LSDA
.ent f6
- .type f6, @function
f6:
nop
.end f6
@@ -62,7 +56,6 @@ f6:
.cfi_personality 0x80,global_indirect_ptr
.cfi_lsda 0x0,LSDA
.ent f7
- .type f7, @function
f7:
nop
.end f7
@@ -72,7 +65,6 @@ f7:
.cfi_personality 0x80,extern_indirect_ptr
.cfi_lsda 0x0,LSDA
.ent f8
- .type f8, @function
f8:
nop
.end f8
@@ -80,7 +72,6 @@ f8:
.ent local_pers
- .type local_pers, @function
local_pers:
nop
.end local_pers
@@ -88,14 +79,12 @@ local_pers:
.globl hidden_pers
.hidden hidden_pers
.ent hidden_pers
- .type hidden_pers, @function
hidden_pers:
nop
.end hidden_pers
.globl global_pers
.ent global_pers
- .type global_pers, @function
global_pers:
nop
.end global_pers
diff --git a/ld/testsuite/ld-mips-elf/ehdr_start-new.s b/ld/testsuite/ld-mips-elf/ehdr_start-new.s
index ccf20db..5ee00dc 100644
--- a/ld/testsuite/ld-mips-elf/ehdr_start-new.s
+++ b/ld/testsuite/ld-mips-elf/ehdr_start-new.s
@@ -2,7 +2,6 @@
.text
.weak __ehdr_start
.globl __start
- .type __start, @function
.ent __start
.frame $29, 0, $31
.mask 0x00000000, 0
diff --git a/ld/testsuite/ld-mips-elf/ehdr_start-o32.s b/ld/testsuite/ld-mips-elf/ehdr_start-o32.s
index 60a5854..0973447 100644
--- a/ld/testsuite/ld-mips-elf/ehdr_start-o32.s
+++ b/ld/testsuite/ld-mips-elf/ehdr_start-o32.s
@@ -2,7 +2,6 @@
.text
.weak __ehdr_start
.globl __start
- .type __start, @function
.ent __start
.frame $29, 0, $31
.mask 0x00000000, 0
diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global-1.s b/ld/testsuite/ld-mips-elf/mips16-call-global-1.s
index 485e77c..4c6d0a4 100644
--- a/ld/testsuite/ld-mips-elf/mips16-call-global-1.s
+++ b/ld/testsuite/ld-mips-elf/mips16-call-global-1.s
@@ -1,7 +1,6 @@
.set mips16
.globl __start
- .type __start, @function
.ent __start
.align 4
__start:
diff --git a/ld/testsuite/ld-mips-elf/mips16-intermix-1.s b/ld/testsuite/ld-mips-elf/mips16-intermix-1.s
index 56527ea..c596619 100644
--- a/ld/testsuite/ld-mips-elf/mips16-intermix-1.s
+++ b/ld/testsuite/ld-mips-elf/mips16-intermix-1.s
@@ -1,7 +1,6 @@
.text
.align 2
.globl __start
- .type __start, @function
.set nomips16
.ent __start
__start:
diff --git a/ld/testsuite/ld-mips-elf/mips16-pic-1b.s b/ld/testsuite/ld-mips-elf/mips16-pic-1b.s
index 1fc03c4..9a17072 100644
--- a/ld/testsuite/ld-mips-elf/mips16-pic-1b.s
+++ b/ld/testsuite/ld-mips-elf/mips16-pic-1b.s
@@ -12,7 +12,6 @@
callpic used21,mips16
.globl __start
- .type __start, @function
.ent __start
.set nomips16
__start:
diff --git a/ld/testsuite/ld-mips-elf/mips16-pic-4c.s b/ld/testsuite/ld-mips-elf/mips16-pic-4c.s
index 985a7f1..338d378 100644
--- a/ld/testsuite/ld-mips-elf/mips16-pic-4c.s
+++ b/ld/testsuite/ld-mips-elf/mips16-pic-4c.s
@@ -7,7 +7,6 @@
.section .mips16.call.f2, "ax", @progbits
.ent __call
- .type __call, @function
__call:
la $25,f2
jr $25
@@ -19,7 +18,6 @@ __call:
.section .mips16.call.fp.f3, "ax", @progbits
.ent __call_fp
- .type __call_fp, @function
__call_fp:
la $25,f3
jr $25
diff --git a/ld/testsuite/ld-mips-elf/no-shared-1-n64.s b/ld/testsuite/ld-mips-elf/no-shared-1-n64.s
index c63b8c8..8eedf12 100644
--- a/ld/testsuite/ld-mips-elf/no-shared-1-n64.s
+++ b/ld/testsuite/ld-mips-elf/no-shared-1-n64.s
@@ -1,7 +1,6 @@
.abicalls
.text
.globl __start
- .type __start, @function
.ent __start
__start:
lui $2,%hi(__gnu_local_gp)
diff --git a/ld/testsuite/ld-mips-elf/no-shared-1-o32.s b/ld/testsuite/ld-mips-elf/no-shared-1-o32.s
index 80be39b..f00fc4b 100644
--- a/ld/testsuite/ld-mips-elf/no-shared-1-o32.s
+++ b/ld/testsuite/ld-mips-elf/no-shared-1-o32.s
@@ -1,7 +1,6 @@
.abicalls
.text
.globl __start
- .type __start, @function
.ent __start
__start:
lui $2,%hi(__gnu_local_gp)
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s
index abd0156..1eff309 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s
@@ -1,7 +1,6 @@
.abicalls
.option pic0
.global __start
- .type __start, @function
.set micromips
.ent __start
__start:
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b.s
index 2615f24a..5739fef 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1b.s
@@ -1,7 +1,6 @@
.abicalls
.option pic0
.global __start
- .type __start, @function
.ent __start
__start:
jal f1
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-2a.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-2a.s
index f360b0e..45a490f 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-2a.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-2a.s
@@ -1,7 +1,6 @@
.abicalls
.option pic0
.global __start
- .type __start, @function
.ent __start
__start:
jal foo
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.s
index 2a9ad89..571c774 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.s
@@ -1,7 +1,6 @@
.abicalls
.option pic0
.global __start
- .type __start, @function
.ent __start
__start:
jal foo
@@ -9,7 +8,6 @@ __start:
.end __start
.global ext
- .type ext, @function
.ent ext
ext:
lui $gp,%hi(__gnu_local_gp)
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s
index 863a01b..7e25bf4 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s
@@ -1,7 +1,6 @@
.abicalls
.option pic0
.global __start
- .type __start, @function
.ent __start
__start:
lui $2,%hi(obj1)
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
index e85655f..7452f5e 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
@@ -1,7 +1,6 @@
.abicalls
.option pic0
.global __start
- .type __start, @function
.ent __start
__start:
lui $2,%hi(foo)
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s
index 3d5660c..578626a 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s
@@ -2,7 +2,6 @@
.option pic0
.set noreorder
.global __start
- .type __start, @function
.ent __start
__start:
jal f1
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s
index 3d5660c..578626a 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s
@@ -2,7 +2,6 @@
.option pic0
.set noreorder
.global __start
- .type __start, @function
.ent __start
__start:
jal f1
diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s
index 3d5660c..578626a 100644
--- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s
+++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s
@@ -2,7 +2,6 @@
.option pic0
.set noreorder
.global __start
- .type __start, @function
.ent __start
__start:
jal f1
diff --git a/ld/testsuite/ld-mips-elf/pie.s b/ld/testsuite/ld-mips-elf/pie.s
index 442de01..c7f2b20 100644
--- a/ld/testsuite/ld-mips-elf/pie.s
+++ b/ld/testsuite/ld-mips-elf/pie.s
@@ -1,6 +1,5 @@
.abicalls
.global __start
- .type __start, @function
.ent __start
__start:
jr $31
diff --git a/ld/testsuite/ld-mips-elf/relax-jalr.s b/ld/testsuite/ld-mips-elf/relax-jalr.s
index b8478fa..ba7ea1a 100644
--- a/ld/testsuite/ld-mips-elf/relax-jalr.s
+++ b/ld/testsuite/ld-mips-elf/relax-jalr.s
@@ -1,7 +1,6 @@
- .globl __start
- .type __start, @function
+.globl __start
.space 8
- .ent __start
+.ent __start
__start:
.Lstart:
.space 16
@@ -10,7 +9,7 @@ __start:
jal __start
.space 64
jal .Lstart
- .end __start
+.end __start
# make objdump print ...
.space 8