diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-10-24 07:48:47 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-10-24 07:48:47 +0000 |
commit | 15cf70afb64f7180596667c335ca658f9074fa65 (patch) | |
tree | e6a1fc3d1879a2a83e29e08bee45a162d50da944 | |
parent | 6a2375c6b276cd04a893f7d9a8cd87f3656cad65 (diff) | |
download | gdb-15cf70afb64f7180596667c335ca658f9074fa65.zip gdb-15cf70afb64f7180596667c335ca658f9074fa65.tar.gz gdb-15cf70afb64f7180596667c335ca658f9074fa65.tar.bz2 |
ld/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ld-elf/empty2.[sd]: New.
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/empty2.d | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/empty2.s | 18 |
3 files changed, 33 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 82f9b1b..6f0848e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-10-24 Jan Beulich <jbeulich@novell.com> + + * ld-elf/empty2.[sd]: New. + 2005-10-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/1487 diff --git a/ld/testsuite/ld-elf/empty2.d b/ld/testsuite/ld-elf/empty2.d new file mode 100644 index 0000000..37f292b --- /dev/null +++ b/ld/testsuite/ld-elf/empty2.d @@ -0,0 +1,11 @@ +#source: empty2.s +#ld: +#readelf: -s +#xfail: "d30v-*-*" "dlx-*-*" "hppa*-*-*" "i960-*-*" "or32-*-*" "pj-*-*" + +#... +[ ]+[0-9]+:[ ]+0+[ ]+0[ ]+FILE[ ]+LOCAL[ ]+DEFAULT[ ]+ABS empty2.s +[ ]+[0-9]+:[ ]+0*12345678[ ]+0[ ]+NOTYPE[ ]+LOCAL[ ]+DEFAULT[ ]+ABS constant +#... +[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+FUNC[ ]+GLOBAL[ ]+DEFAULT[ ]+[1-9] _start +#pass diff --git a/ld/testsuite/ld-elf/empty2.s b/ld/testsuite/ld-elf/empty2.s new file mode 100644 index 0000000..deed318 --- /dev/null +++ b/ld/testsuite/ld-elf/empty2.s @@ -0,0 +1,18 @@ + .file "empty2.s" + .equiv constant, 0x12345678 + .section .bss +bar: + .text + .type start,"function" + .global start +start: + .type _start,"function" + .global _start +_start: + .type __start,"function" + .global __start +__start: + .type main,"function" + .global main +main: + .long constant |