diff options
author | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:42:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:42:17 +0000 |
commit | 91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch) | |
tree | 214507c313b77d619b52afcae2af0b02c9fa700b /gold/freebsd.h | |
parent | 01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff) | |
download | gdb-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.h | 8 |
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: |