diff mbox series

[commited] Remove a couple mudflap remnants

Message ID f028ee5a-489a-200b-028c-92cf7ee32115@gmail.com
State New
Headers show
Series [commited] Remove a couple mudflap remnants | expand

Commit Message

Jeff Law June 13, 2023, 5:49 p.m. UTC
I happened to be digging into the specs to understand a build failure 
and spotted mflib and mfwrap.  Those were used by the mudflap system 
which we ripped out years ago and we just missed these.

I verified x86 still bootstraps after removing these bits.

Pushed to the trunk as obvious,

Jeff
commit b15d46e8057bf58b5e021011ee6e0c07d6cdf712
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Tue Jun 13 11:46:32 2023 -0600

    Remove a couple mudflap remnants
    
    I happened to be digging into the specs to understand a build
    failure and spotted mflib and mfwrap.  Those were used by the
    mudflap system which we ripped out years ago and we just missed
    these.
    
    I verified x86 still bootstraps after removing these bits.
    
    Pushed to the trunk as obvious,
    gcc/
            * gcc.cc (LINK_COMMAND_SPEC): Remove mudflap spec handling.
diff mbox series

Patch

diff --git a/gcc/gcc.cc b/gcc/gcc.cc
index 2ccca00d603..38155f8fa4b 100644
--- a/gcc/gcc.cc
+++ b/gcc/gcc.cc
@@ -1146,12 +1146,12 @@  proper position among the other output files.  */
    "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
    "%X %{o*} %{e*} %{N} %{n} %{r}\
     %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
-    %{static|no-pie|static-pie:} %@{L*} %(mfwrap) %(link_libgcc) " \
+    %{static|no-pie|static-pie:} %@{L*} %(link_libgcc) " \
     VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \
     %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\
 	%:include(libgomp.spec)%(link_gomp)}\
     %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\
-    %(mflib) " STACK_SPLIT_SPEC "\
+    " STACK_SPLIT_SPEC "\
     %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} " SANITIZER_SPEC " \
     %{!nostdlib:%{!r:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}}\
     %{!nostdlib:%{!r:%{!nostartfiles:%E}}} %{T*}  \n%(post_link) }}}}}}"