mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3103 * ld-elf/overlay.d: New file. * ld-elf/overlay.s: Likewise. * ld-elf/overlay.t: Likewise.
This commit is contained in:
parent
3e23777d0b
commit
20acfda2ef
@ -1,3 +1,10 @@
|
||||
2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/3103
|
||||
* ld-elf/overlay.d: New file.
|
||||
* ld-elf/overlay.s: Likewise.
|
||||
* ld-elf/overlay.t: Likewise.
|
||||
|
||||
2006-08-18 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so. Add
|
||||
|
12
ld/testsuite/ld-elf/overlay.d
Normal file
12
ld/testsuite/ld-elf/overlay.d
Normal file
@ -0,0 +1,12 @@
|
||||
# ld: -T overlay.t
|
||||
#readelf: -s
|
||||
|
||||
#...
|
||||
[ ]+[0-9]+:[ ]+0*4000[ ]+0[ ]+NOTYPE[ ]+GLOBAL[ ]+DEFAULT[ ]+ABS __load_start_text1
|
||||
#...
|
||||
[ ]+[0-9]+:[ ]+0*4010[ ]+0[ ]+NOTYPE[ ]+GLOBAL[ ]+DEFAULT[ ]+ABS __load_start_text2
|
||||
#...
|
||||
[ ]+[0-9]+:[ ]+0*4030[ ]+0[ ]+NOTYPE[ ]+GLOBAL[ ]+DEFAULT[ ]+ABS __load_stop_text2
|
||||
#...
|
||||
[ ]+[0-9]+:[ ]+0*4010[ ]+0[ ]+NOTYPE[ ]+GLOBAL[ ]+DEFAULT[ ]+ABS __load_stop_text1
|
||||
#pass
|
6
ld/testsuite/ld-elf/overlay.s
Normal file
6
ld/testsuite/ld-elf/overlay.s
Normal file
@ -0,0 +1,6 @@
|
||||
.section .text1,"ax",%progbits
|
||||
.space 0x10
|
||||
.section .text2,"ax",%progbits
|
||||
.space 0x20
|
||||
.text
|
||||
.space 0x30
|
10
ld/testsuite/ld-elf/overlay.t
Normal file
10
ld/testsuite/ld-elf/overlay.t
Normal file
@ -0,0 +1,10 @@
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text) }
|
||||
OVERLAY 0x1000 : AT (0x4000)
|
||||
{
|
||||
.text1 {*(.text1)}
|
||||
.text2 {*(.text2)}
|
||||
}
|
||||
/DISCARD/ : { *(.*) }
|
||||
}
|
Loading…
Reference in New Issue
Block a user