Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2015 15:00:29 +0000
From:      "emaste (Ed Maste)" <phabric-noreply@FreeBSD.org>
To:        freebsd-toolchain@freebsd.org
Subject:   [Differential] [Request, 19 lines] D2408: Add ELF Tool Chain's c++filt to the build
Message-ID:  <differential-rev-PHID-DREV-p3szawadf7l7266bqfgt-req@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

--b1_2f7102b9ca1bb76a91f7333b7aac484e
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: 8bit

emaste created this revision.
emaste added a reviewer: brooks.
emaste added a subscriber: freebsd-toolchain.

REVISION DETAIL
  https://reviews.freebsd.org/D2408

AFFECTED FILES
  usr.bin/Makefile
  usr.bin/cxxfilt/Makefile

CHANGE DETAILS
  diff --git a/usr.bin/cxxfilt/Makefile b/usr.bin/cxxfilt/Makefile
  new file mode 100644
  --- /dev/null
  +++ b/usr.bin/cxxfilt/Makefile
  @@ -0,0 +1,17 @@
  +# $FreeBSD$
  +
  +.include <src.opts.mk>
  +
  +ELFTCDIR=	${.CURDIR}/../../contrib/elftoolchain
  +SRCDIR=		${ELFTCDIR}/cxxfilt
  +
  +.PATH: ${SRCDIR}
  +
  +PROG=	c++filt
  +SRCS=	cxxfilt.c
  +
  +LIBADD=	elftc
  +
  +CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
  +
  +.include <bsd.prog.mk>
  diff --git a/usr.bin/Makefile b/usr.bin/Makefile
  --- a/usr.bin/Makefile
  +++ b/usr.bin/Makefile
  @@ -36,6 +36,7 @@
   	csplit \
   	ctlstat \
   	cut \
  +	${_cxxfilt} \
   	demandoc \
   	dirname \
   	dpv \
  @@ -237,6 +238,7 @@
   
   .if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
   _addr2line=	addr2line
  +_cxxfilt=	cxxfilt
   _elfcopy=	elfcopy
   _nm=		nm
   _readelf=	readelf

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: emaste, brooks
Cc: freebsd-toolchain

--b1_2f7102b9ca1bb76a91f7333b7aac484e
Content-Type: text/x-patch; charset=utf-8; name="D2408.5105.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="D2408.5105.patch"

ZGlmZiAtLWdpdCBhL3Vzci5iaW4vY3h4ZmlsdC9NYWtlZmlsZSBiL3Vzci5iaW4vY3h4ZmlsdC9N
YWtlZmlsZQpuZXcgZmlsZSBtb2RlIDEwMDY0NAotLS0gL2Rldi9udWxsCisrKyBiL3Vzci5iaW4v
Y3h4ZmlsdC9NYWtlZmlsZQpAQCAtMCwwICsxLDE3IEBACisjICRGcmVlQlNEJAorCisuaW5jbHVk
ZSA8c3JjLm9wdHMubWs+CisKK0VMRlRDRElSPQkkey5DVVJESVJ9Ly4uLy4uL2NvbnRyaWIvZWxm
dG9vbGNoYWluCitTUkNESVI9CQkke0VMRlRDRElSfS9jeHhmaWx0CisKKy5QQVRIOiAke1NSQ0RJ
Un0KKworUFJPRz0JYysrZmlsdAorU1JDUz0JY3h4ZmlsdC5jCisKK0xJQkFERD0JZWxmdGMKKwor
Q0ZMQUdTKz0tSSR7RUxGVENESVJ9L2xpYmVsZnRjIC1JJHtFTEZUQ0RJUn0vY29tbW9uCisKKy5p
bmNsdWRlIDxic2QucHJvZy5taz4KZGlmZiAtLWdpdCBhL3Vzci5iaW4vTWFrZWZpbGUgYi91c3Iu
YmluL01ha2VmaWxlCi0tLSBhL3Vzci5iaW4vTWFrZWZpbGUKKysrIGIvdXNyLmJpbi9NYWtlZmls
ZQpAQCAtMzYsNiArMzYsNyBAQAogCWNzcGxpdCBcCiAJY3Rsc3RhdCBcCiAJY3V0IFwKKwkke19j
eHhmaWx0fSBcCiAJZGVtYW5kb2MgXAogCWRpcm5hbWUgXAogCWRwdiBcCkBAIC0yMzcsNiArMjM4
LDcgQEAKIAogLmlmICR7TUtfRUxGVE9PTENIQUlOX1RPT0xTfSAhPSAibm8iCiBfYWRkcjJsaW5l
PQlhZGRyMmxpbmUKK19jeHhmaWx0PQljeHhmaWx0CiBfZWxmY29weT0JZWxmY29weQogX25tPQkJ
bm0KIF9yZWFkZWxmPQlyZWFkZWxmCgo=


--b1_2f7102b9ca1bb76a91f7333b7aac484e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-p3szawadf7l7266bqfgt-req>