diff options
author | Joachim Nilsson <jocke@vmlinux.org> | 2010-01-07 00:08:08 (GMT) |
---|---|---|
committer | Joachim Nilsson <jocke@vmlinux.org> | 2010-01-07 00:08:08 (GMT) |
commit | cfbcdd378646594887c9d488aee529c07838ee8e (patch) | |
tree | 51a79051c2c5d82c913c6ab8a2f111d5dde684dc /patches/binutils/2.20/260-arm-non-empty-know.patch | |
parent | 6dc69b4938fee7c3e33164e5666805d6607943a3 (diff) |
binutils/binultils: import binutils-2.20 patches from OE
This is a set of patches for binutils-2.20 that have been "ported", or rather
shamelessly stolen, from the OpenEmbedded project:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20
Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2
Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
Diffstat (limited to 'patches/binutils/2.20/260-arm-non-empty-know.patch')
-rw-r--r-- | patches/binutils/2.20/260-arm-non-empty-know.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/binutils/2.20/260-arm-non-empty-know.patch b/patches/binutils/2.20/260-arm-non-empty-know.patch new file mode 100644 index 0000000..f0f54b2 --- /dev/null +++ b/patches/binutils/2.20/260-arm-non-empty-know.patch @@ -0,0 +1,18 @@ +This is backported partially from 2.20 branch + +http://sourceware.org/ml/binutils-cvs/2009-10/msg00173.html + +-Khem +Index: binutils-2.20/gas/as.h +=================================================================== +--- binutils-2.20.orig/gas/as.h 2009-10-22 00:27:08.700469349 -0700 ++++ binutils-2.20/gas/as.h 2009-10-22 00:28:04.068416318 -0700 +@@ -238,7 +238,7 @@ typedef addressT valueT; + #define know(p) gas_assert(p) /* Verify our assumptions! */ + #endif /* not yet defined */ + #else +-#define know(p) /* know() checks are no-op.ed */ ++#define know(p) do {} while (0) /* know() checks are no-op.ed */ + #endif + + /* input_scrub.c */ |