]> git.wh0rd.org Git - elf2flt.git/commitdiff
It is somewhat common for people to use the -s (strip) option to the
authorDavid McCullough <davidm@snapgear.com>
Fri, 21 Nov 2008 11:35:07 +0000 (11:35 +0000)
committerDavid McCullough <davidm@snapgear.com>
Fri, 21 Nov 2008 11:35:07 +0000 (11:35 +0000)
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 <vapier@gentoo.org>
ld-elf2flt.in

index b3881ec53344e1791b264a64afef6417657ca745..418c9ee8127e4f3f9f87f3cd0107a6ee30c75efd 100644 (file)
@@ -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