From owner-cvs-all Tue Sep 1 17:53:28 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01000 for cvs-all-outgoing; Tue, 1 Sep 1998 17:53:28 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA00994; Tue, 1 Sep 1998 17:53:25 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA24407; Tue, 1 Sep 1998 17:53:19 -0700 (PDT) Date: Tue, 1 Sep 1998 17:53:19 -0700 (PDT) Message-Id: <199809020053.RAA24407@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/net Makefile.inc inet_addr.c inet_lnaof.c inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c nsap_addr.c res_comp.c res_debug.c res_init.c res_mkquery.c ... Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/09/01 17:53:19 PDT Modified files: lib/libc/net Makefile.inc inet_addr.c inet_lnaof.c inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c nsap_addr.c res_comp.c res_debug.c res_init.c res_mkquery.c res_query.c res_send.c Removed files: lib/libc/net res_stubs.c Log: Implement the weak aliases for private entry points in the inet_* and res_* modules in a way that works for ELF. I moved the aliases out of res_stubs.c and into the individual modules where the entry points are defined. Weak aliases don't work in ELF unless that is the case. (Actually, I'm surprised it worked for a.out.) This should fix the undefined "inet_addr" and related symbols in various applications that fail to include or as they are supposed to do. Revision Changes Path 1.28 +2 -2 src/lib/libc/net/Makefile.inc 1.6 +10 -1 src/lib/libc/net/inet_addr.c 1.2 +7 -0 src/lib/libc/net/inet_lnaof.c 1.2 +7 -0 src/lib/libc/net/inet_makeaddr.c 1.4 +8 -1 src/lib/libc/net/inet_net_ntop.c 1.5 +8 -1 src/lib/libc/net/inet_net_pton.c 1.5 +8 -1 src/lib/libc/net/inet_neta.c 1.2 +7 -0 src/lib/libc/net/inet_netof.c 1.5 +7 -0 src/lib/libc/net/inet_network.c 1.3 +7 -0 src/lib/libc/net/inet_ntoa.c 1.5 +8 -1 src/lib/libc/net/inet_ntop.c 1.5 +8 -1 src/lib/libc/net/inet_pton.c 1.6 +10 -1 src/lib/libc/net/nsap_addr.c 1.15 +10 -1 src/lib/libc/net/res_comp.c 1.16 +22 -1 src/lib/libc/net/res_debug.c 1.16 +8 -1 src/lib/libc/net/res_init.c 1.14 +8 -1 src/lib/libc/net/res_mkquery.c 1.17 +12 -1 src/lib/libc/net/res_query.c 1.25 +10 -1 src/lib/libc/net/res_send.c