diff options
author | Nick Clifton <nickc@redhat.com> | 2009-09-25 19:13:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-09-25 19:13:27 +0000 |
commit | 21d799b5c48956e71980143cb33035262984ed67 (patch) | |
tree | dbc66291451a9c7a4eb814c731c2bb247bba23b5 /gas/ChangeLog | |
parent | fa9efd0fbc3f388e06f8f893c168e8e612216230 (diff) | |
download | gdb-21d799b5c48956e71980143cb33035262984ed67.zip gdb-21d799b5c48956e71980143cb33035262984ed67.tar.gz gdb-21d799b5c48956e71980143cb33035262984ed67.tar.bz2 |
Update soruces to make alpha, arc and arm targets compile cleanly
with -Wc++-compat:
* config/tc-alpha.c: Add casts.
(extended_bfd_reloc_code_real_type): New type. Used to avoid
enumeration conversion warnings.
(struct alpha_fixup, void assemble_insn, assemble_insn)
(assemble_tokens): Use new type.
* ecoff.c: Add casts. (mark_stabs): Use enumeration names.
* config/obj-elf.c: Add cast
* config/tc-arc.c: Add casts.
* config/obj-aout.h (text_section,data_section,bss_section):
Make extern.
* config/obj-elf.c: Add cast.
* config/tc-arm.c: Add casts.
(X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
(cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
need for keywords as arguments.
* ecoff.c: Add casts.
* ecofflink.c: Add casts.
* elf64-alpha.c: Add casts.
(struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
to top level.
(SKIP_HOWTO): Use enum name.
* elf32-arm.c: Add casts.
(elf32_arm_vxworks_bed): Update code to avoid multiple
declarations.
(struct map_stub): Move to top level.
* arc-dis.c Fix casts.
* arc-ext.c: Add casts.
* arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
enum.
* emultempl/armelf.em: Add casts.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 55bc5a6..4183f56 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,9 +1,27 @@ +2009-09-25 Martin Thuresson <martint@google.com> + + Update soruces to make alpha, arc and arm targets compile cleanly + with -Wc++-compat: + * config/tc-alpha.c: Add casts. + (extended_bfd_reloc_code_real_type): New type. Used to avoid + enumeration conversion warnings. + (struct alpha_fixup, void assemble_insn, assemble_insn) + (assemble_tokens): Use new type. + * ecoff.c: Add casts. (mark_stabs): Use enumeration names. + * config/obj-elf.c: Add cast + * config/tc-arc.c: Add casts. + * config/obj-aout.h (text_section,data_section,bss_section): + Make extern. + * config/obj-elf.c: Add cast. + * config/tc-arm.c: Add casts. + (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE) + (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the + need for keywords as arguments. + 2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk> * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex - entries. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + entries2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead of vex256. |