aboutsummaryrefslogtreecommitdiff
path: root/gold/freebsd.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
committerNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
commit91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch)
tree214507c313b77d619b52afcae2af0b02c9fa700b /gold/freebsd.h
parent01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff)
downloadgdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.zip
gdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.gz
gdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.bz2
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
Diffstat (limited to 'gold/freebsd.h')
-rw-r--r--gold/freebsd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/freebsd.h b/gold/freebsd.h
index de69735..9dbebe7 100644
--- a/gold/freebsd.h
+++ b/gold/freebsd.h
@@ -87,11 +87,11 @@ Target_freebsd<size, big_endian>::do_adjust_elf_header(unsigned char* view,
class Target_selector_freebsd : public Target_selector
{
public:
- Target_selector_freebsd(int machine, int size, bool is_big_endian,
- const char* bfd_name,
+ Target_selector_freebsd(int amachine, int size, bool is_big_end,
+ const char* bfdname,
const char* freebsd_bfd_name)
- : Target_selector(machine, size, is_big_endian, NULL),
- bfd_name_(bfd_name), freebsd_bfd_name_(freebsd_bfd_name)
+ : Target_selector(amachine, size, is_big_end, NULL),
+ bfd_name_(bfdname), freebsd_bfd_name_(freebsd_bfd_name)
{ }
protected: