public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4106] Remove dead code in config/rs6000/vxworks.h
@ 2021-10-04  7:19 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2021-10-04  7:19 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f950d946370bb7b8751f7b89ff856beddbe91aea

commit r12-4106-gf950d946370bb7b8751f7b89ff856beddbe91aea
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Mon Oct 4 09:16:19 2021 +0200

    Remove dead code in config/rs6000/vxworks.h
    
    These lines were added last year:
    
    /* Initialize library function table.  */
     #undef TARGET_INIT_LIBFUNCS
     #define TARGET_INIT_LIBFUNCS rs6000_vxworks_init_libfuncs
    
    but TARGET_INIT_LIBFUNCS is #undef-ed in config/rs6000/rs6000.c and
    rs6000_vxworks_init_libfuncs is nowhere defined in any case.
    
    gcc/
            * config/rs6000/vxworks.h (TARGET_INIT_LIBFUNCS): Delete.

Diff:
---
 gcc/config/rs6000/vxworks.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h
index 5facbbb392f..d8ecc0296c8 100644
--- a/gcc/config/rs6000/vxworks.h
+++ b/gcc/config/rs6000/vxworks.h
@@ -147,10 +147,6 @@ along with GCC; see the file COPYING3.  If not see
 #undef FUNCTION_PROFILER
 #define FUNCTION_PROFILER(FILE,LABELNO) VXWORKS_FUNCTION_PROFILER(FILE,LABELNO)
 
-/* Initialize library function table.  */
-#undef TARGET_INIT_LIBFUNCS
-#define TARGET_INIT_LIBFUNCS rs6000_vxworks_init_libfuncs
-
 /* Nor sdata, for kernel mode.  We use this in
    SUBSUBTARGET_INITIALIZE_OPTIONS, after rs6000_rtp has been initialized.  */
 #undef SDATA_DEFAULT_SIZE


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

only message in thread, other threads:[~2021-10-04  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04  7:19 [gcc r12-4106] Remove dead code in config/rs6000/vxworks.h Eric Botcazou

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).