From: Adrian von Bidder (avbidder@acter.ch)
Date: Fri Dec 21 2001 - 05:12:19 EST
Heyho! The attached small patch allows you to specify elf2flt flags on the cmdline, like arm-uclinux-gcc -Wl,-elf2flt="-s 15000" -o program -program.c not specifying any flags still works, and the FLTFLAGS env var still works, too. greets from Zürich -- vbi ? elf2flt.patch Index: ld-elf2flt =================================================================== RCS file: /home/acter/Software/cvsroot/TOOLS/elf2flt/ld-elf2flt,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 ld-elf2flt --- ld-elf2flt 2001/12/17 08:59:17 1.1.1.2 +++ ld-elf2flt 2001/12/21 10:04:58 @@ -4,6 +4,7 @@ # the 'C' compiler or linker respectively # # uses the env. var FLTFLAGS as extra parameters to pass to elf2flt +# arguments given like -Wl,-elf2flt="-b 10000 -v" are given before FLTFLAGS # # Install by renaming all m68k-elf-ld/ld to XXX.real, and put this # script in their place. @@ -34,7 +35,7 @@ do case "$1" in - -elf2flt) ;; # we already know this + -elf2flt*)FLTFLAGS="`expr \"$1\" : '-elf2flt=\(.*\)'` $FLTFLAGS";; -o) shift; OFILE="$1";; # the final outfile -o*) OFILE="`expr \"$1\" : '-o\(.*\)'`";; This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:39 EDT