2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5233 * ld-elf/flags1.d: New. * ld-elf/flags1.ld: Likewise. * ld-elf/flags1.s: Likewise.
This commit is contained in:
parent
b5f5fd962e
commit
e6760bcc53
@ -1,3 +1,10 @@
|
||||
2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/5233
|
||||
* ld-elf/flags1.d: New.
|
||||
* ld-elf/flags1.ld: Likewise.
|
||||
* ld-elf/flags1.s: Likewise.
|
||||
|
||||
2007-11-13 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* ld-mn10300/i127740.s: New test: Checks relaxation and alignment.
|
||||
@ -99,7 +106,7 @@
|
||||
|
||||
2007-10-16 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* lf-elfcomm/elfcomm.exp: Add tests of STT_COMMON symbol
|
||||
* ld-elfcomm/elfcomm.exp: Add tests of STT_COMMON symbol
|
||||
generation.
|
||||
|
||||
2007-10-12 Joseph Myers <joseph@codesourcery.com>
|
||||
|
14
ld/testsuite/ld-elf/flags1.d
Normal file
14
ld/testsuite/ld-elf/flags1.d
Normal file
@ -0,0 +1,14 @@
|
||||
#name: --set-section-flags test 1 (sections)
|
||||
#ld: -Tflags1.ld
|
||||
#objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code
|
||||
#readelf: -l --wide
|
||||
|
||||
#...
|
||||
Program Headers:
|
||||
Type.*
|
||||
LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*0161 0x0*0161 RWE 0x[0-9a-f]+
|
||||
|
||||
#...
|
||||
Segment Sections...
|
||||
00[ \t]+.text .post_text_reserve[ \t]*
|
||||
#pass
|
12
ld/testsuite/ld-elf/flags1.ld
Normal file
12
ld/testsuite/ld-elf/flags1.ld
Normal file
@ -0,0 +1,12 @@
|
||||
SECTIONS
|
||||
{
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
} =0
|
||||
.post_text_reserve :
|
||||
{
|
||||
. += 0x160;
|
||||
}
|
||||
/DISCARD/ : { *(.*) }
|
||||
}
|
5
ld/testsuite/ld-elf/flags1.s
Normal file
5
ld/testsuite/ld-elf/flags1.s
Normal file
@ -0,0 +1,5 @@
|
||||
.text
|
||||
.globl start
|
||||
.type start, @function
|
||||
start:
|
||||
.byte 0
|
Loading…
Reference in New Issue
Block a user