Nick Clifton
b8b80cf7d5
(s_iq2000_set): Fix thinko parsing ignored_arguments array.
2005-01-12 10:57:15 +00:00
H.J. Lu
324007b99e
2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
...
* write.c (write_object_file): Disallow a symbol equated to
common symbol.
2005-01-10 17:22:49 +00:00
Nick Clifton
5c4504f7c5
Add support for maxq10 and maxq20 machine values
2005-01-10 16:33:51 +00:00
Andreas Schwab
1ad119f112
* gas/i386/intel16.d: Ignore trailing text with #pass.
...
* gas/i386/intelok.d: Likewise.
* gas/i386/prefix.d: Likewise.
* gas/i386/sub.d: Likewise.
* gas/i386/padlock.d: Likewise.
* gas/i386/x86_64.d: Likewise.
2005-01-09 14:12:07 +00:00
Paul Brook
4e7fd91e3e
2005-01-06 Paul Brook <paul@codesourcery.com>
...
bfd/
* config.bfd: Add entry for arm-*-vxworks and arm-*-windiss.
* configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec.
* configure: Regenerate.
* elf32-arm.c: Add VxWorks target bfd.
(USE_REL): Remove.
(elf32_arm_link_hash_table): Add use_rel.
(elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate,
elf32_arm_relocate_section): Replace USE_REL with runtime check.
Correct offset calculation for RELA case.
(elf_backend_may_use_rel_p, elf_backend_may_use_rela_p,
elf_backend_default_use_rela_p, elf_backend_rela_normal): Define.
(elf32_arm_vxworks_link_hash_table_create): New function.
* targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration.
(bfd_elf32_littlearm_vxworks_vec): Ditto.
(_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec.
gas/
* config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
(md_begin): Handle TE_VXWORKS for FP defaults.
(md_apply_fix3): Correct rela offsets.
(elf32_arm_target_format): Add VxWorks targets.
ld/
* Makefie.am: Add earmelf_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make arm-*-vxworks a separate case.
* emulparams/armelf_vxworks.sh: New function.
2005-01-06 16:18:25 +00:00
Paul Brook
ea3eed1500
* configure.tgt: Set em=vxworks for *-*-vxworks.
...
* config/te-vxworks.h: New File.
2005-01-06 16:17:25 +00:00
Paul Brook
5dc1606f1e
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
2005-01-06 15:30:57 +00:00
Eric Botcazou
845e9b5108
* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].
2005-01-05 13:38:39 +00:00
Nick Clifton
18af0b39e6
(md_apply_fix3): Fix offset calculation for global label.
2005-01-04 10:20:36 +00:00
Jim Wilson
196e804018
Line number bug fix patch from David Mosberger.
...
* config/tc-ia64.c (md): Add member "loc_directive_seen".
(dot_loc): New function.
(md_pseudo_table): Add entry to map .loc to dot_loc().
(emit_one_bundle): Only call dwarf2_gen_line_info() if we have
seen a .loc directive or we're generating DWARF2 debug info for
assembly source.
2005-01-04 05:42:42 +00:00
Alan Modra
8d15ae7c1c
* gas/elf/elf.exp: Don't list reloc sections.
...
* gas/elf/section5.e: Remove reloc sections.
2004-12-30 22:41:31 +00:00
Alan Modra
a207757ebf
PR gas/619
...
* read.c (s_comm_internal): Don't zero end of name until size
expression has been parsed.
2004-12-29 10:21:58 +00:00
Marek Michalkiewicz
71d7ecf2b0
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
2004-12-25 20:34:24 +00:00
Tomer Levi
30c629226c
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
...
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
2004-12-23 13:50:36 +00:00
Ian Lance Taylor
14ee9f48f9
* configure.tgt: New.
...
* configure.in: Move setting of cpu_type, fmt, etc., to
configure.tgt.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/configure.tgt.
* configure, Makefile.in: Rebuild.
2004-12-22 15:29:25 +00:00
Nick Clifton
750bce0ee1
Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
...
LDI, ADIW/SBIW and LDD/STD instructions.
2004-12-22 14:25:42 +00:00
Tomer Levi
f4426611f2
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/beq_insn.d: Update reference file according to
disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
2004-12-21 16:26:54 +00:00
Tomer Levi
3975200a70
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/beq_insn.d: Update reference file according to disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
2004-12-21 16:25:05 +00:00
Hans-Peter Nilsson
7f1c66244c
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
...
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.
2004-12-21 13:09:55 +00:00
Nick Clifton
a904de94bd
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
2004-12-20 15:35:53 +00:00
Joern Rennecke
9d2be1eec8
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
...
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.
* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.
2004-12-17 12:47:44 +00:00
Joern Rennecke
7768d94ad6
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
...
* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.
2004-12-16 18:23:24 +00:00
Joern Rennecke
02292fc117
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
...
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.
2004-12-16 18:17:04 +00:00
Richard Sandiford
1e50d24d55
include/elf/
...
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.
bfd/
* reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type.
* elf32-v850.c (v850_elf_howto_table): Add entry for
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET.
(v850_elf_perform_lo16_relocation): New function, extracted from...
(v850_elf_perform_relocation): ...here. Use it to handle
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_check_relocs, v850_elf_final_link_relocate): Handle
R_V850_LO16_SPLIT_OFFSET.
* libbfd.h, bfd-in2.h: Regenerate.
gas/
* config/tc-v850.c (handle_lo16): New function.
(v850_reloc_prefix): Use it to check lo().
(md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
gas/testsuite/
* gas/v850/split-lo16.{s,d}: New test.
* gas/v850/v850.exp: Run it.
ld/testsuite/
* ld-v850: New directory.
2004-12-16 16:56:04 +00:00
Nick Clifton
2fbd2a87e2
Add support for s390x-ibm-tpf target
2004-12-16 16:02:59 +00:00
Jan Beulich
7a6d0b32af
gas/
...
2004-12-15 Jan Beulich <jbeulich@novell.com>
* config/obj-elf.c (obj_elf_change_section): Only set type and
attributes on new sections. Emit warning when type of re-declared
section doesn't match.
gas/testsuite/
2004-12-15 Jan Beulich <jbeulich@novell.com>
* gas/elf/section5.[els]: New.
2004-12-16 13:23:22 +00:00
Jan Beulich
5b9d23c67a
gas/
...
2004-12-15 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
'.cfi_startproc simple' doesn't inherit the old value.
2004-12-16 08:57:23 +00:00
Jan Beulich
dcb45a0623
gas/
...
2004-12-15 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
generation to emit a factored offset.
2004-12-16 08:53:43 +00:00
Richard Sandiford
c0d8293fa5
* gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different
...
.text alignments.
2004-12-13 13:02:10 +00:00
Alan Modra
5c799c0790
bfd/
...
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that
canonical sections syms have a name.
gas/testsuite/
Update for changed section syms.
ld/testsuite/
Update for changed section syms.
2004-12-11 04:32:37 +00:00
Ian Lance Taylor
6943caf048
* config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
...
which is too large in the case of NO_PIC without 64-bit
addresses.
2004-12-11 03:41:31 +00:00
Ian Lance Taylor
e8ede7c71c
* gas/mips/elf-rel23a.d: New test.
...
* gas/mips/elf-rel23b.d: New test.
* gas/mips/elf-rel25.s: New test.
* gas/mips/elf-rel25.d: New test.
* gas/mips/elf-rel25a.d: New test.
* gas/mips/mips.exp: Run new tests.
2004-12-10 19:48:42 +00:00
Ian Lance Taylor
aa6975fbb3
* config/tc-mips.c (mips_in_shared): New static variable.
...
(macro_build_lui): Permit "_gp" if !mips_in_shared.
(md_longopts): Add -mshared and -mno-shared.
(md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
(s_cpload): Implement !mips_in_shared case.
(s_cpsetup): Likewise.
* doc/c-mips.texi (MIPS Opts): Document -mno-shared.
* NEWS: Mention -mno-shared.
2004-12-10 19:48:21 +00:00
Paul Brook
be1b2b4b3b
* config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
...
for function start.
* testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
2004-12-09 20:25:24 +00:00
Ian Lance Taylor
dd22970fb5
* config/tc-mips.c (append_insn): If we emit a nop during a relax
...
sequence, increase the size of the sequence.
2004-12-09 15:51:32 +00:00
Ian Lance Taylor
42581a2496
* gas/mips/branch-swap.d: Pass -32 to as.
2004-12-09 15:44:17 +00:00
Ian Lance Taylor
9a92f48d3b
* config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
...
use CPU_RM9000.
2004-12-09 06:17:14 +00:00
Ben Elliston
b617dc20de
* read.c (s_align): Use an align_limit temporary to allay a GCC
...
signed/unsigned comparison warning.
2004-12-07 12:13:24 +00:00
Mark Mitchell
c820d41869
* Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
...
* configure.in: Use it for arm*-*-linux-gnueabi*.
* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
* config/te-armlinuxeabi.h: New file.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Regenerated.
2004-12-03 01:22:15 +00:00
Bob Wilson
2b0210eb40
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
...
(xtensa_restore_emit_state): Likewise.
2004-12-03 01:00:07 +00:00
Alan Modra
9ebd302d5e
* read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
...
(s_align): Use it.
2004-12-02 09:39:14 +00:00
Nick Clifton
3211808135
Change LOCALEDIR to $(datadir)/share.
2004-11-30 17:20:48 +00:00
Tomer Levi
4df39d6c81
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-29 16:31:22 +00:00
Tomer Levi
f75dc283c7
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-29 16:24:58 +00:00
Tomer Levi
023d1155e2
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
...
config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.
2004-11-29 16:23:10 +00:00
Tomer Levi
3f41471881
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
...
* config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
handling.
2004-11-29 16:21:50 +00:00
Nick Clifton
a7498ae6da
Fixed a pcrel relocte miss between different section in the same module.
2004-11-29 15:09:28 +00:00
Richard Earnshaw
907362e540
* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
...
of dump pattern.
2004-11-27 11:12:19 +00:00
Nick Clifton
5c54fd370e
Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.
2004-11-26 16:23:03 +00:00
H.J. Lu
b8e86bca4e
Really fix it.
2004-11-25 20:15:00 +00:00