[oe-commits] org.oe.dev binutils: Add 2.16.1

rpurdie commit oe at amethyst.openembedded.net
Thu Mar 27 16:43:23 UTC 2008


binutils: Add 2.16.1

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: e9687e348d70e1146364892c0d095e3b04702d10
ViewMTN: http://monotone.openembedded.org/revision/info/e9687e348d70e1146364892c0d095e3b04702d10
Files:
1
packages/binutils/binutils-2.16.1
packages/binutils/binutils-2.16.1/binutils-2.16.91.0.6-objcopy-rename-errorcode.patch
packages/binutils/binutils-cross_2.16.1.bb
packages/binutils/binutils_2.16.1.bb
Diffs:

#
# mt diff -ree54b47d88c9b12e16112560ea26459766cbb606 -re9687e348d70e1146364892c0d095e3b04702d10
#
#
#
# add_dir "packages/binutils/binutils-2.16.1"
# 
# add_file "packages/binutils/binutils-2.16.1/binutils-2.16.91.0.6-objcopy-rename-errorcode.patch"
#  content [50130f1fdf5d978a3bee936e70c39ddb0851b87b]
# 
# add_file "packages/binutils/binutils-cross_2.16.1.bb"
#  content [0b3c910b27afd69a5dfc2e1f76115ac7aca711cf]
# 
# add_file "packages/binutils/binutils_2.16.1.bb"
#  content [1c9dfbf91c25005a841b0536de33d9458e9d2f08]
#
============================================================
--- packages/binutils/binutils-2.16.1/binutils-2.16.91.0.6-objcopy-rename-errorcode.patch	50130f1fdf5d978a3bee936e70c39ddb0851b87b
+++ packages/binutils/binutils-2.16.1/binutils-2.16.91.0.6-objcopy-rename-errorcode.patch	50130f1fdf5d978a3bee936e70c39ddb0851b87b
@@ -0,0 +1,31 @@
+# strip (and objcopy) fail to set the error code if there is no
+# output file name and the rename of the stripped (or copied) file
+# fails, yet the command fails to do anything.  This fixes both
+# objcopy and strip.
+#
+# modification by bero: Ported to 2.16.91.0.6
+#
+#Signed-off-by: John Bowler <jbowler at acm.org>
+#Signed-off-by: Bernhard Rosenkraenzer <bero at arklinux.org>
+--- binutils-2.16.91.0.6/binutils/objcopy.c.ark	2006-03-11 15:59:07.000000000 +0100
++++ binutils-2.16.91.0.6/binutils/objcopy.c	2006-03-11 15:59:45.000000000 +0100
+@@ -2593,7 +2593,8 @@
+ 	  if (preserve_dates)
+ 	    set_times (tmpname, &statbuf);
+ 	  if (output_file == NULL)
+-	    smart_rename (tmpname, argv[i], preserve_dates);
++	    if(smart_rename (tmpname, argv[i], preserve_dates))
++              hold_status = 1;
+ 	  status = hold_status;
+ 	}
+       else
+@@ -3184,7 +3185,8 @@
+ 	{
+ 	  if (preserve_dates)
+ 	    set_times (tmpname, &statbuf);
+-	  smart_rename (tmpname, input_filename, preserve_dates);
++	  if (smart_rename (tmpname, input_filename, preserve_dates))
++            status = 1;
+ 	}
+       else
+ 	unlink (tmpname);
============================================================
--- packages/binutils/binutils-cross_2.16.1.bb	0b3c910b27afd69a5dfc2e1f76115ac7aca711cf
+++ packages/binutils/binutils-cross_2.16.1.bb	0b3c910b27afd69a5dfc2e1f76115ac7aca711cf
@@ -0,0 +1,3 @@
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
+require binutils_${PV}.bb
+require binutils-cross.inc
============================================================
--- packages/binutils/binutils_2.16.1.bb	1c9dfbf91c25005a841b0536de33d9458e9d2f08
+++ packages/binutils/binutils_2.16.1.bb	1c9dfbf91c25005a841b0536de33d9458e9d2f08
@@ -0,0 +1,14 @@
+
+CROSSTOOL_PATCH_URL = "http://www.kegel.com/crosstool/crosstool-0.43/patches/binutils-2.16.1/"
+SRC_URI = \
+    "${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
+     ${CROSSTOOL_PATCH_URL}bfd-hash-tweak.patch;patch=1 \
+     ${CROSSTOOL_PATCH_URL}binutils-2.15-psignal.patch;patch=1 \
+     ${CROSSTOOL_PATCH_URL}binutils-skip-comments.patch;patch=1 \
+     ${CROSSTOOL_PATCH_URL}callahan.patch;patch=1 \
+     ${CROSSTOOL_PATCH_URL}cross-gprof.patch;patch=1 \
+     ${CROSSTOOL_PATCH_URL}stabs-tweak.patch;patch=1 \
+     file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1"
+
+
+require binutils.inc






More information about the Openembedded-commits mailing list