about summary refs log tree commit diff
path: root/extract-dynsym
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-22 18:02:38 +0000
committerRoland McGrath <roland@gnu.org>1996-05-22 18:02:38 +0000
commitdc9972317e6fe44e503fbfe83446272743c76fb3 (patch)
tree08eb85f894d1f06cf0e8a5c151f12695f8640e06 /extract-dynsym
parentb8fe19fa809ac786b7d3dbb464cb1b3f887dc69d (diff)
downloadglibc-dc9972317e6fe44e503fbfe83446272743c76fb3.tar.gz
glibc-dc9972317e6fe44e503fbfe83446272743c76fb3.tar.xz
glibc-dc9972317e6fe44e503fbfe83446272743c76fb3.zip
Regenerated: autoconf configure.in cvs/libc-960522
Diffstat (limited to 'extract-dynsym')
-rwxr-xr-xextract-dynsym23
1 files changed, 0 insertions, 23 deletions
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