mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4144 * ld-elf/nobits-1.d: New file. * ld-elf/nobits-1.s: Likewise. * ld-elf/nobits-1.t: Likewise.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/4144
|
||||||
|
* ld-elf/nobits-1.d: New file.
|
||||||
|
* ld-elf/nobits-1.s: Likewise.
|
||||||
|
* ld-elf/nobits-1.t: Likewise.
|
||||||
|
|
||||||
2007-03-02 Richard Sandiford <richard@codesourcery.com>
|
2007-03-02 Richard Sandiford <richard@codesourcery.com>
|
||||||
|
|
||||||
* ld-elf/binutils.exp: Revert last change.
|
* ld-elf/binutils.exp: Revert last change.
|
||||||
|
7
ld/testsuite/ld-elf/nobits-1.d
Normal file
7
ld/testsuite/ld-elf/nobits-1.d
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#ld: -Tnobits-1.t
|
||||||
|
#readelf: -l --wide
|
||||||
|
|
||||||
|
#...
|
||||||
|
Section to Segment mapping:
|
||||||
|
Segment Sections...
|
||||||
|
00 .foo .bar
|
6
ld/testsuite/ld-elf/nobits-1.s
Normal file
6
ld/testsuite/ld-elf/nobits-1.s
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.globl _entry
|
||||||
|
.section .foo,"awx",%progbits
|
||||||
|
_entry:
|
||||||
|
.byte 0
|
||||||
|
.section .bar,"ax",%nobits
|
||||||
|
.byte 0
|
13
ld/testsuite/ld-elf/nobits-1.t
Normal file
13
ld/testsuite/ld-elf/nobits-1.t
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
ENTRY(_entry)
|
||||||
|
PHDRS
|
||||||
|
{
|
||||||
|
data PT_LOAD;
|
||||||
|
}
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
. = 0x1000000;
|
||||||
|
.foo : { *(.foo) } :data
|
||||||
|
. = 0x2000000;
|
||||||
|
.bar : { *(.bar) } :data
|
||||||
|
/DISCARD/ : { *(*) }
|
||||||
|
}
|
Reference in New Issue
Block a user