From 8ee8d4c7d397176ec725ebab0609ed128480ab81 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Fri, 21 Nov 2008 11:35:07 +0000 Subject: [PATCH] It is somewhat common for people to use the -s (strip) option to the compiler when linking. Currently this breaks FLAT generation. There's no real reason that I can see that we would bother keeping this, so just filter it out to make compatibility / ease of use nicer. Signed-off-by: Mike Frysinger --- ld-elf2flt.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ld-elf2flt.in b/ld-elf2flt.in index b3881ec..418c9ee 100644 --- a/ld-elf2flt.in +++ b/ld-elf2flt.in @@ -52,7 +52,8 @@ then -move-rodata) MOVDAT="y";; # Put rodata in ROM if possible - + -s) ;; # Ignore -s (strip) + -shared-lib-id) shift; SHARED_ID="$1";; # Shared library ID -- 2.11.0