diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-10-04 09:16:19 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-10-04 09:19:01 +0200 |
commit | f950d946370bb7b8751f7b89ff856beddbe91aea (patch) | |
tree | 67a0e1c7bb9340691b9b4711e0af184fa70558b3 | |
parent | 154fd0896ef22fcf5235e35e2b795394dddd7a33 (diff) | |
download | gcc-f950d946370bb7b8751f7b89ff856beddbe91aea.zip gcc-f950d946370bb7b8751f7b89ff856beddbe91aea.tar.gz gcc-f950d946370bb7b8751f7b89ff856beddbe91aea.tar.bz2 |
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.
-rw-r--r-- | gcc/config/rs6000/vxworks.h | 4 |
1 files changed, 0 insertions, 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 |