diff options
author | Chris Johns <chrisj@rtems.org> | 2016-09-02 17:56:09 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-09-02 17:56:09 +1000 |
commit | 5af5b043e67167c06f2f783029c71cab8c821538 (patch) | |
tree | 652cfcfc9bc5854c36f98710c79729a11c49586a /tools | |
parent | 4.10: Add FreeBSD Python patch. (diff) | |
download | rtems-tools-5af5b043e67167c06f2f783029c71cab8c821538.tar.bz2 |
4.10: Add NIOS2 binutils patch.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/4.10/binutils/nios2/nios2-binutils-2.20-rtems-20110703.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/4.10/binutils/nios2/nios2-binutils-2.20-rtems-20110703.diff b/tools/4.10/binutils/nios2/nios2-binutils-2.20-rtems-20110703.diff new file mode 100644 index 0000000..55cea80 --- /dev/null +++ b/tools/4.10/binutils/nios2/nios2-binutils-2.20-rtems-20110703.diff @@ -0,0 +1,21 @@ +--- binutils-2.20.orig/gas/configure.tgt 2011-07-03 18:19:58.000000000 +1000 ++++ binutils-2.20/gas/configure.tgt 2011-07-03 18:14:15.000000000 +1000 +@@ -315,6 +315,7 @@ + + nios2*-linux*) fmt=elf em=linux ;; + nios2*-*-*) fmt=elf ;; ++ nios2*-rtems*) fmt=elf ;; + + ns32k-pc532-mach*) fmt=aout em=pc532mach ;; + ns32k-pc532-ux*) fmt=aout em=pc532mach ;; +--- binutils-2.20.orig/gas/config/tc-nios2.c 2011-07-03 18:20:09.000000000 +1000 ++++ binutils-2.20/gas/config/tc-nios2.c 2011-07-03 18:08:42.000000000 +1000 +@@ -1340,7 +1340,7 @@ + void + md_number_to_chars (char *buf, valueT val, int n) + { +- assert (n == 1 || n == 2 || n == 4); ++ assert (n == 1 || n == 2 || n == 4 || n == 8); + if (target_big_endian) + { + number_to_chars_bigendian (buf, val, n); |