Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2010 20:17:13 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r214170 - projects/binutils-2.17/gnu/usr.bin/binutils/libbfd
Message-ID:  <201010212017.o9LKHDtN002739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu Oct 21 20:17:13 2010
New Revision: 214170
URL: http://svn.freebsd.org/changeset/base/214170

Log:
  Update BFD version and date, and add new upstream files.  Also remove
  the elf32-arm-fbsd.c kludge; it is now integrated cleanly into
  contrib/binutils/bfd/elf32-arm.c.

Modified:
  projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile
  projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.arm
  projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.sparc64

Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile	Thu Oct 21 20:08:16 2010	(r214169)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile	Thu Oct 21 20:17:13 2010	(r214170)
@@ -21,6 +21,7 @@ SRCS+=	archive.c \
 	dwarf2.c \
 	elf-eh-frame.c \
 	elf-strtab.c \
+	elf-vxworks.c \
 	elf.c \
 	format.c \
 	hash.c \
@@ -81,8 +82,8 @@ CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECT
 
 # XXX:DEO should grab BFD_VERSION_DATE from ${VERSION}...
 bfdver.h: Makefile
-	echo '#define BFD_VERSION	215000000'	> ${.TARGET}
-	echo '#define BFD_VERSION_DATE	20050317'	>> ${.TARGET}
+	echo '#define BFD_VERSION	217000000'	> ${.TARGET}
+	echo '#define BFD_VERSION_DATE	20070807'	>> ${.TARGET}
 	echo '#define BFD_VERSION_STRING ${VERSION}'	>> ${.TARGET}
 
 targmatch.h: targmatch.sed config.bfd

Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.arm
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.arm	Thu Oct 21 20:08:16 2010	(r214169)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.arm	Thu Oct 21 20:17:13 2010	(r214170)
@@ -8,7 +8,7 @@ DEFAULT_VECTOR=	bfd_elf32_littlearm_vec
 
 SRCS+=	cpu-arm.c \
 	elf32.c \
-	elf32-arm-fbsd.c \
+	elf32-arm.c \
 	elf32-gen.c \
 	elf32-target.h \
 	elflink.c
@@ -19,27 +19,3 @@ VECS+=	bfd_elf32_littlearm_vec
 .else
 VECS+=	bfd_elf32_bigarm_vec
 .endif
-
-CLEANFILES+=	elf32-arm-fbsd.c
-
-# XXX: We should really add the FreeBSD case in elf32_arm_nabi_grok_prstatus
-# instead of defining our own elf32_fbsd_arm_grok_prstatus.
-#
-elf32-arm-fbsd.c: elfarm-nabi.c
-	cat ${.ALLSRC} | sed \
-	    -e s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g \
-	    -e "s/\(.*#define.*\)elf32_arm_nabi_grok_prstatus/\1elf32_fbsd_arm_grok_prstatus/" \
-	    -e s/"#include.*elf32-arm.h.*//" >${.TARGET}
-	echo ' \
-	    static bfd_boolean \
-	    elf32_fbsd_arm_grok_prstatus(bfd *abfd, Elf_Internal_Note *note) \
-	    { size_t raw_size =68 ; int offset = 28; \
-	    if (note->descsz != 96) return (FALSE); \
-	    if (elf_tdata(abfd)->core_signal == 0) \
-		elf_tdata (abfd)->core_signal = ((int *)(note->descdata))[5]; \
-	    elf_tdata (abfd)->core_pid = ((int *)(note->descdata))[6]; \
-	    /* Make a ".reg/999" section.  */ \
-	    return _bfd_elfcore_make_pseudosection (abfd, ".reg",raw_size, \
-		note->descpos + offset); \
-	    }' >> ${.TARGET}
-	echo '#include "elf32-arm.h"' >> ${.TARGET}

Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.sparc64
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.sparc64	Thu Oct 21 20:08:16 2010	(r214169)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.sparc64	Thu Oct 21 20:17:13 2010	(r214170)
@@ -11,6 +11,8 @@ SRCS+=	aout32.c	\
 	elf64-sparc.c	\
 	elf64-target.h	\
 	elflink.c	\
+	elfxx-sparc.c	\
+	elfxx-sparc.h	\
 	sparcnetbsd.c	\
 	sunos.c
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010212017.o9LKHDtN002739>