[tree-ssa mudflap] gcc.c specs tweak

Frank Ch. Eigler fche@redhat.com
Wed Aug 14 09:06:00 GMT 2002


Hi -

I'm committing the following obvious/harmless tweak.
The previous version added "-lmudflap" too early into the
linker's option sequence.  It needs to follow %o.


2002-08-14  Frank Ch. Eigler  <fche@redhat.com>

	* gcc.c (LINK_COMMAND_SPEC): Tweak placement of %(mflib).

Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.324.2.8
diff -c -p -r1.324.2.8 gcc.c
*** gcc.c	14 Aug 2002 14:53:43 -0000	1.324.2.8
--- gcc.c	14 Aug 2002 16:03:03 -0000
*************** proper position among the other output f
*** 638,645 ****
  %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
      %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}\
      %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
!     %{static:} %{L*} %(mfwrap) %(mflib) \
!     %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}}\
      %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}"
  #endif
  
--- 638,645 ----
  %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
      %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}\
      %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
!     %{static:} %{L*} %(mfwrap) %(link_libgcc) %o %(mflib)\
!     %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}}\
      %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}"
  #endif
  



More information about the Gcc-patches mailing list