Date: Mon, 22 Jun 2015 20:23:28 +0000 From: "emaste (Ed Maste)" <phabric-noreply@FreeBSD.org> To: freebsd-toolchain@freebsd.org Subject: [Differential] [Request, 31 lines] D2887: Allow ELF Tool Chain elfcopy to be installed as objcopy Message-ID: <differential-rev-PHID-DREV-pbvhuufangqixci3fgp7-req@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
--b1_d1d540d9026e9eadc7967cf6b3a22799 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit emaste created this revision. emaste added a reviewer: andrew. emaste added a subscriber: freebsd-toolchain-list. Herald added subscribers: emaste, bdrewery. REVISION SUMMARY ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy (but does not currently support PE output, needed for building x86 UEFI bits). Add a make.conf knob to allow installing it as objcopy and set it by default for aarch64 only, where we don't have a native binutils. This is WIP for comment and testing. REVISION DETAIL https://reviews.freebsd.org/D2887 AFFECTED FILES gnu/usr.bin/binutils/Makefile share/mk/src.opts.mk tools/build/mk/OptionalObsoleteFiles.inc tools/build/options/WITH_ELFCOPY_AS_OBJCOPY usr.bin/elfcopy/Makefile EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: emaste, andrew Cc: bdrewery, freebsd-toolchain-list, emaste --b1_d1d540d9026e9eadc7967cf6b3a22799 Content-Type: text/x-patch; charset=utf-8; name="D2887.6386.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D2887.6386.patch" ZGlmZiAtLWdpdCBhL3Vzci5iaW4vZWxmY29weS9NYWtlZmlsZSBiL3Vzci5iaW4vZWxmY29weS9N YWtlZmlsZQotLS0gYS91c3IuYmluL2VsZmNvcHkvTWFrZWZpbGUKKysrIGIvdXNyLmJpbi9lbGZj b3B5L01ha2VmaWxlCkBAIC03LDcgKzcsMTUgQEAKIAogLlBBVEg6ICR7RUxGQ09QWURJUn0KIAor LmlmICR7TUtfRUxGQ09QWV9BU19PQkpDT1BZfSAhPSAibm8iCitQUk9HPQ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Uk12NC9BUk12NQogLmlmICR7X19UfSA9PSAiYXJtIiB8 fCAke19fVH0gPT0gImFybWViIgpkaWZmIC0tZ2l0IGEvZ251L3Vzci5iaW4vYmludXRpbHMvTWFr ZWZpbGUgYi9nbnUvdXNyLmJpbi9iaW51dGlscy9NYWtlZmlsZQotLS0gYS9nbnUvdXNyLmJpbi9i aW51dGlscy9NYWtlZmlsZQorKysgYi9nbnUvdXNyLmJpbi9iaW51dGlscy9NYWtlZmlsZQpAQCAt MTEsNyArMTEsNyBAQAogCWFzIFwKIAlsZCBcCiAJJHtfbm19IFwKLQlvYmpjb3B5IFwKKwkke19v Ympjb3B5fSBcCiAJb2JqZHVtcCBcCiAJJHtfcmVhZGVsZn0gXAogCSR7X3NpemV9IFwKQEAgLTI2 LDUgKzI2LDggQEAKIF9zdHJpbmdzPQlzdHJpbmdzCiBfc3RyaXA9CQlzdHJpcAogLmVuZGlmCisu aWYgJHtNS19FTEZUT09MQ0hBSU5fVE9PTFN9ID09ICJubyIgfHwgJHtNS19FTEZDT1BZX0FTX09C SkNPUFl9ID09ICJubyIKK19vYmpjb3B5PQlvYmpjb3B5CisuZW5kaWYKIAogLmluY2x1ZGUgPGJz ZC5zdWJkaXIubWs+Cgo= --b1_d1d540d9026e9eadc7967cf6b3a22799--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-pbvhuufangqixci3fgp7-req>