From patchwork Mon Aug 20 14:40:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 28981 Received: (qmail 85968 invoked by alias); 20 Aug 2018 14:40:39 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 85808 invoked by uid 89); 20 Aug 2018 14:40:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Date: Mon, 20 Aug 2018 16:40:34 +0200 To: libc-alpha@sourceware.org Subject: [PATCH] powerpc64: Remove support for !HAVE_INLINED_SYSCALLS User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Message-Id: <20180820144034.B630C4028A147@oldenburg.str.redhat.com> From: fweimer@redhat.com (Florian Weimer) HAVE_INLINED_SYSCALLS is always defined on Linux. 2018-08-20 Florian Weimer * sysdeps/powerpc/powerpc64/dl-machine.h (DL_STARTING_UP_DEF): Remove macro. (RTLD_START): Adjust. diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h index 99a83d0c82..a768a08cd7 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.h +++ b/sysdeps/powerpc/powerpc64/dl-machine.h @@ -122,16 +122,6 @@ elf_machine_dynamic (void) #define elf_machine_relplt elf_machine_rela -#ifdef HAVE_INLINED_SYSCALLS -/* We do not need _dl_starting_up. */ -# define DL_STARTING_UP_DEF -#else -# define DL_STARTING_UP_DEF \ -".LC__dl_starting_up:\n" \ -" .tc __GI__dl_starting_up[TC],__GI__dl_starting_up\n" -#endif - - /* Initial entry point code for the dynamic linker. The C function `_dl_start' is the real entry point; its return value is the user program's entry point. */ @@ -165,7 +155,6 @@ BODY_PREFIX "_start:\n" \ " .align 2\n" \ " " END_2(_start) "\n" \ " .pushsection \".toc\",\"aw\"\n" \ -DL_STARTING_UP_DEF \ ".LC__rtld_local:\n" \ " .tc _rtld_local[TC],_rtld_local\n" \ ".LC__dl_argc:\n" \