diff options
author | Alan Modra <amodra@gmail.com> | 2014-04-09 07:03:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-04-09 14:30:38 +0930 |
commit | bf7279d5358c47b90b89c4b6b5f8be9960120be2 (patch) | |
tree | de2582ff6fbf713bb62fbecdb89359f28b05969f /gas/ChangeLog | |
parent | 62ebcb5cbedf0fdc0b5faaa05e46aa43ced2aa68 (diff) | |
download | gdb-bf7279d5358c47b90b89c4b6b5f8be9960120be2.zip gdb-bf7279d5358c47b90b89c4b6b5f8be9960120be2.tar.gz gdb-bf7279d5358c47b90b89c4b6b5f8be9960120be2.tar.bz2 |
ppc476 gas warn on data in code sections
* config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
New static vars.
(md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
(ppc_elf_cons_fix_check): New function.
(md_assemble): Set last_insn, last_seg, last_subseg.
(ppc_byte, md_apply_fix): Handle warn_476.
* config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
(ppc_elf_cons_fix_check): Declare.
* read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 36242a8..b6e2b84 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,17 @@ 2014-04-09 Alan Modra <amodra@gmail.com> + * config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg): + New static vars. + (md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround. + (ppc_elf_cons_fix_check): New function. + (md_assemble): Set last_insn, last_seg, last_subseg. + (ppc_byte, md_apply_fix): Handle warn_476. + * config/tc-ppc.h (TC_CONS_FIX_CHECK): Define. + (ppc_elf_cons_fix_check): Declare. + * read.c (cons_worker): Invoke TC_CONS_FIX_CHECK. + +2014-04-09 Alan Modra <amodra@gmail.com> + * gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter. * gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter. * gas/config/tc-arc.h (arc_cons_fix_new): Update prototype. |