This is the mail archive of the binutils@sources.redhat.com 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]

arch default for powerpc64-linux


Setting ARCH to "powerpc:common64" ensures we pick up the 64 bit arch
for output files in a bi-arch linker.  Otherwise ld -r can fail.

	* emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
	(COMMONPAGESIZE): Define.

Index: ld/emulparams/elf64ppc.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf64ppc.sh,v
retrieving revision 1.5
diff -u -p -r1.5 elf64ppc.sh
--- ld/emulparams/elf64ppc.sh	1 Jul 2002 08:07:31 -0000	1.5
+++ ld/emulparams/elf64ppc.sh	12 Jul 2002 06:39:36 -0000
@@ -6,7 +6,8 @@ SCRIPT_NAME=elf
 OUTPUT_FORMAT="elf64-powerpc"
 TEXT_START_ADDR=0x10000000
 MAXPAGESIZE=0x40000
-ARCH=powerpc
+COMMONPAGESIZE=0x1000
+ARCH=powerpc:common64
 MACHINE=
 NOP=0x60000000
 EXECUTABLE_SYMBOLS='PROVIDE (__stack = 0); PROVIDE (___stack = 0);'

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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