From fb76e092de481e44915f32f337dd7a6ff6242d8c Mon Sep 17 00:00:00 2001 From: Konstantin Belousov 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(-) diff --git a/lib/csu/common/crtbrand.c b/lib/csu/common/crtbrand.c index dde60b38bb48..449a83714ef7 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.2.3