John Healy
002de68b31
2001-07-06 John Healy <jhealy@redhat.com>
...
* cgen.c (gas_cgen_save_fixups): Modified to allow more than one
set of fixups to be stored.
(gas_cgen_restore_fixups): Modified to allow the fixup chain to be
restored to be chosen from any that are saved.
(gas_cgen_swap_fixups): Modified to allow the current set of
fixups to be swapped with any other set that has been saved.
(gas_cgen_initialize_saved_fixups_array): New routine.
* cgen.h: Modifed prototypes for gas_cgen_save_fixups,
gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
or MAX_SAVED_FIXUP_CHAINS.
* config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
store, swap and restore fuctions to reflect the new interface.
2001-07-06 19:09:23 +00:00
Nick Clifton
7099f9f917
Catch and ignore empty, ineffectual alignment frags when deciding if a
...
branch can be short.
2001-07-06 08:21:35 +00:00
Jim Wilson
557debbaef
32-bit unwind data for ia64-hpux, from Steve Ellcey
...
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
and SPECIAL_SECTION_FINI_ARRAY.
(special_section_name): Add .init_array and .fini_array.
(md_pseudo_table): Add init_array and fini_array.
(md): Add pointer_size and pointer_size_shift fields.
(setup_unwind_header): New static function.
(output_unw_records): Modify to use setup_unwind_header.
(generate_unwind_image, dot_endp): Modify to use md.pointer_size and
md.pointer_size_shift.
(md_begin): Initialize md.pointer_size and md.pointer_size_shift.
2001-07-06 07:32:42 +00:00
Alan Modra
7fb088be89
Oops, missed committing entry for 2001-07-05 change.
2001-07-06 02:02:42 +00:00
Ben Elliston
464bb47cc9
2001-07-05 Ben Elliston <bje@redhat.com>
...
* README (Supported platforms): m88k no longer suffers bitrot.
2001-07-05 11:28:57 +00:00
Ben Elliston
4ad0936356
2001-07-05 Ben Elliston <bje@redhat.com>
...
* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
2001-07-05 07:28:06 +00:00
Alan Modra
bd780143bd
* struc-symbol.h (struct local_symbol): Rename lsy_offset to
...
lsy_value. Correct typos in comments.
* symbols.c (local_symbol_make): Update for name change.
(local_symbol_convert): Likewise.
(colon): Likewise.
(S_GET_VALUE): Likewise.
(S_SET_VALUE): Likewise.
(print_symbol_value_1): Likewise.
(resolve_symbol_value): Likewise. Don't divide local sym values
by OCTETS_PER_BYTE twice.
2001-07-05 05:49:13 +00:00
Jim Wilson
87885043df
Fix ia64-linux gas ehopt testsuite failure.
...
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
2001-07-05 03:34:42 +00:00
Jim Wilson
3e37788f8d
Fix 2 ia64-linux gas testsuite failures.
...
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
sched branches.
2001-07-05 02:30:21 +00:00
Ben Elliston
2a1e2a6d6e
2001-07-05 Ben Elliston <bje@redhat.com>
...
* read.c (s_fill): Correct spelling error in comments.
2001-07-05 00:36:50 +00:00
Ben Elliston
81b0b3f175
2001-07-05 Ben Elliston <bje@redhat.com>
...
* doc/c-m88k.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi: Set M880X0.
* doc/as.texinfo: Hook in m88k-dependent documentation.
2001-07-05 00:25:28 +00:00
Eric Christopher
18ae5d728b
2001-07-04 Eric Christopher <echristo@redhat.com>
...
* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
* config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
and rm5721 as valid cpu strings.
(md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
2001-07-04 12:32:07 +00:00
Richard Sandiford
7461da6e23
[gas]
...
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
if it's expected to be non-zero.
[gas/testsuite]
* gas/mips/elf-rel3.s: Add zero word to end of file.
2001-07-04 09:49:29 +00:00
H.J. Lu
86a1548669
2001-07-03 H.J. Lu <hjl@gnu.org>
...
* gas/mips/lb-xgot-ilocks.d: Add -march=r3900.
2001-07-03 18:49:04 +00:00
Nick Clifton
7bcad3e505
Fix seg fault by replacing symbol_get_frag() with fscan->fx_frag.
2001-07-03 15:22:19 +00:00
Nick Clifton
8754881645
Fix mips16 testsuite failure by allowing finalize_syms to be set before
...
size_segs is called.
2001-07-03 15:04:19 +00:00
Alan Modra
99a814a1cc
* config/tc-ppc.c: Formatting fixes.
2001-07-02 10:54:49 +00:00
Ben Elliston
bd59b34f1e
2001-07-01 Ben Elliston <bje@redhat.com>
...
* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
they cause some subtle breakage. Will fix them again later.
2001-07-01 06:36:43 +00:00
Ben Elliston
551b1d8931
* fix tabs in this change:
...
2001-06-28 Eric Christopher <echristo@redhat.com>
H.J. Lu <hjl@gnu.org>
2001-07-01 06:32:07 +00:00
Ben Elliston
013468bc3c
2001-07-01 Ben Elliston <bje@redhat.com>
...
* gas/m88k/allinsn.s: New file.
* gas/m88k/allinsn.d: Likewise.
* gas/m88k/m88k.exp: Test with allinsn.s also.
2001-07-01 06:16:55 +00:00
Nick Clifton
e237d851a4
Treat a .ln directive outside of a function as a .appline directive.
2001-06-30 10:09:40 +00:00
Eric Christopher
ec68c924f0
2001-06-28 Eric Christopher <echristo@redhat.com>
...
H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_arch): New. Use mips_arch instead
of mips_cpu for the ISA selection.
(md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
(md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
(mips_tune): New. Use mips_tune for scheduling and optimization
issues.
(append_insn): Use mips_tune and mips_arch.
(macro_build): Ditto.
(mips_ip): Ditto.
(md_begin): Handle mips_arch, mips_tune and mips_cpu. For
backwards compatability mips_cpu generates arch and tune.
(md_show_usage): Document new behavior.
* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
Deprecate -mcpu.
* NEWS: Update.
2001-06-28 Eric Christopher <echristo@redhat.com>
* gas/mips/usd.d: Change for march/mtune.
* gas/mips/ulh-xgot.d: Ditto.
* gas/mips/uld.d: Ditto.
* gas/mips/trunc.d: Ditto.
* gas/mips/rol.d: Ditto.
* gas/mips/nodelay.d: Ditto.
* gas/mips/mul.d: Ditto.
* gas/mips/mul-ilocks.d: Ditto.
* gas/mips/trap20.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/lif-xgot.d: Ditto.
* gas/mips/lif-svr4pic.d: Ditto.
* gas/mips/ld-xgot.d: Ditto.
* gas/mips/ld-svr4pic.d: Ditto.
* gas/mips/ld-ilocks-addr32.d: Ditto.
* gas/mips/lb-xgot.d: Ditto.
* gas/mips/jal-xgot.d: Ditto.
* gas/mips/jal-svr4pic.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/lb-xgot-ilocks.d: Ditto.
* gas/mips/div.d: Ditto.
* gas/mips/break20.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/lineno.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips4010.d: Ditto.
* gas/mips/mips4650.d: Ditto.
2001-06-29 21:27:43 +00:00
Nick Clifton
38b87a1b80
Do not set finalize_syms until after the segments have been sized.
...
Some backends may still need to access the syms's frags in order to
adjust relaxed frags.
2001-06-27 08:49:42 +00:00
Nick Clifton
d827344236
Use MVN to build simple inverted constants.
2001-06-27 08:15:52 +00:00
Alan Modra
1a16aca4b4
* write.c (fixup_segment <Difference of 2 syms same seg>): Don't
...
subtract MD_PCREL_FROM_SECTION for 68k.
(fixup_segment <Difference of 2 syms different seg>): Only fudge
by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
2001-06-27 07:02:24 +00:00
Alan Modra
d48019e088
* write.c (fixup_segment <Difference of 2 syms same seg>): If
...
pcrel, subtract MD_PCREL_FROM_SECTION value.
2001-06-27 03:14:47 +00:00
Ben Elliston
37ffda1076
2001-06-24 Ben Elliston <bje@redhat.com>
...
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
2001-06-25 07:57:09 +00:00
Jakub Jelinek
6f112c47dc
* config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
...
section symbols the same way as externs.
2001-06-24 16:43:31 +00:00
Ben Elliston
453520d7ad
2001-06-24 Ben Elliston <bje@redhat.com>
...
* config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
(emit_relocations): Ditto.
(s_bss): Ditto.
(md_begin): Reformat comments to conform to the GNU standards.
(md_assemble): Ditto.
2001-06-24 06:01:49 +00:00
Ben Elliston
e21e484e83
* fixes to silence all compiler warnings.
...
2001-06-24 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
(md_parse_option): Mark parameters as unused.
(md_show_usage): Ditto.
(calcop): Adjust type of `reg_prefix' to char.
(get_reg): Ditto.
(getval): Adjust type of local `c' to char.
(md_create_short_jump): Mark from_addr, to_addr params as unused.
(md_create_long_jump): Ditto.
(md_estimate_size_before_relax): Mark parameters as unused.
2001-06-24 01:56:48 +00:00
Ben Elliston
a181d81e0c
2001-06-24 Ben Elliston <bje@redhat.com>
...
* config/tc-m88k.c (md_pseudo_table): Properly terminate the table
to allay a possible compiler warning.
2001-06-23 23:02:57 +00:00
Nick Clifton
dd9b19ab40
Document md_atof
2001-06-22 09:32:09 +00:00
Nick Clifton
8be31359fc
Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
...
64 bit architecture.
2001-06-22 08:17:57 +00:00
Nick Clifton
1cac90122e
Allow adrCCl. [Patch from Phillip BLundel]
...
Updated ARM tests.
2001-06-21 19:46:54 +00:00
Alan Modra
b091f402a9
* config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
...
(md_apply_fix): Use it here. Replace printf with equivalent
as_bad_where.
(tc_gen_reloc): Use as_bad_where instead of as_bad.
(md_apply_fix): Here too.
* config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
* config/tc-m68k.c (tc_gen_reloc): Likewise.
(md_convert_frag_1): Likewise.
2001-06-21 06:12:11 +00:00
Tom Rix
1ad63b2f00
Fix for problem with default alignment of .comm
2001-06-20 13:34:10 +00:00
Nick Clifton
b99bd4efbd
Restore file accidentally deleted during man page cleanup
2001-06-19 16:26:43 +00:00
Nick Clifton
c45021f2d2
Remove auot generated man pages
2001-06-19 11:57:29 +00:00
Phil Blundell
2172d73b21
2001-06-18 Philip Blundell <philb@gnu.org>
...
* config/tc-arm.c (do_msr): Remove restriction on usage of
immediate operands.
2001-06-19 07:33:21 +00:00
Alan Modra
45c500fa3e
* dwarf2dbg.c (dwarf2_finish): Output file info even when no
...
line info.
2001-06-19 05:40:55 +00:00
Phil Blundell
0b317b0807
2001-06-13 Philip Blundell <philb@gnu.org>
...
* config/tc-arm.c (thumb_shift): Improve wording of error message.
(do_t_arit): Likewise.
2001-06-14 07:58:12 +00:00
Nick Clifton
2bc0a1288f
Stop sh-coff port from trying to call dwarf2 debug functions
2001-06-13 16:46:05 +00:00
Andreas Jaeger
74b5b66abe
* gas/vtable/vtable.exp (run_list_test): Don't run on sparc64.
2001-06-13 13:42:42 +00:00
Nick Clifton
07a7a14553
Fix typo in comment
2001-06-13 11:29:53 +00:00
Nick Clifton
542bf900ba
Regernate after recent change to as.texinfo
2001-06-13 11:26:37 +00:00
Nick Clifton
b131d4dca6
Document use of comparison operators as infix operators
2001-06-12 15:56:04 +00:00
Nick Clifton
e1f44d1052
Fix m68k/mri mode problems.
2001-06-12 10:35:24 +00:00
Nick Clifton
3971ce954f
fix test for overlflow of literal pool
2001-06-12 08:27:53 +00:00
Alan Modra
de8b1efeaa
* gas/i386/x86_64.d: Update for 2001-06-11 disassembler change.
2001-06-12 02:03:10 +00:00
H.J. Lu
63486801dd
2001-06-11 H.J. Lu <hjl@gnu.org>
...
* NEWS: Updated for the new -n option for the MIPS assembler.
* config/tc-mips.c (md_show_usage): Add -n.
* doc/as.texinfo: Document the new -n option.
* doc/c-mips.texi: Likewise.
* doc/as.1: Regenerated.
2001-06-11 20:40:36 +00:00