diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2012-03-01 08:24:10 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2012-03-01 08:24:10 +0000 |
commit | 1fc75697aef8602a415157289a447f1671050ad6 (patch) | |
tree | 1e78d284fa23f463126db32cbcb4e94d48116ef6 | |
parent | a1fb425606ae491c34cf7bde513452e62814b00e (diff) | |
download | gdb-1fc75697aef8602a415157289a447f1671050ad6.zip gdb-1fc75697aef8602a415157289a447f1671050ad6.tar.gz gdb-1fc75697aef8602a415157289a447f1671050ad6.tar.bz2 |
PR ld/13789
* ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/zerosize1.d | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f5eca8c..a80a5d0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-03-01 Hans-Peter Nilsson <hp@axis.com> + + PR ld/13789 + * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE. + 2012-02-25 Walter Lee <walt@tilera.com> * ld-tilegx/reloc-be.d: New. diff --git a/ld/testsuite/ld-elf/zerosize1.d b/ld/testsuite/ld-elf/zerosize1.d index ee69592..43187f0 100644 --- a/ld/testsuite/ld-elf/zerosize1.d +++ b/ld/testsuite/ld-elf/zerosize1.d @@ -6,5 +6,5 @@ # Check that xyzzy is not placed in the .text section. #... - +[0-9]+: +[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS xyzzy + +[0-9]+: +[0-9a-f]+ +0 +(OBJECT|NOTYPE) +GLOBAL +DEFAULT +ABS xyzzy #pass |