diff options
author | Alan Modra <amodra@gmail.com> | 2006-05-19 06:10:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-05-19 06:10:03 +0000 |
commit | c6f90868f62fd8872d2b2052092214d8d59a70d6 (patch) | |
tree | 0ef40b1204964329e994629924167cfcbeafa938 | |
parent | f0636a4439c44c9919dd52b7f83b50fa729fac2f (diff) | |
download | gdb-c6f90868f62fd8872d2b2052092214d8d59a70d6.zip gdb-c6f90868f62fd8872d2b2052092214d8d59a70d6.tar.gz gdb-c6f90868f62fd8872d2b2052092214d8d59a70d6.tar.bz2 |
* ld-scripts/empty-orphan.t: Discard .reginfo.
* ld-scripts/empty-orphan.d: Update.
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/empty-orphan.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/empty-orphan.t | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 8952691..336ef39 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-05-19 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/empty-orphan.t: Discard .reginfo. + * ld-scripts/empty-orphan.d: Update. + 2006-05-17 Thiemo Seufer <ths@mips.com> * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s: diff --git a/ld/testsuite/ld-scripts/empty-orphan.d b/ld/testsuite/ld-scripts/empty-orphan.d index 1a48cac..7d0507d 100644 --- a/ld/testsuite/ld-scripts/empty-orphan.d +++ b/ld/testsuite/ld-scripts/empty-orphan.d @@ -1,3 +1,10 @@ #source: empty-orphan.s #ld: -T empty-orphan.t -#error: no memory region specified for loadable section +#readelf: -l --wide +#... +Program Headers: + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align + +LOAD +[x0-9a-f]+ 0x0+ 0x0+ 0x0+ 0x0+ .* + +LOAD +[x0-9a-f]+ 0x0+ 0x0+ 0x0+ 0x0+ .* + +LOAD +[x0-9a-f]+ [x0]+70000000 [x0]+70000000 [x0]+(2|4|8|10|20|40|80) .* +#pass diff --git a/ld/testsuite/ld-scripts/empty-orphan.t b/ld/testsuite/ld-scripts/empty-orphan.t index efed761..0f717a3 100644 --- a/ld/testsuite/ld-scripts/empty-orphan.t +++ b/ld/testsuite/ld-scripts/empty-orphan.t @@ -17,5 +17,6 @@ SECTIONS .text : { *(.text) } > text_mem : text_phdr .data : { *(.data) } > data_mem : data_phdr .bss : { *(.bss) } > data_mem : data_phdr + /DISCARD/ : { *(.reginfo) } /* .orphan_data is an orphan */ } |