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
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
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
Alan Modra
5dd0794dca
Branch hints for Pentium4 as insn modifiers, and some minor tweaks
...
to formatting.
2001-06-10 14:07:12 +00:00
H.J. Lu
39c0a33100
2001-06-08 H.J. Lu <hjl@gnu.org>
...
* config/tc-mips.c (warn_nops): New variable. Set to 0 to
disable warning about all NOPS that the assembler generates.
(macro): Warn NOPS generated only if warn_nops is not 0.
(md_shortopts): Add `n'.
(md_parse_option): Set warn_nops to 1 for `n'.
2001-06-09 05:24:39 +00:00
H.J. Lu
268f6bed84
2001-06-08 H.J. Lu <hjl@gnu.org>
...
* config/tc-mips.c (mips_ip): Properly handle illegal operands.
2001-06-09 05:01:29 +00:00
H.J. Lu
ea4ff978a2
2001-06-08 H.J. Lu <hjl@gnu.org>
...
* config/tc-mips.c (md_apply_fix): Don't adjust common
extern/weak symbols for ELF.
(md_estimate_size_before_relax): Treat weak like extern for
ELF.
(mips_fix_adjustable): Don't adjust extern/weak symbols for
ELF.
2001-06-09 03:28:04 +00:00
Alan Modra
98aa84af0e
* Makefile.am: 'som' is not wrongly spelled 'some'.
...
* Makefile.in: Regenerate.
* config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
S_GET_VALUE by using a temp.
(append_insn): Likewise, and for S_GET_VALUE too.
(mips_emit_delays): Likewise.
(my_getExpression): Likewise.
(md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
(mips16_extended_frag): Remove code concerned with avoiding
locking in a frag address now that symbols are not finalized until
relaxation is complete. Cater for first relaxation pass having
bogus addresses. Use relax_marker to reliably determine whether a
symbol frag has been reached on the current pass.
2001-06-08 06:07:13 +00:00
H.J. Lu
add565213d
2001-06-07 H.J. Lu <hjl@gnu.org>
...
* config/tc-mips.c (mips_pseudo_table): Add "extern" if
MIPS_STABS_ELF is defined.
2001-06-07 16:52:19 +00:00
Nick Clifton
879db8be1a
Remove warnings building z8k port.
...
Fix ld -r behaviour
2001-06-06 17:01:35 +00:00
Nick Clifton
98b3248268
correct some 68k/ColdFire problems
2001-06-06 14:28:00 +00:00
Alan Modra
d6767af842
* config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
...
BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
2001-06-06 12:06:56 +00:00
Alan Modra
cb9401fc47
* config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
...
<JumpByte, JumpDword insn output>: Remove dead code.
2001-06-06 10:23:39 +00:00
Tom Rix
41ea10b134
formatting change
2001-05-29 14:53:22 +00:00
Nick Clifton
0f2712edc9
Add support for .uahword, .uaword and .uaxword pseudo ops
2001-05-28 09:23:54 +00:00
Alan Modra
fbe572f93e
* config/tc-m68k.c (md_assemble): Ensure variable part of frag is
...
allocated in the same chunk as the fixed part.
2001-05-27 11:57:25 +00:00
Alan Modra
1cd55018a6
* config/obj-ieee.c (write_object_file): Set finalize_syms.
...
* config/obj-coff.c (write_object_file): Likewise.
* (size_section): Remove rs_space assert as fr_symbol is no longer
removed.
(fill_section): Likewise.
2001-05-25 09:40:12 +00:00
Alan Modra
b58c9faf2f
From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
...
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
that have been finalized.
2001-05-24 23:52:22 +00:00
Tom Rix
6877bb43e5
Fix for gas seg fault and neg line numbers
2001-05-24 21:39:09 +00:00
Nick Clifton
d1cf510e5e
Add MIPS r12k support
2001-05-23 17:26:40 +00:00
Alan Modra
2d0441d962
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
...
testing for NULs.
2001-05-22 11:03:35 +00:00
Alan Modra
6386f3a767
* symbols.c (resolve_symbol_value): Remove "finalize" param,
...
instead use finalize_syms directly. Don't treat expressions
specially with regard to finalize_syms. Update calls to self.
(resolve_local_symbol): Update call to resolve_symbol_value.
(S_GET_VALUE): Likewise. Return resolve_symbol_value if
!finalize_syms.
* symbols.h (resolve_symbol_value): Update prototype.
* config/obj-aout.c (obj_crawl_symbol_chain): Update call
to resolve_symbol_value.
* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
* config/obj-coff.c (do_relocs_for): Likewise.
(yank_symbols): Likewise.
(fixup_segment): Likewise.
* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
* config/tc-mips.c (md_convert_frag): Likewise.
* config/tc-ppc.c (ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Likewise.
* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
(dwarf2dbg_convert_frag): Likewise.
* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
(eh_frame_convert_frag): Likewise.
* expr.c (make_expr_symbol): Likewise.
* write.c (adjust_reloc_syms): Likewise.
(write_object_file): Likewise.
(relax_segment): Likewise.
(fixup_segment): Likewise.
(finalize_syms): Init to zero, and update comment.
(write_object_file): Set finalize_syms to 1 rather than 2.
* doc/internals.texi (sy_value): Mention finalize_syms.
(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
2001-05-22 10:23:50 +00:00
Alan Modra
c801568a3a
* config/tc-m68k.c (relaxable_symbol): Only treat external symbols
...
as relaxable if embedded system, make weak syms non-relaxable.
Move definition..
(tc_m68k_fix_adjustable): ..so it can be used here.
(md_apply_fix_2): Sign extend without conditional.
2001-05-22 09:01:55 +00:00
Alan Modra
507c8a1a57
Update copyright date.
2001-05-22 08:41:10 +00:00
Alexandre Oliva
7e8f410030
* config/tc-mn10300.c (mn10300_force_relocation): Don't
...
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.
2001-05-16 01:48:51 +00:00
Alan Modra
9fcc94b611
Fix dwarf2_emit_insn calls when frag_var breaks things.
...
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.
2001-05-16 01:08:21 +00:00
Alexandre Oliva
076dc439b8
* config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
...
before a relaxable insns.
2001-05-14 20:01:12 +00:00
Alexandre Oliva
4e75439ae5
* config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
...
between symbols if the base symbol is in the current section;
emit a PC-relative relocation instead.
2001-05-13 23:16:30 +00:00
Alan Modra
bcee8eb8ca
Peter Targett's backwards compatibility and other arc fixes.
2001-05-12 15:14:53 +00:00
Jakub Jelinek
579f31ac74
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
...
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.
* readelf.c (process_unwind): Print all unwind sections, not just
one.
* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.
* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
Nick Clifton
15f65ae412
When truncating an aligned block, ensure that the low order bits of the
...
alignment are preserved.
2001-05-11 10:01:41 +00:00
Alan Modra
606ab118ba
Fix more fallout from multi-pass relaxation patch.
2001-05-10 11:32:52 +00:00
Richard Henderson
1f23ade4f4
* config/tc-ia64.c (generate_unwind_image): Align the fragment
...
beginning a function's unwind info block.
2001-05-10 00:18:19 +00:00
Alexandre Oliva
96f37af640
* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
2001-05-09 13:32:01 +00:00
Andreas Schwab
8390138c6b
* config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
...
fx_pcrel_adjust explicitly sign extend when reading it.
2001-05-08 18:03:27 +00:00
Alan Modra
5c65dbc1ca
More fallout from 2001-03-30 changes.
...
* config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
from md_relax_table, and combine some switch cases.
2001-05-08 13:13:56 +00:00
Alexandre Oliva
a7c92daeed
* config/tc-mn10300.c (md_assemble): Subtract operand->shift
...
from offset in non-pcrel operands too.
2001-05-06 20:05:28 +00:00
Nick Clifton
d8708f403e
Do not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.
2001-05-06 10:11:33 +00:00
Alan Modra
3438adb37d
Warning fixes and configure/makefile tweaks by Thiemo Seufer.
2001-05-03 02:07:02 +00:00
Alan Modra
636c26b044
* config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
...
expressions rather than triggering an assert.
2001-05-03 01:08:44 +00:00
Nick Clifton
6e1e737c86
Fix indentation and parenthesis
2001-05-02 18:40:10 +00:00
Nick Clifton
c7e4034828
Add gas and ld support for openrisc
2001-05-02 18:14:31 +00:00
Nick Clifton
5cb1517bba
imprrove error message
2001-05-02 11:33:12 +00:00
H.J. Lu
f4ddc5e633
2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
...
* config/tc-mips.c (md_parse_option): Also accept
elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
2001-04-29 17:58:39 +00:00
H.J. Lu
fa7fda74e9
2001-04-27 David Mosberger <davidm@hpl.hp.com>
...
* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
argument passing order: predicate goes last, not first.
2001-04-27 20:42:55 +00:00
Nick Clifton
16a0c2d4ec
Add ability to pad code alignment frags with no-ops.
2001-04-26 15:19:21 +00:00
Nick Clifton
ea3b9044a6
Check to see if the filename symbol has been initialised before extracting
...
its symbol index.
2001-04-25 09:11:31 +00:00
Nick Clifton
6840198f93
z8k fixes
2001-04-24 15:22:25 +00:00