On Tue, 2013-12-31 15:24:52 +0800, Chung-Lin Tang <clt...@codesourcery.com> 
wrote:
> The nios2 port was just committed. Thanks to all that gave time and
> effort to review this.

Just a heads-up: I see a lot of warnings about BITS_PER_UNIT being
redefined, see eg.
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=74923
as an example.


2013-12-31  Jan-Benedict Glaw  <jbg...@lug-owl.de>

        * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.


diff --git a/gcc/config/nios2/nios2.h b/gcc/config/nios2/nios2.h
index 8e6941b..f333be3 100644
--- a/gcc/config/nios2/nios2.h
+++ b/gcc/config/nios2/nios2.h
@@ -73,7 +73,6 @@
 #define BITS_BIG_ENDIAN 0
 #define BYTES_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0)
 #define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0)
-#define BITS_PER_UNIT 8
 #define BITS_PER_WORD 32
 #define UNITS_PER_WORD 4
 #define POINTER_SIZE 32


Ok?

MfG, JBG

-- 
      Jan-Benedict Glaw      jbg...@lug-owl.de              +49-172-7608481
Signature of: They that give up essential liberty to obtain temporary safety,
the second  : deserve neither liberty nor safety.  (Ben Franklin)

Attachment: signature.asc
Description: Digital signature

Reply via email to