Use address sized relocs in remove-relocs-01.s
authorAlan Modra <amodra@gmail.com>
Fri, 15 Jul 2016 07:03:53 +0000 (16:33 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 15 Jul 2016 07:32:20 +0000 (17:02 +0930)
Fixes failures on alpha, ia64, mcore, metag, moxie, and pj due to lack
of 16-bit relocs.

* testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.

binutils/ChangeLog
binutils/testsuite/binutils-all/remove-relocs-01.s

index 6b8f2260fd3ef7da1f67f0adcfb99c0fdaef7d62..bbf94d232bd4f6d1313c645e93ffcf535cd24f2a 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
+
 2016-07-14  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * doc/binutils.texi (objcopy): Document 'remove-relocations'.
index 642d54f004fe3d7cc56a4628ad94b38afe81c080..cfbd920d135acb74e4979793106c0d0e1dd518e9 100644 (file)
@@ -1,19 +1,19 @@
         .section ".data.relocs.01", "aw"
-        .word   rel_01_01
-        .word   rel_01_02
-        .word   rel_01_03
+        .dc.a   rel_01_01
+        .dc.a   rel_01_02
+        .dc.a   rel_01_03
 
         .section ".data.relocs.02", "aw"
-        .word   rel_02_01
-        .word   rel_02_02
-        .word   rel_02_03
+        .dc.a   rel_02_01
+        .dc.a   rel_02_02
+        .dc.a   rel_02_03
 
         .section ".data.relocs.03", "aw"
-        .word   rel_03_01
-        .word   rel_03_02
-        .word   rel_03_03
+        .dc.a   rel_03_01
+        .dc.a   rel_03_02
+        .dc.a   rel_03_03
 
         .section ".data.01", "aw"
-        .word   0x1
-        .word   0x2
-        .word   0x3
+        .dc.a   0x1
+        .dc.a   0x2
+        .dc.a   0x3