From 7d7c31228433aa17ba3a8530ba4e041628e08a50 Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 3 Dec 2007 13:21:21 +0000 Subject: Restore the branding of the ELF executables. The structure was optimized out. MFC after: 3 days --- lib/csu/common/crtbrand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/csu') 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, -- cgit v1.1