[oe-commits] org.oe.packaged-staging binutils: sync with .dev

rpurdie commit openembedded-commits at lists.openembedded.org
Fri Sep 29 03:32:58 UTC 2006


binutils: sync with .dev

Author: rpurdie at openembedded.org
Branch: org.openembedded.packaged-staging
Revision: 1d544eb57d7a4e5e6fbdd93a72afb2b2f6e977df
ViewMTN: http://monotone.openembedded.org/revision.psp?id=1d544eb57d7a4e5e6fbdd93a72afb2b2f6e977df
Files:
1
packages/binutils/binutils-2.15.94.0.1/binutils-2.15-allow-gcc-4.0.patch
packages/binutils/binutils-cross_2.15.94.0.1.bb
packages/binutils/binutils-cross_2.16.91.0.7.bb
packages/binutils/binutils-cross_2.17.50.0.1.bb
packages/binutils/binutils_2.15.94.0.1.bb
Diffs:

#
# mt diff -rfc9491003efe4fb0d58af6f432b78bee9a92d06a -r1d544eb57d7a4e5e6fbdd93a72afb2b2f6e977df
#
# 
# 
# add_file "packages/binutils/binutils-2.15.94.0.1/binutils-2.15-allow-gcc-4.0.patch"
#  content [8d7c3b625dee19314239a02dfd919e5ad3c70bca]
# 
# patch "packages/binutils/binutils-cross_2.15.94.0.1.bb"
#  from [096bbfc450863947b2c5ade20b122785e06ca64e]
#    to [d60bed4e513253708d05f83d02aecf9ca9441369]
# 
# patch "packages/binutils/binutils-cross_2.16.91.0.7.bb"
#  from [096bbfc450863947b2c5ade20b122785e06ca64e]
#    to [d60bed4e513253708d05f83d02aecf9ca9441369]
# 
# patch "packages/binutils/binutils-cross_2.17.50.0.1.bb"
#  from [096bbfc450863947b2c5ade20b122785e06ca64e]
#    to [d60bed4e513253708d05f83d02aecf9ca9441369]
# 
# patch "packages/binutils/binutils_2.15.94.0.1.bb"
#  from [9c0ce3796095c425b217c889309545e0c8a94038]
#    to [820e457fcb384cd7eb2427aefd70d88674e10c34]
# 
============================================================
--- packages/binutils/binutils-2.15.94.0.1/binutils-2.15-allow-gcc-4.0.patch	8d7c3b625dee19314239a02dfd919e5ad3c70bca
+++ packages/binutils/binutils-2.15.94.0.1/binutils-2.15-allow-gcc-4.0.patch	8d7c3b625dee19314239a02dfd919e5ad3c70bca
@@ -0,0 +1,75 @@
+Fix found here: http://www.freelists.org/archives/openbeos/11-2005/msg00090.html
+
+Fixes:
+In file included from ./targ-cpu.h:1,
+                 from /home/dank/crosstool-new/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/binutils-2.15/gas/config/obj-elf.h:42,
+                 from ./obj-format.h:1,
+                 from /home/dank/crosstool-new/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/binutils-2.15/gas/config/te-linux.h:4,
+                 from ./targ-env.h:1,
+                 from /home/dank/crosstool-new/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/binutils-2.15/gas/as.h:626,
+                 from /home/dank/crosstool-new/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/binutils-2.15/gas/app.c:30:
+/home/dank/crosstool-new/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/binutils-2.15/gas/config/tc-i386.h:451: error: array type has incomplete element type
+make[3]: *** [app.o] Error 1
+make[3]: Leaving directory `/home/dank/crosstool-new/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/build-binutils/gas'
+
+when building binutils-2.15 with gcc-4.0
+
+
+diff -ur binutils-2.15.old/gas/as.h binutils-2.15/gas/as.h
+--- binutils-2.15.old/gas/as.h	2003-11-22 18:14:21.000000000 -0800
++++ binutils-2.15/gas/as.h	2006-02-14 22:05:35.000000000 -0800
+@@ -605,7 +605,26 @@
+ struct expressionS;
+ struct fix;
+ typedef struct symbol symbolS;
+-struct relax_type;
++
++/* JF moved this here from as.h under the theory that nobody except MACHINE.c
++   and write.c care about it anyway.  */
++/* [zooey]: the above no longer holds with gcc4, as it keeps bugging about
++            incomplete element types in arrays, if relax_type isn't defined
++            here. So I moved the definition back from tc.h to here. */
++struct relax_type
++{
++  /* Forward reach. Signed number. > 0.  */
++  long rlx_forward;
++  /* Backward reach. Signed number. < 0.  */
++  long rlx_backward;
++
++  /* Bytes length of this address.  */
++  unsigned char rlx_length;
++
++  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
++  relax_substateT rlx_more;
++};
++
+ typedef struct frag fragS;
+ 
+ #ifdef BFD_ASSEMBLER
+diff -ur binutils-2.15.old/gas/tc.h binutils-2.15/gas/tc.h
+--- binutils-2.15.old/gas/tc.h	2003-12-03 15:39:38.000000000 -0800
++++ binutils-2.15/gas/tc.h	2006-02-14 22:03:35.000000000 -0800
+@@ -24,23 +24,6 @@
+ 
+ extern const pseudo_typeS md_pseudo_table[];
+ 
+-/* JF moved this here from as.h under the theory that nobody except MACHINE.c
+-   and write.c care about it anyway.  */
+-
+-struct relax_type
+-{
+-  /* Forward reach. Signed number. > 0.  */
+-  long rlx_forward;
+-  /* Backward reach. Signed number. < 0.  */
+-  long rlx_backward;
+-
+-  /* Bytes length of this address.  */
+-  unsigned char rlx_length;
+-
+-  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
+-  relax_substateT rlx_more;
+-};
+-
+ typedef struct relax_type relax_typeS;
+ 
+ extern const int md_reloc_size;	/* Size of a relocation record */
============================================================
--- packages/binutils/binutils-cross_2.15.94.0.1.bb	096bbfc450863947b2c5ade20b122785e06ca64e
+++ packages/binutils/binutils-cross_2.15.94.0.1.bb	d60bed4e513253708d05f83d02aecf9ca9441369
@@ -1,5 +1,5 @@ SECTION = "devel"
 SECTION = "devel"
-include binutils_${PV}.bb
+require binutils_${PV}.bb
 inherit cross
 DEPENDS += "flex-native bison-native"
 PROVIDES = "virtual/${TARGET_PREFIX}binutils"
============================================================
--- packages/binutils/binutils-cross_2.16.91.0.7.bb	096bbfc450863947b2c5ade20b122785e06ca64e
+++ packages/binutils/binutils-cross_2.16.91.0.7.bb	d60bed4e513253708d05f83d02aecf9ca9441369
@@ -1,5 +1,5 @@ SECTION = "devel"
 SECTION = "devel"
-include binutils_${PV}.bb
+require binutils_${PV}.bb
 inherit cross
 DEPENDS += "flex-native bison-native"
 PROVIDES = "virtual/${TARGET_PREFIX}binutils"
============================================================
--- packages/binutils/binutils-cross_2.17.50.0.1.bb	096bbfc450863947b2c5ade20b122785e06ca64e
+++ packages/binutils/binutils-cross_2.17.50.0.1.bb	d60bed4e513253708d05f83d02aecf9ca9441369
@@ -1,5 +1,5 @@ SECTION = "devel"
 SECTION = "devel"
-include binutils_${PV}.bb
+require binutils_${PV}.bb
 inherit cross
 DEPENDS += "flex-native bison-native"
 PROVIDES = "virtual/${TARGET_PREFIX}binutils"
============================================================
--- packages/binutils/binutils_2.15.94.0.1.bb	9c0ce3796095c425b217c889309545e0c8a94038
+++ packages/binutils/binutils_2.15.94.0.1.bb	820e457fcb384cd7eb2427aefd70d88674e10c34
@@ -1,9 +1,9 @@ MAINTAINER = "Gerald Britton <gbritton at d
 DESCRIPTION = "A GNU collection of binary utilities"
 HOMEPAGE = "http://www.gnu.org/software/binutils/"
 SECTION = "devel"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton at doomcom.org>"
-PR = "r2"
+PR = "r3"
 
 inherit autotools gettext
 
@@ -45,8 +45,8 @@ SRC_URI = \
      file://objdump_fix.patch;patch=1 \
      file://binutils-100_cflags_for_build.patch;patch=1 \
      file://binutils-2.15.91.0.1-uclibc-100-conf.patch;patch=1 \
-     file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1"
-
+     file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1 \
+     file://binutils-2.15-allow-gcc-4.0.patch;patch=1"
 S = "${WORKDIR}/binutils-${PV}"
 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 






More information about the Openembedded-commits mailing list