From patchwork Fri Aug 7 16:10:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 8087 Received: (qmail 75418 invoked by alias); 7 Aug 2015 16:11:02 -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 75401 invoked by uid 89); 7 Aug 2015 16:11:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: BLU004-OMC1S22.hotmail.com X-TMN: [DiW6FeUyLFseMwT09T7/ytSC2dkSorNv] Message-ID: From: John David Anglin MIME-Version: 1.0 (Apple Message framework v1085) Date: Fri, 7 Aug 2015 12:10:56 -0400 Subject: [PATCH] hppa: Fix undefined symbol error CC: Carlos O'Donell , Mike Frysinger , Helge Deller To: GNU C Library In linking libc.so, the symbol _dl_symbol_address is undefined. This was introduced in the following change: 2015-07-16 Mike Frysinger * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add rtld_hidden_proto. * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise. The change missed updating sysdeps/hppa/dl-symaddr.c. Build tested with trunk on Debian hppa-unknown-linux-gnu. Please install if okay. Dave --- John David Anglin dave.anglin@bell.net 2015-08-07 John David Anglin * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. diff --git a/sysdeps/hppa/dl-symaddr.c b/sysdeps/hppa/dl-symaddr.c index b707c19..89d8baf 100644 --- a/sysdeps/hppa/dl-symaddr.c +++ b/sysdeps/hppa/dl-symaddr.c @@ -33,3 +33,4 @@ _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref) else return (void *) value; } +rtld_hidden_def (_dl_symbol_address)