From 237dcb538fb06d94108754e4812e49b5b25d4926 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 6 Aug 2008 00:42:17 +0000 Subject: binutils/ * objcopy.c (copy_object): Don't setup_bfd_headers when extract_symbol. (setup_section): Don't zero vma and lma when extract_symbol. (copy_section): Discard relocations when extract_symbol. * doc/binutils.texi: Update --extract-symbol description. ld/testsuite/ * ld-elf/extract-symbol-1sec.d: Update. --- ld/testsuite/ld-elf/extract-symbol-1sec.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/testsuite/ld-elf') diff --git a/ld/testsuite/ld-elf/extract-symbol-1sec.d b/ld/testsuite/ld-elf/extract-symbol-1sec.d index 6891abc..87d42af 100644 --- a/ld/testsuite/ld-elf/extract-symbol-1sec.d +++ b/ld/testsuite/ld-elf/extract-symbol-1sec.d @@ -7,7 +7,7 @@ #... Sections: *Idx +Name +Size +VMA +LMA .* - *0 +\.foo +0+ +0+ +0+ .* + *0 +\.foo +0+ +0+10000 +0+10000 .* *CONTENTS, ALLOC, LOAD, CODE - *1 +\.bar +0+ +0+ +0+ .* + *1 +\.bar +0+ +0+20000 +0+20000 .* *ALLOC, READONLY, CODE -- cgit v1.1