mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 09:49:43 +08:00
Objcopy interleave test
PR 22465 * testsuite/ld-elf/interleave.s: Use .data sections and provide section attrs. * testsuite/ld-elf/interleave.ld: Discard other sections. Adjust for changed section names.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2017-12-07 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR 22465
|
||||||
|
* testsuite/ld-elf/interleave.s: Use .data sections and provide
|
||||||
|
section attrs.
|
||||||
|
* testsuite/ld-elf/interleave.ld: Discard other sections. Adjust
|
||||||
|
for changed section names.
|
||||||
|
|
||||||
2017-12-07 Alan Modra <amodra@gmail.com>
|
2017-12-07 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Don't define.
|
* emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Don't define.
|
||||||
|
@ -5,6 +5,7 @@ MEMORY
|
|||||||
}
|
}
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
.a0 : { *(.text.a0) } > x0
|
.a0 : { *(.data.a0) } > x0
|
||||||
.a1 : { *(.text.a1) } > x1
|
.a1 : { *(.data.a1) } > x1
|
||||||
|
/DISCARD/ : { *(*) }
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.section ".text.a0"
|
.section ".data.a0","aw",%progbits
|
||||||
.byte 0x00
|
.byte 0x00
|
||||||
.byte 0x01
|
.byte 0x01
|
||||||
.byte 0x02
|
.byte 0x02
|
||||||
@ -7,7 +7,7 @@
|
|||||||
.byte 0x05
|
.byte 0x05
|
||||||
.byte 0x06
|
.byte 0x06
|
||||||
.byte 0x07
|
.byte 0x07
|
||||||
.section ".text.a1"
|
.section ".data.a1","aw",%progbits
|
||||||
.byte 0x10
|
.byte 0x10
|
||||||
.byte 0x11
|
.byte 0x11
|
||||||
.byte 0x12
|
.byte 0x12
|
||||||
|
Reference in New Issue
Block a user