summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-08-31 15:56:25 +1000
committerIvan Mikhaylov <ivan@de.ibm.com>2017-10-06 00:06:31 +0300
commitcf0bd9b36c0d8cb091a471973493d1370330c7d1 (patch)
tree35b9316ee0b1b98dae1bbaceae67467e82180e16
parent4d01825ec2b5377af886c3cc8e2f257cc679f90b (diff)
downloadfsp-trace-master.tar.gz
fsp-trace-master.zip
Don't place the license in .commentHEADmaster
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 <oohall@gmail.com>
-rw-r--r--copyright.c2
1 files changed, 1 insertions, 1 deletions
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";
OpenPOWER on IntegriCloud