From cf0bd9b36c0d8cb091a471973493d1370330c7d1 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Thu, 31 Aug 2017 15:56:25 +1000 Subject: Don't place the license in .comment Fixes a linker error when compiling on Ubuntu 17.04 on ppc64le with optimisations disabled: /usr/bin/ld: fsp-trace: Not enough room for program headers, try linking with -N /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status Makefile:8: recipe for target 'fsp-trace' failed make: *** [fsp-trace] Error 1 Signed-off-by: Oliver O'Halloran --- copyright.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyright.c b/copyright.c index 355c277..3da078b 100644 --- a/copyright.c +++ b/copyright.c @@ -19,5 +19,5 @@ static const char copyright [] __attribute__((unused)) - __attribute__((section (".comment"))) = + __attribute__((section (".legal"))) = "Licensed under the Apache License, Version 2.0.\n"; -- cgit v1.2.3