mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
2010-04-05 Kai Tietz <kai.tietz@onevision.com>
* ld-pe/orphan_nu.d: New test for --no-leading-underscore. * ld-pe/orphana_nu.s: New file. * ld-pe/pe.exp: Add orphan_nu test.
This commit is contained in:
parent
d814f9a9b6
commit
c51297b470
@ -1,3 +1,9 @@
|
||||
2010-04-05 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* ld-pe/orphan_nu.d: New test for --no-leading-underscore.
|
||||
* ld-pe/orphana_nu.s: New file.
|
||||
* ld-pe/pe.exp: Add orphan_nu test.
|
||||
|
||||
2010-04-01 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* ld-powerpc/apuinfo-nul.rd: New.
|
||||
|
13
ld/testsuite/ld-pe/orphan_nu.d
Normal file
13
ld/testsuite/ld-pe/orphan_nu.d
Normal file
@ -0,0 +1,13 @@
|
||||
#source: orphana_nu.s
|
||||
#source: orphanb.s
|
||||
#source: orphand.s
|
||||
#source: orphane.s
|
||||
#ld: --file-align 1 --section-align 1 --no-leading-underscore
|
||||
#objdump: -h --wide
|
||||
|
||||
#...
|
||||
+0 +\.text .*
|
||||
+1 +\.foo +0+20 .*
|
||||
+2 +\.foo +0+20 .*
|
||||
+3 +\.idata .*
|
||||
#pass
|
8
ld/testsuite/ld-pe/orphana_nu.s
Normal file
8
ld/testsuite/ld-pe/orphana_nu.s
Normal file
@ -0,0 +1,8 @@
|
||||
.globl mainCRTStartup
|
||||
.globl start
|
||||
.text
|
||||
mainCRTStartup:
|
||||
start:
|
||||
|
||||
.section .foo,"b"
|
||||
.space 16
|
@ -69,6 +69,7 @@ run_dump_test "longsecn-4"
|
||||
run_dump_test "longsecn-5"
|
||||
|
||||
run_dump_test "orphan"
|
||||
run_dump_test "orphan_nu"
|
||||
|
||||
set foreign_sym_test {
|
||||
{"non-C aligned common" "" "" {non-c-lang-syms.s}
|
||||
|
Loading…
Reference in New Issue
Block a user