`.sym' referenced in section `reloc_sym' of file.o: defined in discarded section `.text.sym' of file.o
Alan Modra
amodra@bigpond.net.au
Fri May 19 15:37:00 GMT 2006
On Fri, May 19, 2006 at 03:39:03PM +0930, Alan Modra wrote:
> * ld-scripts/empty-orphan.d: Update.
* ld-scripts/empty-orphan.d: Update again.
I should have waited until testing completed. xtensa trims off empty
PT_LOAD segments.
Index: ld/testsuite/ld-scripts/empty-orphan.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/empty-orphan.d,v
retrieving revision 1.2
diff -u -p -r1.2 empty-orphan.d
--- ld/testsuite/ld-scripts/empty-orphan.d 19 May 2006 06:10:03 -0000 1.2
+++ ld/testsuite/ld-scripts/empty-orphan.d 19 May 2006 11:46:49 -0000
@@ -2,9 +2,5 @@
#ld: -T empty-orphan.t
#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
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list