public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [commited] Remove a couple mudflap remnants
@ 2023-06-13 17:49 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-06-13 17:49 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]


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

[-- Attachment #2: P --]
[-- Type: text/plain, Size: 1568 bytes --]

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 --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) }}}}}}"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-13 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-13 17:49 [commited] Remove a couple mudflap remnants Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).