[PATCH, COMMITTED] [AArch64] Replace the :got_prel19: address modifier with :got:
authorMarcus Shawcroft <mshawcroft@sourceware.org>
Wed, 3 Jul 2013 17:26:36 +0000 (17:26 +0000)
committerMarcus Shawcroft <mshawcroft@sourceware.org>
Wed, 3 Jul 2013 17:26:36 +0000 (17:26 +0000)
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/reloc-insn.s
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/emit-relocs-309.s
ld/testsuite/ld-aarch64/gc-relocs-309.s

index 3eb87ec..4551f99 100644 (file)
@@ -1,5 +1,9 @@
 2013-07-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
+       * config/tc-aarch64.c (reloc_table): Merge got_prel19 into got.
+
+2013-07-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
        * config/tc-aarch64.c (md_apply_fix): Reorder case values.
        (aarch64_force_relocation): Likewise.
 
index 2665b75..7b21396 100644 (file)
@@ -2360,18 +2360,14 @@ static struct reloc_table_entry reloc_table[] = {
    BFD_RELOC_AARCH64_MOVW_G3,
    0,
    0},
-  /* Get to the GOT entry for a symbol.  */
-  {"got_prel19", 0,
-   0,
-   0,
-   0,
-   BFD_RELOC_AARCH64_GOT_LD_PREL19},
+
   /* Get to the page containing GOT entry for a symbol.  */
   {"got", 1,
    BFD_RELOC_AARCH64_ADR_GOT_PAGE,
    0,
    0,
-   0},
+   BFD_RELOC_AARCH64_GOT_LD_PREL19},
+
   /* 12 bit offset into the page containing GOT entry for that symbol.  */
   {"got_lo12", 0,
    0,
index e309d0e..e48f88c 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * gas/aarch64/reloc-insn.s (func): Replace :got_prel19: with :got:.
+
 2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
 
        * gas/aarch64/ilp32-basic.d: New file.
index 1d13900..99ca965 100644 (file)
@@ -178,7 +178,7 @@ func:
        prfm    pstl1keep, [x7, #:lo12:ldata+4100]
 
        // BFD_RELOC_AARCH64_GOT_LD_PREL19
-       ldr     x0, :got_prel19:cdata
+       ldr     x0, :got:cdata
        ldrb    w1, [x0]
        
        ret
index 54e7a78..a463570 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * ld-aarch64/emit-relocs-309.s: Replace got_prel19 with got.
+       * ld-aarch64/gc-relocs-309.s: Likewise.
+
 2013-07-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
        * ld-aarch64/gc-plt-relocs.d: Adjust expected .got offsets.
index d66c64b..edf47cd 100644 (file)
@@ -11,4 +11,4 @@
 
 _start:
        nop
-       ldr     x0, :got_prel19:src
+       ldr     x0, :got:src
index 06901bf..cdafc9c 100644 (file)
@@ -3,5 +3,4 @@
 .text
 _test_gc_rel309:
        nop
-       ldr     x1, :got_prel19:sym309_notused
-
+       ldr     x1, :got:sym309_notused