Fixes for assembling with an ARM targeted version of GAS
authorNick Clifton <nickc@redhat.com>
Tue, 18 May 2004 16:18:56 +0000 (16:18 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 18 May 2004 16:18:56 +0000 (16:18 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/frame.s
ld/testsuite/ld-elf/table.s
ld/testsuite/ld-elf/tbss.s

index a0d258f0b0ce35a58509d5c8eceba011eefc82c6..aeebbd81a7d8a9c7778c9b3545df79bfdd15aff4 100644 (file)
@@ -1,3 +1,12 @@
+2004-05-18  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/frame.s: Replace @ with % so that the file can be
+       compiled by an ARM targeted GAS.
+       * ld-elf/table.s: Likewise.
+       * ld-elf/tbss.s: Likewise.  Also replace .align <foo> with
+       .p2align (log2 <foo>) to cope with the fact that the ARM .align
+       directive takes a power-of-two argument.
+
 2004-05-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        * ld-elf/frame.exp: New file. Test read-only .eh_frame and
index ece463ccb0b7eac028edbbae6410b020fdb6bfc5..c7522636fc0b554fe91dc63a966beb6a608d5393 100644 (file)
@@ -1,2 +1,2 @@
-       .section        .eh_frame,"a",@progbits
+       .section        .eh_frame,"a",%progbits
        .4byte  0
index 3641eceab0aff4d6b5cc2efcbe9d248cd28cfe89..2b13f70e9584c96795131de1c828e6f3c9b84da4 100644 (file)
@@ -1 +1 @@
-       .section        .gcc_except_table,"a",@progbits
+       .section        .gcc_except_table,"a",%progbits
index fc3be3d637858789950dc1f3c67919b570cafc40..37246bbd0b6a129a51656df4e3ac1fd109dfe458 100644 (file)
@@ -1,15 +1,15 @@
        .file   "x.c"
 .globl bss
-       .section        .bss,"aw",@nobits
-       .align 4096
-       .type   bss,@object
+       .section        .bss,"aw",%nobits
+       .p2align 12
+       .type   bss,%object
        .size   bss,4096
 bss:
        .zero   4096
 .globl tbss
-       .section        .tbss,"awT",@nobits
-       .align 4096
-       .type   tbss,@object
+       .section        .tbss,"awT",%nobits
+       .p2align 12
+       .type   tbss,%object
        .size   tbss,4096
 tbss:
        .zero   4096