summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2007-12-03 13:21:21 +0000
committerkib <kib@FreeBSD.org>2007-12-03 13:21:21 +0000
commit7d7c31228433aa17ba3a8530ba4e041628e08a50 (patch)
treec15e28de943a0244b0ba6f94e66f8e1fe11c3ff0 /lib/csu
parent633b64a51daf61c996f6ae4add228af9f2f7ace8 (diff)
downloadFreeBSD-src-7d7c31228433aa17ba3a8530ba4e041628e08a50.zip
FreeBSD-src-7d7c31228433aa17ba3a8530ba4e041628e08a50.tar.gz
Restore the branding of the ELF executables. The structure was optimized out.
MFC after: 3 days
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/common/crtbrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csu/common/crtbrand.c b/lib/csu/common/crtbrand.c
index dde60b3..449a837 100644
--- a/lib/csu/common/crtbrand.c
+++ b/lib/csu/common/crtbrand.c
@@ -43,7 +43,7 @@ static const struct {
int32_t type;
char name[sizeof ABI_VENDOR];
int32_t desc;
-} abitag __attribute__ ((section (ABI_SECTION), aligned(4))) __unused = {
+} abitag __attribute__ ((section (ABI_SECTION), aligned(4), used)) __unused = {
sizeof ABI_VENDOR,
sizeof(int32_t),
ABI_NOTETYPE,
OpenPOWER on IntegriCloud