mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 00:52:16 +08:00
Add a testase for PR ld/14926
PR ld/14926 * ld-elf/pr14926.d: New file. * ld-elf/pr14926.s: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-12-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/14926
|
||||||
|
* ld-elf/pr14926.d: New file.
|
||||||
|
* ld-elf/pr14926.s: Likewise.
|
||||||
|
|
||||||
2012-12-07 Alan Modra <amodra@gmail.com>
|
2012-12-07 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* ld-elf/comm-data.exp: Revert last change.
|
* ld-elf/comm-data.exp: Revert last change.
|
||||||
|
13
ld/testsuite/ld-elf/pr14926.d
Normal file
13
ld/testsuite/ld-elf/pr14926.d
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#ld: -Ttext=0x60
|
||||||
|
#readelf: -S -l --wide
|
||||||
|
|
||||||
|
#...
|
||||||
|
\[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t]+0*60[ \t]+.*
|
||||||
|
#...
|
||||||
|
Program Headers:
|
||||||
|
Type.*
|
||||||
|
LOAD[ \t]+0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x[0-9a-f]+
|
||||||
|
|
||||||
|
Section to Segment mapping:
|
||||||
|
Segment Sections...
|
||||||
|
00 .text *
|
10
ld/testsuite/ld-elf/pr14926.s
Normal file
10
ld/testsuite/ld-elf/pr14926.s
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
.text
|
||||||
|
.globl main
|
||||||
|
.globl start
|
||||||
|
.globl _start
|
||||||
|
.globl __start
|
||||||
|
main:
|
||||||
|
start:
|
||||||
|
_start:
|
||||||
|
__start:
|
||||||
|
.byte 0
|
Reference in New Issue
Block a user