From 3e1f8e663a2629b50a637b651dd21dc779124da1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 22 May 1996 17:59:43 +0000 Subject: [PATCH] Wed May 22 13:56:42 1996 Roland McGrath * configure.in: Remove checks for objdump, objcopy, and awk. * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed. * Makefile (distribute): Remove extract-dynsym. * extract-dynsym: File removed. --- Makefile | 1 - config.make.in | 3 --- configure.in | 3 --- extract-dynsym | 23 ----------------------- 4 files changed, 30 deletions(-) delete mode 100755 extract-dynsym diff --git a/Makefile b/Makefile index ae32c77001..24203a2aa0 100644 --- a/Makefile +++ b/Makefile @@ -225,7 +225,6 @@ distribute := README INSTALL FAQ NOTES COPYING.LIB COPYING NEWS \ Makefile Makeconfig Makerules Rules Make-dist MakeTAGS \ extra-lib.mk o-iterator.mk \ ansidecl.h mkinstalldirs move-if-change install-sh \ - extract-dynsym \ configure configure.in aclocal.m4 config.sub config.guess\ config.make.in config-name.in Makefile.in \ munch-tmpl.c munch.awk sysdep.h set-hooks.h libc-symbols.h diff --git a/config.make.in b/config.make.in index a443050902..644e5edde5 100644 --- a/config.make.in +++ b/config.make.in @@ -33,9 +33,6 @@ CC = @CC@ AR = @AR@ RANLIB = @RANLIB@ AS = $(CC) -c -OBJDUMP = @OBJDUMP@ -OBJCOPY = @OBJCOPY@ -AWK = @AWK@ # Installation tools. INSTALL = @INSTALL@ diff --git a/configure.in b/configure.in index a96a7246ec..1f7a8ae6f9 100644 --- a/configure.in +++ b/configure.in @@ -304,9 +304,6 @@ AC_CHECK_TOOL(CC, gcc) AC_PROG_CPP AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(OBJDUMP, objdump) -AC_CHECK_TOOL(OBJCOPY, objcopy) -AC_PROG_AWK AC_CACHE_CHECK(for signed size_t type, libc_cv_signed_size_t, [dnl echo '#include diff --git a/extract-dynsym b/extract-dynsym deleted file mode 100755 index 421dbd6fd0..0000000000 --- a/extract-dynsym +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# Extract from an ELF shared object file just the dynamic symbols necessary -# to link against it and the (GNU extension) warning sections that linking -# against it may use to produce warning messages. - -infile=$1 -outfile=$2 - -# Handle both objdump -h output formats. -osechdr='^SECTION [0-9]+ \[' -nsechdr='^ +[0-9]+ ' - -$OBJCOPY -S `$OBJDUMP -h $infile | $AWK " -/($osechdr|$nsechdr)"'\.(hash|dyn[a-z]+|gnu\.warning[a-zA-Z_.]*) / { next; } -/'"$osechdr"'/ { printf "--remove-section=%s ", $3 } -/'"$nsechdr"'/ { printf "--remove-section=%s ", $2 } -' | -# The old format puts brackets around section names. The new format fails -# to delimit long section names from the following hex digits. -sed -e 's/[][]//g' -e 's/0[0-9a-f]* / /g'` $infile $outfile.new - -mv -f $outfile.new $outfile -- 2.11.4.GIT