* ld-powerpc/vxworks-relax.s: Add branches to match expected output.
authorAlan Modra <amodra@gmail.com>
Tue, 20 Jul 2010 07:22:37 +0000 (07:22 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Jul 2010 07:22:37 +0000 (07:22 +0000)
* ld-powerpc/vxworks-relax-2.s: Likewise.
* ld-powerpc/vxworks1-lib.rd: Reorder reloc sections.

ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/vxworks-relax-2.s
ld/testsuite/ld-powerpc/vxworks-relax.s
ld/testsuite/ld-powerpc/vxworks1-lib.rd

index 69c662621a019e53dc43cf1c600234d44f853346..4691310a4ac6fe11479281b96f057474c0816b6e 100644 (file)
@@ -1,3 +1,9 @@
+2010-07-20  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/vxworks-relax.s: Add branches to match expected output.
+       * ld-powerpc/vxworks-relax-2.s: Likewise.
+       * ld-powerpc/vxworks1-lib.rd: Reorder reloc sections.
+
 2010-07-19  Andreas Schwab  <schwab@redhat.com>
 
        * ld-mmix/bspec1.d: Ignore "Key to Flags" contents.
index 4e5812450b34a750a38ca3182b9254ada2ac341d..bfb87aa3165b282505210e98d948ac7d3a08d4c6 100644 (file)
@@ -4,11 +4,12 @@ _start:
        lis 9,elsewhere@ha
         la 0,elsewhere@l(9)
        bl      undefined
-
+       b       .
 
        .section .far,"ax",@progbits
 elsewhere:
        bl      _start
+       b       .
 
        .section .pad
        .space 0x4000000
index b4ebb9ad5a05593afd3b890eef688a9c15089dc0..60ec418afc6d58eb99b29e849845b8f8db494765 100644 (file)
@@ -3,11 +3,12 @@ _start:
        bl      elsewhere
        lis 9,elsewhere@ha
         la 0,elsewhere@l(9)
-
+       b       .
 
        .section .far,"ax",@progbits
 elsewhere:
        bl      _start
+       b       .
 
        .section .pad
        .space 0x4000000
index 113462fa7c20df611f13f571aa0e682fbc6864b7..40a5d55e64a1252837f1912404a9ea66ceaede60 100644 (file)
@@ -1,4 +1,9 @@
 
+Relocation section '\.rela\.plt' at offset .* contains 2 entries:
+ Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
+0009040c  .*15 R_PPC_JMP_SLOT    00000000   sexternal \+ 0
+00090410  .*15 R_PPC_JMP_SLOT    00080c48   sglobal \+ 0
+
 Relocation section '\.rela\.dyn' at offset .* contains 5 entries:
  Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
 00090800  00000016 R_PPC_RELATIVE * 00080c44
@@ -6,8 +11,3 @@ Relocation section '\.rela\.dyn' at offset .* contains 5 entries:
 00080c12  .*04 R_PPC_ADDR16_LO   00000000   __GOTT_BASE__ \+ 0
 00080c16  .*03 R_PPC_ADDR16      00000000   __GOTT_INDEX__ \+ 0
 00090414  .*14 R_PPC_GLOB_DAT    00090c00   x \+ 0
-
-Relocation section '\.rela\.plt' at offset .* contains 2 entries:
- Offset     Info    Type            Sym\.Value  Sym\. Name \+ Addend
-0009040c  .*15 R_PPC_JMP_SLOT    00000000   sexternal \+ 0
-00090410  .*15 R_PPC_JMP_SLOT    00080c48   sglobal \+ 0
This page took 0.035564 seconds and 4 git commands to generate.