Patchwork [moxie] Use newlib-stdint.h

login
register
mail settings
Submitter Anthony Green
Date March 5, 2011, 3:58 p.m.
Message ID <20110305085834.aaa2c6acbe2fcbd4897bea2c255aade5.b0f1773d35.wbe@email03.secureserver.net>
Download mbox | patch
Permalink /patch/85533/
State New
Headers show

Comments

Anthony Green - March 5, 2011, 3:58 p.m.
I just  checked in the attached patch to use newlib-stdint.h for
moxie-elf.  This fixes a few newer test cases that use macros like
__UINTPTR_TYPE__.

AG
2011-03-05  Anthony Green  <green@moxielogic.com>

	* config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile.

Patch

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 170520)
+++ gcc/config.gcc	(working copy)
@@ -1008,7 +1008,7 @@ 
 moxie-*-elf)
 	gas=yes
 	gnu_ld=yes
-	tm_file="dbxelf.h elfos.h ${tm_file}"
+	tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
 	extra_parts="crti.o crtn.o crtbegin.o crtend.o"
 	tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp"
 	;;