* ld-scripts/empty-orphan.t: Discard .reginfo.

* ld-scripts/empty-orphan.d: Update.
This commit is contained in:
Alan Modra 2006-05-19 06:10:03 +00:00
parent f0636a4439
commit c6f90868f6
3 changed files with 14 additions and 1 deletions

View File

@ -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:

View File

@ -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

View File

@ -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 */
}