Re: Prefer object over notype symbols when disassembling
authorAlan Modra <amodra@gmail.com>
Mon, 6 Jan 2020 22:59:54 +0000 (09:29 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Jan 2020 23:04:52 +0000 (09:34 +1030)
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.

21 files changed:
ld/ChangeLog
ld/testsuite/ld-mips-elf/eh-frame5.s
ld/testsuite/ld-mips-elf/ehdr_start-new.s
ld/testsuite/ld-mips-elf/ehdr_start-o32.s
ld/testsuite/ld-mips-elf/mips16-call-global-1.s
ld/testsuite/ld-mips-elf/mips16-intermix-1.s
ld/testsuite/ld-mips-elf/mips16-pic-1b.s
ld/testsuite/ld-mips-elf/mips16-pic-4c.s
ld/testsuite/ld-mips-elf/no-shared-1-n64.s
ld/testsuite/ld-mips-elf/no-shared-1-o32.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-1b.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-2a.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s
ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s
ld/testsuite/ld-mips-elf/pie.s
ld/testsuite/ld-mips-elf/relax-jalr.s

index a9871938ef1d615e5bec5cceb1b436267d42d98e..7ff108cbb0c9b79789f9f4cdbc04e63d37481b4e 100644 (file)
@@ -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
index cf5a11c37aba81dee47ec2774760ed014e452a55..741a021685dbb822583a7263d4545f201a8bb4df 100644 (file)
@@ -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
index ccf20db024a98cd0fb6e235258d31f922a14b662..5ee00dc4addb5732d676bb4125380fc3bb866f9a 100644 (file)
@@ -2,7 +2,6 @@
        .text
        .weak   __ehdr_start
        .globl  __start
-       .type   __start, @function
        .ent    __start
        .frame  $29, 0, $31
        .mask   0x00000000, 0
index 60a5854b9b8f10b92daea188466e9a83f7812052..09734473fa39989ad95fc12353cd067140bf94a1 100644 (file)
@@ -2,7 +2,6 @@
        .text
        .weak   __ehdr_start
        .globl  __start
-       .type   __start, @function
        .ent    __start
        .frame  $29, 0, $31
        .mask   0x00000000, 0
index 485e77c31ef80999610080a555b95e8496655d13..4c6d0a43aae4ab74d4162c76be1400dc16f8b3c8 100644 (file)
@@ -1,7 +1,6 @@
        .set    mips16
 
        .globl  __start
-       .type   __start, @function
        .ent    __start
        .align  4
 __start:
index 56527ea217b726a81e4878b7ef2d2e0783b41e76..c596619c9493e8b77e4db1faa7d861fb2d752ca2 100644 (file)
@@ -1,7 +1,6 @@
        .text
        .align  2
        .globl  __start
-       .type   __start, @function
        .set    nomips16
        .ent    __start
 __start:
index 1fc03c40eb714f563ff144cfffc3aac4f88b4594..9a17072f2e4632120a2a156443a96434c2b607be 100644 (file)
@@ -12,7 +12,6 @@
        callpic used21,mips16
 
        .globl  __start
-       .type   __start, @function
        .ent    __start
        .set    nomips16
 __start:
index 985a7f150d574dbd36f689041923569e452c6581..338d378d75693c165a1ac4e288143052e3bb2af1 100644 (file)
@@ -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
index c63b8c879c40eb1c2de01366860000ac2baf1058..8eedf12157b7c2ec9dc3a4364ca33d385587179b 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .text
        .globl  __start
-       .type   __start, @function
        .ent    __start
 __start:
        lui     $2,%hi(__gnu_local_gp)
index 80be39bf36a9eb6612d5e996bcfb1390e0c4f2b9..f00fc4ba91542a81dc0faba77c9e32164c2679fe 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .text
        .globl  __start
-       .type   __start, @function
        .ent    __start
 __start:
        lui     $2,%hi(__gnu_local_gp)
index abd015689123912f973af9af6cb78eec5babc26f..1eff3093c8b039c16408026ccb28eb5c818e419e 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .option pic0
        .global __start
-       .type   __start, @function
        .set    micromips
        .ent    __start
 __start:
index 2615f24a2242894279f45904d462488e013fb052..5739fef104df32dfb9afbb1cf4315f4685955150 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .option pic0
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        jal     f1
index f360b0eb2df9f5dc240862243f0f6e4c552cff62..45a490f945a81fd06545bf0dd98df773da328668 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .option pic0
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        jal     foo
index 2a9ad89dee62783e22ee3248fa172bdebf6d2cc4..571c774cdf7d578f2f2e08b8e512a122bfe14b0f 100644 (file)
@@ -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)
index 863a01b02cc7b73f01ef90c32503b37c4d601f74..7e25bf48bf4a569ce957af1508c622de2592bf4f 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .option pic0
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        lui     $2,%hi(obj1)
index e85655fbe1a6b005da0763fd5d064323ba582fc8..7452f5e8e3ae838999337f55994655ae2ed9645c 100644 (file)
@@ -1,7 +1,6 @@
        .abicalls
        .option pic0
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        lui     $2,%hi(foo)
index 3d5660c2ade64af2e1ad98de96ee76de6d967dfe..578626a18caff6369a26edde4e091b0dfda97acc 100644 (file)
@@ -2,7 +2,6 @@
        .option pic0
        .set    noreorder
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        jal     f1
index 3d5660c2ade64af2e1ad98de96ee76de6d967dfe..578626a18caff6369a26edde4e091b0dfda97acc 100644 (file)
@@ -2,7 +2,6 @@
        .option pic0
        .set    noreorder
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        jal     f1
index 3d5660c2ade64af2e1ad98de96ee76de6d967dfe..578626a18caff6369a26edde4e091b0dfda97acc 100644 (file)
@@ -2,7 +2,6 @@
        .option pic0
        .set    noreorder
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        jal     f1
index 442de015006b57dfbaf333601609e13b689edb96..c7f2b206b9f7d1a9849aba59d6db938e8d6d63bd 100644 (file)
@@ -1,6 +1,5 @@
        .abicalls
        .global __start
-       .type   __start, @function
        .ent    __start
 __start:
        jr $31
index b8478faef027273e6a96e976232e0e6df30e1dc7..ba7ea1a04ddd2fe4a9bb5237ea7d4702f55565f4 100644 (file)
@@ -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