This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Use address sized relocs in remove-relocs-01.s


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=003c15c9fdfc1ef7038ed3306ae166e60663e7ca

commit 003c15c9fdfc1ef7038ed3306ae166e60663e7ca
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jul 15 16:33:53 2016 +0930

    Use address sized relocs in remove-relocs-01.s
    
    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.

Diff:
---
 binutils/ChangeLog                                 |  4 ++++
 binutils/testsuite/binutils-all/remove-relocs-01.s | 24 +++++++++++-----------
 2 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 6b8f226..bbf94d2 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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'.
diff --git a/binutils/testsuite/binutils-all/remove-relocs-01.s b/binutils/testsuite/binutils-all/remove-relocs-01.s
index 642d54f..cfbd920 100644
--- a/binutils/testsuite/binutils-all/remove-relocs-01.s
+++ b/binutils/testsuite/binutils-all/remove-relocs-01.s
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]