]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove dead code in config/rs6000/vxworks.h
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 4 Oct 2021 07:16:19 +0000 (09:16 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 4 Oct 2021 07:20:06 +0000 (09:20 +0200)
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

index 5facbbb392fd08c116cf28f5ad894a19073456d9..d8ecc0296c8c27322e659f64311750dba309d960 100644 (file)
@@ -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