OSDN Git Service

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 b3881ec..418c9ee 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