This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

i960 ELF use of elf32.em


i960-elf tries to use elf32.em with a generic linker backend.  Lots of
things won't work, eg. symbol versioning.  Changing over to use the
correct file, generic.em, results in these testsuite changes:

-FAIL: ld-elf/group4
-FAIL: ld-elf/group5
-FAIL: ld-elf/group6
-FAIL: ld-elf/group7
+FAIL: ld-elf/orphan
-XPASS: ld-elf/warn2

The orphan failure isn't particularly bad, just different section
ordering to that expected by the test.

	* emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32".
	(EXTRA_EM_FILE): Define.

Index: ld/emulparams/elf32_i960.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf32_i960.sh,v
retrieving revision 1.3
diff -u -p -r1.3 elf32_i960.sh
--- ld/emulparams/elf32_i960.sh	22 Oct 2008 05:20:44 -0000	1.3
+++ ld/emulparams/elf32_i960.sh	22 Oct 2008 05:24:29 -0000
@@ -1,5 +1,6 @@
 SCRIPT_NAME=elf
-TEMPLATE_NAME=elf32
+TEMPLATE_NAME=generic
+EXTRA_EM_FILE=genelf
 OUTPUT_FORMAT="elf32-i960"
 NO_RELA_RELOCS=yes
 ARCH=i960

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]