summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/ld/Makefile
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-02-18 20:54:12 +0000
committerdim <dim@FreeBSD.org>2011-02-18 20:54:12 +0000
commit58abb279f50d5ad9fbad30a39da04296664ec6cb (patch)
tree50e46c29de9d928e0d098104d28f1c1e0e628384 /gnu/usr.bin/binutils/ld/Makefile
parente1012e9afb73b834c089b15373d264e45a7b03f0 (diff)
parenta3786f65f1e2fa3a4e925fdb4b2b5544b9021bf9 (diff)
downloadFreeBSD-src-58abb279f50d5ad9fbad30a39da04296664ec6cb.zip
FreeBSD-src-58abb279f50d5ad9fbad30a39da04296664ec6cb.tar.gz
Merge binutils 2.17.50 to head. This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17
Diffstat (limited to 'gnu/usr.bin/binutils/ld/Makefile')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 7774822..f5f1dff 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -10,11 +10,22 @@ CFLAGS+= -O1
PROG= ld
SCRIPTDIR= /usr/libdata/ldscripts
-SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \
- ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
- ldver.c ldwrite.c lexsup.c mri.c
+SRCS+= ldcref.c \
+ ldctor.c \
+ ldemul-list.h \
+ ldemul.c \
+ ldexp.c \
+ ldfile.c \
+ ldgram.y \
+ ldlang.c \
+ ldlex.l \
+ ldmain.c \
+ ldmisc.c \
+ ldver.c \
+ ldwrite.c \
+ lexsup.c \
+ mri.c
-WARNS?= 0 # ldemul.h problem (`struct option' declared inside parameter list)
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\"
@@ -32,15 +43,14 @@ CLEANFILES+= ldemul-list.h stringify.sed
HOST= ${TARGET_TUPLE}
LIBSERACHPATH= \"${TOOLS_PREFIX}/lib\":\"${TOOLS_PREFIX}/usr/lib\"
-ELF_SCR_EXT= x xbn xn xr xs xu xc xsc xd xdc
+ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
.for ext in ${ELF_SCR_EXT}
LDSCRIPTS+= ${NATIVE_EMULATION}.${ext}
.endfor
-EMS+= ${NATIVE_EMULATION}
EMXFR=
EMLST=
-.for _e in ${EMS}
+.for _e in ${NATIVE_EMULATION} ${EMS}
EMXFR+= extern ld_emulation_xfer_type ld_${_e}_emulation;
EMLST+= &ld_${_e}_emulation,
.endfor
OpenPOWER on IntegriCloud