Remove MFWRAP_SPEC remnant

Message ID CAHso6sOfme1dRTqaLR0UWLVnKj_eYw-c3DBqLFCwH_Y3JnowWg@mail.gmail.com
State Committed
Commit ef30f9b094f58ba151164db01b2cf38a0b66863c
Headers
Series Remove MFWRAP_SPEC remnant |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gcc_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_gcc_check--master-arm success Testing passed
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 success Testing passed

Commit Message

Jivan Hakobyan June 14, 2023, 9:14 a.m. UTC
  This patch removes a remnant of mudflap.

gcc/ChangeLog:
        * config/moxie/uclinux.h (MFWRAP_SPEC): Remove
  

Comments

Jeff Law June 14, 2023, 6:44 p.m. UTC | #1
On 6/14/23 03:14, Jivan Hakobyan via Gcc-patches wrote:
> This patch removes a remnant of mudflap.
> 
> gcc/ChangeLog:
>          * config/moxie/uclinux.h (MFWRAP_SPEC): Remove
Thanks.  I pushed this to the trunk.
jeff
  

Patch

diff --git a/gcc/config/moxie/uclinux.h b/gcc/config/moxie/uclinux.h
index f7bb62e56c7..a7d371047c4 100644
--- a/gcc/config/moxie/uclinux.h
+++ b/gcc/config/moxie/uclinux.h
@@ -32,11 +32,3 @@  see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 
 #undef TARGET_LIBC_HAS_FUNCTION
 #define TARGET_LIBC_HAS_FUNCTION no_c99_libc_has_function
-
-/* Like the definition in gcc.cc, but for purposes of uClinux, every link is
-   static.  */
-#define MFWRAP_SPEC " %{fmudflap|fmudflapth: \
- --wrap=malloc --wrap=free --wrap=calloc --wrap=realloc\
- --wrap=mmap --wrap=munmap --wrap=alloca\
- %{fmudflapth: --wrap=pthread_create\
-}} %{fmudflap|fmudflapth: --wrap=main}"