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]

[patch] Catch more arm-uclinux targets


The patch below makes binutils recognise a wider range of target triplets as 
ARM EABI based uClinux targets. In particular the pattern now matches 
arm-uclinuxeabi.

This is needed because config.sub behaves differently for linux and uclinux. 
arm-linuxfoo ends up as arm-unknown-linux-gnufoo, whereas arm-uclinuxfoo ends 
up as arm-unknown-uclinuxfoo.

Applied to CVS head.

Paul

2007-04-04  Paul Brook  <paul@codesourcery.com>

	ld/
	* configure.tgt: Loosen checks for arm uclinux eabi targets.
	gas/
	* configure.tgt: Loosen checks for arm uclinux eabi targets.

Index: ld/configure.tgt
===================================================================
--- ld/configure.tgt	(revision 166595)
+++ ld/configure.tgt	(revision 166596)
@@ -76,7 +76,7 @@ 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
+arm*-*-uclinux*eabi)	targ_emul=armelf_linux_eabi
 			targ_extra_emuls=armelfb_linux_eabi
 			targ_extra_libpath=$targ_extra_emuls
 			;;
Index: gas/configure.tgt
===================================================================
--- gas/configure.tgt	(revision 166595)
+++ gas/configure.tgt	(revision 166596)
@@ -110,7 +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*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]