svn commit: r214223 - in
projects/binutils-2.17/gnu/usr.bin/binutils: addr2line as ld
libbfd libbinutils libiberty nm objcopy objdump readelf size
strings strip
Dimitry Andric
dim at FreeBSD.org
Fri Oct 22 20:46:08 UTC 2010
Author: dim
Date: Fri Oct 22 20:46:08 2010
New Revision: 214223
URL: http://svn.freebsd.org/changeset/base/214223
Log:
Most of binutils now compiles at WARNS=3, except for libiberty and
libbfd, which still need WARNS=2.
Modified:
projects/binutils-2.17/gnu/usr.bin/binutils/addr2line/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/as/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/libbinutils/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/nm/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/objcopy/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/objdump/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/readelf/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/size/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/strings/Makefile
projects/binutils-2.17/gnu/usr.bin/binutils/strip/Makefile
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/addr2line/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/addr2line/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/addr2line/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= addr2line
SRCS= addr2line.c
-WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/as/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/as/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/as/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -3,8 +3,6 @@
# BINDIR
.include "${.CURDIR}/../../Makefile.inc"
-WARNS?= 2
-NO_WERROR=
.include "${.CURDIR}/../Makefile.inc0"
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -26,7 +26,6 @@ SRCS+= ldcref.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\"
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -41,7 +41,6 @@ SRCS+= archive.c \
targets.c \
targmatch.h \
tekhex.c
-WARNS?= 0
.if (${TARGET_ARCH} == "ia64" || ${TARGET_ARCH} == "sparc64")
WARNS?= 2
.endif
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libbinutils/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/libbinutils/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/libbinutils/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -23,7 +23,6 @@ SRCS+= arlex.l \
unwind-ia64.c \
version.c \
wrstabs.c
-WARNS?= 0
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
CFLAGS+= -D_GNU_SOURCE
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -34,7 +34,7 @@ SRCS= argv.c \
# The following files are needed by gdb(1)
SRCS+= splay-tree.c
-WARNS?= 1
+WARNS?= 2
CFLAGS+= -DHAVE_CONFIG_H
INTERNALLIB=
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/nm/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/nm/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/nm/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= nm
SRCS= nm.c
-WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/bfd
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/objcopy/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/objcopy/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/objcopy/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= objcopy
SRCS= objcopy.c not-strip.c
-WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/objdump/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/objdump/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/objdump/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= objdump
SRCS= objdump.c prdbg.c
-WARNS?= 1
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/readelf/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/readelf/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/readelf/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -9,7 +9,6 @@ BINDIR=/usr/bin
PROG= readelf
SRCS= ${PROG}.c
-WARNS?= 0
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils -I${SRCDIR}/binutils
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/size/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/size/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/size/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= size
SRCS= size.c
-WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/strings/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/strings/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/strings/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= strings
SRCS= strings.c
-WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
Modified: projects/binutils-2.17/gnu/usr.bin/binutils/strip/Makefile
==============================================================================
--- projects/binutils-2.17/gnu/usr.bin/binutils/strip/Makefile Fri Oct 22 20:43:37 2010 (r214222)
+++ projects/binutils-2.17/gnu/usr.bin/binutils/strip/Makefile Fri Oct 22 20:46:08 2010 (r214223)
@@ -6,7 +6,6 @@
PROG= strip
SRCS= objcopy.c is-strip.c
-WARNS?= 2
CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd
More information about the svn-src-projects
mailing list