From f950d946370bb7b8751f7b89ff856beddbe91aea Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 4 Oct 2021 09:16:19 +0200 Subject: [PATCH] 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. --- 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 5facbbb..d8ecc02 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 -- 2.7.4