* Commit: CR16: Add newlib-stdint.h to tm_file.
@ 2016-03-01 16:52 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2016-03-01 16:52 UTC (permalink / raw)
To: gcc-patches
Hi Guys,
I am applying the patch below as an obvious fix for a problem with the
CR16 target - the lack of a definition of __INTPTR_TYPE__. This
definition is needed by the newlib C library's _intsup.h header in
order to correctly calculate the size of integers and pointers.
Cheers
Nick
gcc/ChangeLog
2016-03-01 Nick Clifton <nickc@redhat.com>
* config.gcc (cr16-*-elf): Add newlib-stdint.h to tm_file.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 233857)
+++ gcc/config.gcc (working copy)
@@ -1168,7 +1168,7 @@
use_gcc_stdint=wrap
;;
cr16-*-elf)
- tm_file="elfos.h ${tm_file}"
+ tm_file="elfos.h ${tm_file} newlib-stdint.h"
tmake_file="${tmake_file} cr16/t-cr16 "
use_collect2=no
;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-01 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-01 16:52 Commit: CR16: Add newlib-stdint.h to tm_file Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).