[PATCH] Add new CeGCC target names.

Dave Korn dave.korn.cygwin@googlemail.com
Thu Jun 18 06:52:00 GMT 2009


Nick Clifton wrote:
> Hi Dave,

>>   Merge cegcc and mingw32ce target name changes from CeGCC project.

> Approved - please apply.

  Thank you, applied, with one very minor modification:

--- gas/configure.tgt	16 Apr 2009 15:39:44 -0000	1.48
+++ gas/configure.tgt	27 May 2009 19:04:48 -0000
@@ -121,7 +121,8 @@ case ${generic_target} in
   arm-*-*n*bsd*)			fmt=aout em=nbsd ;;
   arm-*-nto*)				fmt=elf ;;
   arm-epoc-pe | thumb-epoc-pe)		fmt=coff em=epoc-pe ;;
-  arm-wince-pe | arm-*-wince)		fmt=coff em=wince-pe ;;
+  arm-wince-* | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)

  In this hunk, I didn't mean to change arm-wince-pe to arm-wince-*, so I
undid that bit; the patch as committed now only adds the two extra names to
the end of the line.

  Attached is the follow up patch which fixes a few minor glitches in the
testsuite for the new targets: these are only PE testsuite changes, which I
figure I can check in myself (maybe it's a slight stretch to include the
PE-specific function in ld-lib.exp, let me know if so and I can avoid doing it
again in future).  There remain a number of gas failures, largely related to
assumptions-of-ELFism in the respective tests; I'll take a look when I get a
chance soon to see which can be tweaked and which might be XFAILed.

ld/testsuite/ChangeLog:

	* ld-pe/pe-run.exp (proc test_direct_link_dll):  Always pass
	--enable-auto-import to the linker.
	* ld-pe/vers-script-1.d:  Replace '\$' by '_' in all symbol names.
	* ld-pe/vers-script-3.d:  Likewise.
	* ld-pe/vers-script-4.d:  Likewise.
	* ld-pe/vers-script-dll.c:  Likewise.
	* lib/ld-lib.exp (proc is_pecoff_format):  Also return true for
	"*-*-cegcc*" targets.

    cheers,
      DaveK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cegcc-tests.diff
Type: text/x-c
Size: 7788 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090618/f54e9b58/attachment.bin>


More information about the Binutils mailing list