This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [rfc] new bfd hook: additional link map text
- From: Alan Modra <amodra at gmail dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: Nicholas Clifton <nickc at redhat dot com>, gingold at adacore dot com, binutils at sourceware dot org
- Date: Wed, 28 May 2014 22:43:16 +0930
- Subject: Re: [rfc] new bfd hook: additional link map text
- Authentication-results: sourceware.org; auth=none
- References: <201404110214 dot s3B2E2IQ016910 at greed dot delorie dot com> <15F27C34-BFCC-4A1D-A705-C3AEB0464BF2 at adacore dot com> <201404222055 dot s3MKt75Y011634 at greed dot delorie dot com> <201405061515 dot s46FFnQk025221 at greed dot delorie dot com> <20140507030239 dot GY16139 at bubble dot grove dot modra dot org> <201405100233 dot s4A2XCOR030016 at greed dot delorie dot com> <201405271553 dot s4RFr9Q9016091 at greed dot delorie dot com> <5384BB33 dot 6020805 at redhat dot com> <201405272116 dot s4RLGMSW024512 at greed dot delorie dot com>
Applied.
* elf32-rx.c (rx_table_map): Delete set but not used variables.
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index e1856a9..469ba48 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -3801,8 +3801,6 @@ rx_table_map (struct bfd_hash_entry *vent, void *vinfo)
RX_Table_Info *info = (RX_Table_Info *)vinfo;
struct bfd_link_hash_entry *ent = (struct bfd_link_hash_entry *)vent;
const char *name; /* of the symbol we've found */
- asection *sec;
- struct bfd *abfd;
int idx;
const char *tname; /* name of the table */
bfd_vma start_addr, end_addr;
@@ -3817,8 +3815,6 @@ rx_table_map (struct bfd_hash_entry *vent, void *vinfo)
return TRUE;
name = ent->root.string;
- sec = ent->u.def.section;
- abfd = sec->owner;
if (strncmp (name, "$tablestart$", 12))
return TRUE;
--
Alan Modra
Australia Development Lab, IBM