mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
Add a testcase for PR ld/14052
PR ld/14052 * ld-elf/pr14052.d: New file. * ld-elf/pr14052.t: Likewise.
This commit is contained in:
parent
1067f99890
commit
18269b0999
@ -1,3 +1,9 @@
|
||||
2012-05-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/14052
|
||||
* ld-elf/pr14052.d: New file.
|
||||
* ld-elf/pr14052.t: Likewise.
|
||||
|
||||
2012-05-05 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR ld/14052
|
||||
|
8
ld/testsuite/ld-elf/pr14052.d
Normal file
8
ld/testsuite/ld-elf/pr14052.d
Normal file
@ -0,0 +1,8 @@
|
||||
#source: start.s
|
||||
#ld: -T pr14052.t
|
||||
#readelf: -s
|
||||
|
||||
#failif
|
||||
#...
|
||||
+[0-9]+: +[0-9a-f]+ +0 +(OBJECT|NOTYPE) +GLOBAL +DEFAULT +ABS _data_start
|
||||
#...
|
11
ld/testsuite/ld-elf/pr14052.t
Normal file
11
ld/testsuite/ld-elf/pr14052.t
Normal file
@ -0,0 +1,11 @@
|
||||
SECTIONS {
|
||||
.text : {
|
||||
*(.text)
|
||||
}
|
||||
. = ALIGN (0x1000);
|
||||
.data : {
|
||||
_data_start = .;
|
||||
*(.data)
|
||||
}
|
||||
/DISCARD/ : { *(.*) }
|
||||
}
|
Loading…
Reference in New Issue
Block a user