mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* ld-scripts/empty-orphan.t: Discard .reginfo.
* ld-scripts/empty-orphan.d: Update.
This commit is contained in:
parent
f0636a4439
commit
c6f90868f6
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user