From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1285) id 41B083858405; Mon, 4 Oct 2021 07:19:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41B083858405 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Eric Botcazou To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4106] Remove dead code in config/rs6000/vxworks.h X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 154fd0896ef22fcf5235e35e2b795394dddd7a33 X-Git-Newrev: f950d946370bb7b8751f7b89ff856beddbe91aea Message-Id: <20211004071939.41B083858405@sourceware.org> Date: Mon, 4 Oct 2021 07:19:39 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2021 07:19:39 -0000 https://gcc.gnu.org/g:f950d946370bb7b8751f7b89ff856beddbe91aea commit r12-4106-gf950d946370bb7b8751f7b89ff856beddbe91aea Author: Eric Botcazou 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