+2014-01-28 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/16317
+ * ld-tic6x/shlib-1.rd: Expect I attribute with RELA sections.
+ * ld-tic6x/shlib-1b.rd: Likewise.
+ * ld-tic6x/shlib-1r.rd: Likewise.
+ * ld-tic6x/shlib-1rb.rd: Likewise.
+ * ld-tic6x/shlib-app-1rd: Likewise.
+ * ld-tic6x/shlib-app-1b.rd: Likewise.
+ * ld-tic6x/shlib-app-1r.rd: Likewise.
+ * ld-tic6x/shlib-app-1rb.rd: Likewise.
+ * ld-tic6x/shlib-noindex.rd: Likewise.
+ * ld-tic6x/static-app-1.rd: Likewise.
+ * ld-tic6x/static-app-1b.rd: Likewise.
+ * ld-tic6x/static-app-1r.rd: Likewise.
+ * ld-tic6x/static-app-1rb.rd: Likewise.
+ PR binutils/16318
+ * ld-tic6x/tic6x.exp: Expect C6000 osabi value in relocatable
+ objects.
+
2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/pr16498a.s: Replace .align with .p2align.
\[ 1\] \.hash HASH 00008000 001000 000048 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008048 001048 0000d0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008118 001118 000025 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c A 2 10 4
- \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c A 2 11 4
+ \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c AI 2 10 4
+ \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c AI 2 11 4
\[ 6\] \.dynamic DYNAMIC 0000817c 00117c 0000a8 08 WA 3 0 4
- \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c A 2 8 4
+ \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c AI 2 8 4
\[ 8\] \.plt PROGBITS 10000020 002020 000060 18 AX 0 0 32
\[ 9\] \.text PROGBITS 10000080 002080 000080 00 AX 0 0 32
\[10\] \.got PROGBITS 10000100 002100 000028 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 000048 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008048 001048 0000d0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008118 001118 000025 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c A 2 10 4
- \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c A 2 11 4
+ \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c AI 2 10 4
+ \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c AI 2 11 4
\[ 6\] \.dynamic DYNAMIC 0000817c 00117c 0000a8 08 WA 3 0 4
- \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c A 2 8 4
+ \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c AI 2 8 4
\[ 8\] \.plt PROGBITS 10000020 002020 000060 18 AX 0 0 32
\[ 9\] \.text PROGBITS 10000080 002080 000080 00 AX 0 0 32
\[10\] \.got PROGBITS 10000100 002100 000028 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 000048 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008048 001048 0000d0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008118 001118 000025 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c A 2 10 4
- \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c A 2 11 4
+ \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c AI 2 10 4
+ \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c AI 2 11 4
\[ 6\] \.dynamic DYNAMIC 0000817c 00117c 0000a8 08 WA 3 0 4
- \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c A 2 8 4
+ \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c AI 2 8 4
\[ 8\] \.plt PROGBITS 10000020 002020 000060 18 AX 0 0 32
\[ 9\] \.text PROGBITS 10000080 002080 000080 00 AX 0 0 32
\[10\] \.got PROGBITS 10000100 002100 000028 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 000048 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008048 001048 0000d0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008118 001118 000025 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c A 2 10 4
- \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c A 2 11 4
+ \[ 4\] \.rela\.got RELA 00008140 001140 000024 0c AI 2 10 4
+ \[ 5\] \.rela\.neardata RELA 00008164 001164 000018 0c AI 2 11 4
\[ 6\] \.dynamic DYNAMIC 0000817c 00117c 0000a8 08 WA 3 0 4
- \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c A 2 8 4
+ \[ 7\] \.rela\.plt RELA 10000000 002000 000018 0c AI 2 8 4
\[ 8\] \.plt PROGBITS 10000020 002020 000060 18 AX 0 0 32
\[ 9\] \.text PROGBITS 10000080 002080 000080 00 AX 0 0 32
\[10\] \.got PROGBITS 10000100 002100 000028 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 000044 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008044 001044 0000c0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008104 001104 000035 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 0000813c 00113c 000018 0c A 2 11 4
- \[ 5\] \.rela\.neardata RELA 00008154 001154 000018 0c A 2 12 4
- \[ 6\] \.rela\.bss RELA 0000816c 00116c 00000c 0c A 2 13 4
+ \[ 4\] \.rela\.got RELA 0000813c 00113c 000018 0c AI 2 11 4
+ \[ 5\] \.rela\.neardata RELA 00008154 001154 000018 0c AI 2 12 4
+ \[ 6\] \.rela\.bss RELA 0000816c 00116c 00000c 0c AI 2 13 4
\[ 7\] \.dynamic DYNAMIC 00008178 001178 0000b8 08 WA 3 0 4
- \[ 8\] \.rela\.plt RELA 10000000 002000 00000c 0c A 2 9 4
+ \[ 8\] \.rela\.plt RELA 10000000 002000 00000c 0c AI 2 9 4
\[ 9\] \.plt PROGBITS 10000020 002020 000040 18 AX 0 0 32
\[10\] \.text PROGBITS 10000060 002060 000040 00 AX 0 0 32
\[11\] \.got PROGBITS 100000a0 0020a0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 000044 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008044 001044 0000c0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008104 001104 000036 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 0000813c 00113c 000018 0c A 2 11 4
- \[ 5\] \.rela\.neardata RELA 00008154 001154 000018 0c A 2 12 4
- \[ 6\] \.rela\.bss RELA 0000816c 00116c 00000c 0c A 2 13 4
+ \[ 4\] \.rela\.got RELA 0000813c 00113c 000018 0c AI 2 11 4
+ \[ 5\] \.rela\.neardata RELA 00008154 001154 000018 0c AI 2 12 4
+ \[ 6\] \.rela\.bss RELA 0000816c 00116c 00000c 0c AI 2 13 4
\[ 7\] \.dynamic DYNAMIC 00008178 001178 0000b8 08 WA 3 0 4
- \[ 8\] \.rela\.plt RELA 10000000 002000 00000c 0c A 2 9 4
+ \[ 8\] \.rela\.plt RELA 10000000 002000 00000c 0c AI 2 9 4
\[ 9\] \.plt PROGBITS 10000020 002020 000040 18 AX 0 0 32
\[10\] \.text PROGBITS 10000060 002060 000040 00 AX 0 0 32
\[11\] \.got PROGBITS 100000a0 0020a0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 000080dc 0010dc 000030 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 0000810c 00110c 000018 0c A 2 10 4
- \[ 5\] \.rela\.bss RELA 00008124 001124 00000c 0c A 2 12 4
+ \[ 4\] \.rela\.got RELA 0000810c 00110c 000018 0c AI 2 10 4
+ \[ 5\] \.rela\.bss RELA 00008124 001124 00000c 0c AI 2 12 4
\[ 6\] \.dynamic DYNAMIC 00008130 001130 0000b8 08 WA 3 0 4
- \[ 7\] \.rela\.plt RELA 10000000 002000 00000c 0c A 2 8 4
+ \[ 7\] \.rela\.plt RELA 10000000 002000 00000c 0c AI 2 8 4
\[ 8\] \.plt PROGBITS 10000020 002020 000040 18 AX 0 0 32
\[ 9\] \.text PROGBITS 10000060 002060 000040 00 AX 0 0 32
\[10\] \.got PROGBITS 100000a0 0020a0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 000080dc 0010dc 000031 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 00008110 001110 000018 0c A 2 10 4
- \[ 5\] \.rela\.bss RELA 00008128 001128 00000c 0c A 2 12 4
+ \[ 4\] \.rela\.got RELA 00008110 001110 000018 0c AI 2 10 4
+ \[ 5\] \.rela\.bss RELA 00008128 001128 00000c 0c AI 2 12 4
\[ 6\] \.dynamic DYNAMIC 00008134 001134 0000b8 08 WA 3 0 4
- \[ 7\] \.rela\.plt RELA 10000000 002000 00000c 0c A 2 8 4
+ \[ 7\] \.rela\.plt RELA 10000000 002000 00000c 0c AI 2 8 4
\[ 8\] \.plt PROGBITS 10000020 002020 000040 18 AX 0 0 32
\[ 9\] \.text PROGBITS 10000060 002060 000040 00 AX 0 0 32
\[10\] \.got PROGBITS 100000a0 0020a0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 000048 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 00008048 001048 0000d0 10 A 3 6 4
\[ 3\] \.dynstr STRTAB 00008118 001118 000025 00 A 0 0 1
- \[ 4\] \.rela\.text RELA 00008140 001140 00000c 0c A 2 10 4
- \[ 5\] \.rela\.got RELA 0000814c 00114c 000024 0c A 2 11 4
- \[ 6\] \.rela\.neardata RELA 00008170 001170 000018 0c A 2 12 4
+ \[ 4\] \.rela\.text RELA 00008140 001140 00000c 0c AI 2 10 4
+ \[ 5\] \.rela\.got RELA 0000814c 00114c 000024 0c AI 2 11 4
+ \[ 6\] \.rela\.neardata RELA 00008170 001170 000018 0c AI 2 12 4
\[ 7\] \.dynamic DYNAMIC 00008188 001188 0000b0 08 WA 3 0 4
- \[ 8\] \.rela\.plt RELA 10000000 002000 000018 0c A 2 9 4
+ \[ 8\] \.rela\.plt RELA 10000000 002000 000018 0c AI 2 9 4
\[ 9\] \.plt PROGBITS 10000020 002020 000060 18 AX 0 0 32
\[10\] \.text PROGBITS 10000080 002080 000080 00 AX 0 0 32
\[11\] \.got PROGBITS 10000100 002100 000028 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 5 4
\[ 3\] \.dynstr STRTAB 000080dc 0010dc 00001d 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c A 2 8 4
- \[ 5\] \.rela\.neardata RELA 00008120 001120 000030 0c A 2 9 4
+ \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c AI 2 8 4
+ \[ 5\] \.rela\.neardata RELA 00008120 001120 000030 0c AI 2 9 4
\[ 6\] \.dynamic DYNAMIC 00008150 001150 000090 08 WA 3 0 4
\[ 7\] \.text PROGBITS 10000000 002000 0000c0 00 AX 0 0 32
\[ 8\] \.got PROGBITS 100000c0 0020c0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 5 4
\[ 3\] \.dynstr STRTAB 000080dc 0010dc 00001d 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c A 2 8 4
- \[ 5\] \.rela\.neardata RELA 00008120 001120 000030 0c A 2 9 4
+ \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c AI 2 8 4
+ \[ 5\] \.rela\.neardata RELA 00008120 001120 000030 0c AI 2 9 4
\[ 6\] \.dynamic DYNAMIC 00008150 001150 000090 08 WA 3 0 4
\[ 7\] \.text PROGBITS 10000000 002000 0000c0 00 AX 0 0 32
\[ 8\] \.got PROGBITS 100000c0 0020c0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 5 4
\[ 3\] \.dynstr STRTAB 000080dc 0010dc 00001d 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c A 2 8 4
- \[ 5\] \.rela\.neardata RELA 00008120 001120 000018 0c A 2 9 4
+ \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c AI 2 8 4
+ \[ 5\] \.rela\.neardata RELA 00008120 001120 000018 0c AI 2 9 4
\[ 6\] \.dynamic DYNAMIC 00008138 001138 000090 08 WA 3 0 4
\[ 7\] \.text PROGBITS 10000000 002000 0000c0 00 AX 0 0 32
\[ 8\] \.got PROGBITS 100000c0 0020c0 000020 00 WA 0 0 4
\[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4
\[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 5 4
\[ 3\] \.dynstr STRTAB 000080dc 0010dc 00001d 00 A 0 0 1
- \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c A 2 8 4
- \[ 5\] \.rela\.neardata RELA 00008120 001120 000018 0c A 2 9 4
+ \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c AI 2 8 4
+ \[ 5\] \.rela\.neardata RELA 00008120 001120 000018 0c AI 2 9 4
\[ 6\] \.dynamic DYNAMIC 00008138 001138 000090 08 WA 3 0 4
\[ 7\] \.text PROGBITS 10000000 002000 0000c0 00 AX 0 0 32
\[ 8\] \.got PROGBITS 100000c0 0020c0 000020 00 WA 0 0 4
check_osabi_tic6x "C6X dynamic app OSABI, LE" tmpdir/dynapp-1
check_osabi_tic6x "C6X dynamic app OSABI, BE" tmpdir/dynapp-1b
-set expected_osabi "UNIX - System V"
-
check_osabi_tic6x "C6X relocatable link OSABI, LE" tmpdir/shlib.o
check_osabi_tic6x "C6X relocatable link OSABI, BE" tmpdir/shlibb.o