Mercurial > hg > index.cgi
diff extra/ld @ 423:a3711f5ac569
ld wrapper: Add --oformat option
Also fix up a bug in the -Map option that swallowed an argument
too many.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 21 May 2016 22:06:10 +0200 |
parents | 26d2791672b1 |
children |
line wrap: on
line diff
--- a/extra/ld Sun May 08 19:25:55 2016 -0600 +++ b/extra/ld Sat May 21 22:06:10 2016 +0200 @@ -74,6 +74,10 @@ -o) output_file=$1; shift ;; + --oformat=*) + arg=${arg#--oformat=}; + options="$options --format=$arg" + ;; -L*) arg=${arg#-L} libpaths="$libpaths --library-path=$arg" @@ -88,7 +92,7 @@ ;; -Map=*) - arg=${arg#-Map=}; shift + arg=${arg#-Map=}; options="$options --map=$arg" ;;