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]

ARM EABI uclinux config


The patch below adds support for ARM EABI uclinux targets to binutils.

As with the non-eabi ARM targets binutils doesn't currently distinguish 
between linux and uclinux, so it's just a case of recognising the target 
triplet.

Ok?

Paul

2007-02-06  Paul Brook  <paul@codesourcery.com>

	ld/
	* configure.tgt: Add arm*-*-uclinux-*eabi.
	gas/
	* configure.tgt: Ditto.


Index: ld/configure.tgt
===================================================================
--- ld/configure.tgt	(revision 161455)
+++ ld/configure.tgt	(working copy)
@@ -76,6 +76,10 @@ arm*-*-linux-*)	        targ_emul=armelf
 			targ_extra_emuls="armelf armelfb armelfb_linux"
 			targ_extra_libpath="armelfb_linux"
 			;;
+arm*-*-uclinux-*eabi)	targ_emul=armelf_linux_eabi
+			targ_extra_emuls=armelfb_linux_eabi
+			targ_extra_libpath=$targ_extra_emuls
+			;;
 arm*-*-uclinux*)	targ_emul=armelf_linux
 			targ_extra_emuls="armelf armelfb armelfb_linux"
 			targ_extra_libpath="armelfb_linux"
Index: gas/configure.tgt
===================================================================
--- gas/configure.tgt	(revision 161455)
+++ gas/configure.tgt	(working copy)
@@ -110,6 +110,7 @@ case ${generic_target} in
   arm-*-linux*aout*)			fmt=aout em=linux ;;
   arm-*-linux-*eabi*)			fmt=elf  em=armlinuxeabi ;;
   arm-*-linux-*)			fmt=elf  em=linux ;;
+  arm-*-uclinux-*eabi*)			fmt=elf  em=armlinuxeabi ;;
   arm-*-uclinux*)			fmt=elf  em=linux ;;
   arm-*-netbsdelf*)                 	fmt=elf  em=nbsd ;;
   arm-*-*n*bsd*)			fmt=aout em=nbsd ;;


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