From: David McCullough Date: Fri, 21 Nov 2008 11:35:07 +0000 (+0000) Subject: It is somewhat common for people to use the -s (strip) option to the X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8ee8d4c7d397176ec725ebab0609ed128480ab81;p=elf2flt.git 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 --- 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