]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
18 years ago bfd/
Kazu Hirata [Fri, 17 Nov 2006 14:21:51 +0000 (14:21 +0000)] 
bfd/
* elf32-m68k.c: Update uses of EF_M68K_*.

binutils/
* readelf.c: Update uses of EF_M68K_*.

gas/
* config/tc-m68k.c: Update uses of EF_M68K_*.

include/elf
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
EF_M68K_CF_FLOAT, respectively.

18 years ago gas/testuite/
Nathan Sidwell [Thu, 16 Nov 2006 12:46:53 +0000 (12:46 +0000)] 
gas/testuite/
* gas/m68k/all.exp: Add mcf-trap.
* gas/m68k/mcf-trap.[sd]: New.

opcodes/
* m68k-opc.c (m68k_opcodes): Place trap instructions before set
conditionals.  Add tpf coldfire instruction as alias for trapf.

18 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Thu, 16 Nov 2006 07:22:26 +0000 (07:22 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-11-16 07:22:25 UTC Nathan Sidwell <nathan@codesourcery.com> 'gas/':
    gas/testsuite/gas/m68k/mcf-trap.d
    gas/testsuite/gas/m68k/mcf-trap.s

18 years ago binutils/
Nathan Sidwell [Mon, 13 Nov 2006 09:59:52 +0000 (09:59 +0000)] 
binutils/
* Makefile.am (TOOL_PROGS): Set from @TOOL_PROGS@.
(install-exec-local): Protect against TOOL_PROGS being empty.
* configure.in (TOOL_PROGS): New, set it appropriately.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

18 years ago2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Wed, 8 Nov 2006 17:45:23 +0000 (17:45 +0000)] 
2006-11-08  Vladimir Prus  <vladimir@codesourcery.com>

        * pex-win32.c (no_suffixes): Remove.
        (std_suffixes): Add "" as first element.
        (find_executable): Remove detection of already-present
        extension. Try all suffixes in std_suffixes.

18 years ago2006-11-07 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Wed, 8 Nov 2006 10:25:05 +0000 (10:25 +0000)] 
2006-11-07  Vladimir Prus  <vladimir@codesourcery.com>

* testsuite/ld-elf/symbol2w.s: Use "%" instead
of "@" to avoid breakage on ARM.

18 years ago2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Mon, 6 Nov 2006 10:16:56 +0000 (10:16 +0000)] 
2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>

        ld/testsuite
        * ld-elf/symbol2ref.s: Use "dc.a" as opposed to ".long".

18 years ago ld/
Vladimir Prus [Sat, 4 Nov 2006 10:20:53 +0000 (10:20 +0000)] 
    ld/
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
        Don't prepend "warning" to the message.

        ld/testsuite
        * ld-elf/warn2.d: New.
        * ld-elf/symbol2w.s: New.
        * ld-elf/symbol2ref.s: New.

18 years ago gas/
Mark Shinwell [Tue, 31 Oct 2006 16:46:37 +0000 (16:46 +0000)] 
    gas/
        * config/tc-arm.c (do_t_czb): Rename to do_t_cbz.
        (insns): Adjust accordingly.
        (md_apply_fix): Alter comments to use CBZ instead of CZB.

18 years ago2006-10-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 30 Oct 2006 21:56:42 +0000 (21:56 +0000)] 
2006-10-30  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output
section is present.
(allocate_dynrelocs): Only add export stub for symbols definind in
this object.

18 years ago Merge fido bits:
Kazu Hirata [Mon, 30 Oct 2006 19:46:10 +0000 (19:46 +0000)] 
Merge fido bits:
2006-10-25  Kazu Hirata  <kazu@codesourcery.com>

gprof/
* hist.c, hist.h: Fix formatting.

gprof/
* Makefile.in (corefile.o): Depend on hist.h.
* corefile.c: Include hist.h.

2006-10-06  Vladimir Prus  <vladimir@codesourcery.com>

* hist.h (struct histogram)
(histograms, num_histograms): New.
* hist.c (find_histogram, find_histogram_for_pc)
(read_histogram_header): New.
(s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
(hist_sample): Remove.
(hist_read_rec): Use the above, and handle multiple
histogram records with disjoint address ranges.
(hist_write_hist): Support several histogram records.
(scale_and_align_entries): Adjust for multiple histograms.
(hist_assign_samples_1): New.
(hist_assign_samples): Use the above.
(hist_clip_symbol_address): New.
* hist.h (hist_check_address)
(hist_clip_symbol_address): Declare.
* gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
of legacy format for multiple histogram changes.
* corefile.c (find_call): Check for core_text_space and
clip symbol address range here.
* vax.c (vax_find_call): Don't check for
core_text_space, or clip the symbol's address range here.
Use hist_check_address to check call's target address.
* sparc.c: Likewise.
* tahoe.c: Likewise.
* i386.c: Likewise.
* mips.c: Likewise. Also use core_text_sect->vma as the base
address for code accesses, just like other machine-specific
routines do.

2006-08-03  Kazu Hirata  <kazu@codesourcery.com>

* gas/config/tc-m68k.c (archs): Add -mfido as an alias for
-mfido_a.

2006-06-23  Kazu Hirata  <kazu@codesourcery.com>

* gas/config/tc-m68k.c (cpu_of_arch): Replace fido with
fido_a.
(archs): Likewise.
(m68k_ip): Likewise.
(select_control_regs): Likewise.
(md_show_usage): Replace -mfido with -mfidoa.
* include/opcode/m68k.h (fido): Rename to fido_a.
* opcodes/m68k-opc.c (m68k_opcodes): Replace fido with fido_a.

2006-06-22  Kazu Hirata  <kazu@codesourcery.com>

* config.sub: Replace fido with fido.
* bfd/config.bfd: Likewise
* gas/configure.tgt: Likewise.
* gas/config/m68k-parse.h: Likewise.
* gas/config/tc-m68k.c: Likewise.
* gas/testsuite/gas/m68k/all.exp: Likewise.
* gas/testsuite/gas/m68k/fido.d: Rename to fido.d.
* gas/testsuite/gas/m68k/fido.s: Rename to fido.s.
* include/opcode/m68k.h: Replace fido with fido.
* ld/configure.tgt: Likewise.
* opcodes/m68k-dis.c: Likewise.
* opcodes/m68k-opc.c: Likewise.

2005-08-01  Kazu Hirata  <kazu@codesourcery.com>

* gas/config/m68k-parse.h (m68k_register): Add CAC and MBB.
* gas/config/tc-m68k.c (fido_control_regs): New.
(cpu_of_arch): Add fido.
(archs): Add an entry for fido.
(m68k_ip): Add warnings for uses of tbl[su]{n,}[bwl] on
fido.  Recognize CAC and MBB.
(init_tabl): Add CAC and MBB.
(select_control_regs): Choose fido as the current chip
when the current architecture is fido or when -mfido
is given explicitly.
* gas/testsuite/gas/m68k/all.exp: Disable operands, cas, and
bitfield on fido-*-*.  Run fido on fido-*-*.
* gas/testsuite/gas/m68k/fido.d: New.
* gas/testsuite/gas/m68k/fido.s: Likewise.
* include/opcode/m68k.h: Document new control registers CAC
and MBB.
* opcodes/m68k-dis.c (print_insn_arg): Add cac and mbb.
* opcodes/m68k-opc.c (m68k_opcodes): Add sleep and trapx.

2005-07-22  Kazu Hirata  <kazu@codesourcery.com>

* gas/config/tc-m68k.c (archs): Add fido as an OR of
cpu32 and fido.
(md_show_usage): Add -mfido.
* include/opcode/m68k.h (fido): New.

2005-07-11  Kazu Hirata  <kazu@codesourcery.com>

* config.sub: Recognize fido and fido-*.
* bfd/config.bfd: Likewise.
* gas/configure.tgt: Likewise.
* ld/configure.tgt: Likewise.

18 years ago2006-10-28 Paul Brook <paul@codesourcery.com>
Paul Brook [Sun, 29 Oct 2006 00:03:03 +0000 (00:03 +0000)] 
2006-10-28  Paul Brook  <paul@codesourcery.com>
Julian Brown  <julian@codesourcery.com>

bfd/
* elf32-arm.c (copy_eabi_attributes): Correct starting offset.
(elf32_arm_merge_eabi_attributes): Mark output as initialized.
Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute
is present.

18 years ago include/opcode/
Kazu Hirata [Sat, 28 Oct 2006 23:12:44 +0000 (23:12 +0000)] 
include/opcode/
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.

18 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 22:18:50 +0000 (22:18 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_neon_ext): Fix constraint.

18 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:44:34 +0000 (19:44 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_is_eabi): New function.
* config/tc-arm.h (arm_is_eabi): New prototype.
(THUMB_IS_FUNC): Use ELF function type for EABI objects.
* doc/c-arm.texi (.thumb_func): Update documentation.

18 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:41:54 +0000 (19:41 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

binutils/
* objdump.c (disassemble_section): Set info->symtab_pos.
(disassemble_data): Set info->symtab and info->symtab_size.

include/
* dis-asm.h (disassemble_info): Add symtab, symtab_pos and
symtab_size.

opcodes/
* arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
(get_sym_code_type): New function.
(print_insn): Search for mapping symbols.

18 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:41:14 +0000 (19:41 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
for EABIv4.

18 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:31:11 +0000 (19:31 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_neon_ext): Enforce immediate range.
(insns): Use I15 for vext.

gas/testsute/
* gas/arm/neon-cov.s: Add new vext test.
* gas/arm/neon-cov.d: Ditto.

18 years ago2006-10-25 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 25 Oct 2006 23:28:52 +0000 (23:28 +0000)] 
2006-10-25  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_vfp_sp_const, do_vfp_dp_const): Fix operans
encoding.

gas/testsuite/
* gas/arm/vfpv3-const-conv.s: Improve test coverage.
* gas/arm/vfpv3-const-conv.d: Adjust expected output.
* gas/arm/vfp-neon-syntax_t2.d: Ditto.
* gas/arm/vfp-neon-syntax.d: Ditto.

opcodes/
* arm-dis.c (coprocessor_opcodes): Fix bitfields for fconstd/fconstd.

18 years ago gas/
Mark Shinwell [Tue, 24 Oct 2006 14:06:25 +0000 (14:06 +0000)] 
    gas/
        * config/tc-arm.c (md_apply_fix): Turn CZB instructions that
        attempt to jump to the next instruction into NOPs.

18 years ago2006-10-19 Joseph S. Myers <joseph@codesourcery.com>
Joseph Myers [Thu, 19 Oct 2006 22:36:12 +0000 (22:36 +0000)] 
2006-10-19  Joseph S. Myers  <joseph@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

ld/
* configure.tgt (arm*linux*): Support both big- and little-endian.

18 years ago binutils/
Nathan Sidwell [Mon, 16 Oct 2006 20:21:25 +0000 (20:21 +0000)] 
binutils/
* Makefile.am: Rebuild dependencies.
(REPORT_BUGS_TO): Always defined.
(INCLUDES): Adjust.
* Makefile.in: Rebuilt.
* configure.in (REPORT_BUGS_TO): Provide default value.
* configure: Rebuilt.
* bucomm.h: Remove bin-bugs.h.
* addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
* coffdump.c (show_usage): Likewise.
* cxxfilt.c (usage): Likewise.
* nlmconv.c (show_usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* size.c (usage): Likewise.
* srconv.c (show_usage): Likewise.
* string.c (usage): Likewise.
* sysdymp.c (show_usage): Likewise.
* windres.c (usage): Likewise.
* readelf (usage): Likewise. Add STREAM argument.  Adjust callers.

gas/
* Makefile.am: Rebuild dependencies.
(REPORT_BUGS_TO): Always defined.
(INCLUDES): Adjust.
* Makefile.in: Rebuilt.
* configure.in (REPORT_BUGS_TO): Provide default value.
* configure: Rebuilt.
* as.c (show_usage): Don't print empty REPORT_BUGS_TO.
* as.h: Remove bin-bugs.h.

ld/
* Makefile.am: Rebuild dependencies.
(REPORT_BUGS_TO): Always defined.
(INCLUDES): Adjust.
* Makefile.in: Rebuilt.
* configure.in (REPORT_BUGS_TO): Provide default value.
* configure: Rebuilt.
* ld.h: Remove bin-bugs.h
* lexsup.c (help):  Don't print empty REPORT_BUGS_TO.

gprof/
* Makefile.am: Rebuild dependencies.
(REPORT_BUGS_TO): Always defined.
(PKGVERSION): Define.
(INCLUDES): Adjust.
* Makefile.in: Rebuilt.
* configure.in (REPORT_BUGS_TO): Provide default value.
* configure: Rebuilt.
* gprof.c (usage): Don't print empty REPORT_BUGS_TO.
* gprof.h: Remove bin-bugs.h

include/
* bin-bugs.h: Remove.

18 years ago bfd/
Mark Shinwell [Mon, 16 Oct 2006 13:09:20 +0000 (13:09 +0000)] 
    bfd/
        * elf32-arm.c (using_thumb2): Use TAG_CPU_* constants.

        include/
        * elf/arm.h: Define TAG_CPU_ARCH_* constants.

18 years ago gas/
Nathan Sidwell [Fri, 13 Oct 2006 07:39:34 +0000 (07:39 +0000)] 
gas/
* config/tc-m68k.c (m68k_ip):  Correct output of cpu aliases.

18 years ago ld/testsuite/ld-arm/
Vladimir Prus [Mon, 9 Oct 2006 11:53:53 +0000 (11:53 +0000)] 
ld/testsuite/ld-arm/
* use-thumb-lib.sym: Robustify, by ignoring symbols we're not
interested in and bucket number.

18 years ago ld/
Joseph Myers [Tue, 3 Oct 2006 22:55:01 +0000 (22:55 +0000)] 
ld/
* configure.tgt (i[3-7]86-*-linux-*): Also define
targ_extra_libpath in want64 case.
* emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
x86_64*-linux*.

18 years ago binutils/
Nathan Sidwell [Fri, 29 Sep 2006 12:25:31 +0000 (12:25 +0000)] 
binutils/
* ar.c (usage): Pass s to list_supported_targets.
* cxxfilt.c (usage): Print bug url when giving help.

18 years ago include/
Mark Shinwell [Thu, 28 Sep 2006 20:41:10 +0000 (20:41 +0000)] 
include/
* libiberty.h: Declare pex_run_in_environment.

libiberty/
* pex-common.c: New function pex_run_in_environment.
* pex-common.h: Add environment parameter to exec_child.
* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
(pex_djgpp_exec_child): Pass environment to child process.
* pex-unix.c: Add environment parameter to pex_unix_exec_child.
(pex_unix_exec_child): Pass environment to child process.
* pex-win32.c: Add environment parameter to pex_win32_exec_child.
New function env_compare for comparing VAR=VALUE pairs.
(win32_spawn): Assemble environment block and pass to CreateProcess.
(spawn_script): Pass environment through to win32_spawn.
(pex_win32_exec_child): Pass environment through to spawn_script and
win32_spawn.
* functions.texi: Regenerate.
* pexecute.txh: Document pex_run_in_environment.

18 years ago2006-09-19 Mark Shinwell <shinwell@codesourcery.com>
Joseph Myers [Tue, 19 Sep 2006 18:45:45 +0000 (18:45 +0000)] 
2006-09-19  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

bfd/
* archures.c: Add definition for bfd_mach_arm_iWMMXt2.
* cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
(arch_info_struct, bfd_arm_update_notes): Likewise.
(architectures): Likewise.
(bfd_arm_merge_machines): Check for iWMMXt2.
* bfd-in2.h: Rebuild.

gas/
* config/tc-arm.c (enum operand_parse_code): New code OP_RIWR_I32z.
(parse_operands): Handle OP_RIWR_I32z.
(do_iwmmxt_wmerge): New function.
(do_iwmmxt_wldstd): Handle iwmmxt2 case where second operand is
a register.
(do_iwmmxt_wrwrwr_or_imm5): New function.
(insns): Mark instructions as RIWR_I32z as appropriate.
Also add torvsc<b,h,w>, wabs<b,h,w>, wabsdiff<b,h,w>,
waddbhus<l,m>, waddhc, waddwc, waddsubhx, wavg4{r}, wmaddu{x,n},
wmadds{x,n}, wmerge, wmiaxy{n}, wmiawxy{n}, wmul<sm,um>{r},
wmulw<um,sm,l>{r}, wqmiaxy{n}, wqmulm{r}, wqmulwm{r}, wsubaddhx.
(md_begin): Handle IWMMXT2.
(arm_cpus): Add iwmmxt2.
(arm_extensions): Likewise.
(arm_archs): Likewise.

gas/testsuite/
* gas/arm/iwmmxt2.s: New file.
* gas/arm/iwmmxt2.d: New file.

opcodes/
* arm-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may
only be used with the default multiply-add operation, so if N is
set, don't bother printing X.  Add new iwmmxt instructions.
(IWMMXT_INSN_COUNT): Update.
(iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14
with a 'c' suffix.
(print_insn_coprocessor): Check for iWMMXt2.  Handle format
specifiers 'r', 'i'.

18 years ago2006-09-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 18 Sep 2006 18:29:57 +0000 (18:29 +0000)] 
2006-09-18  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (parse_immediate_maybe_bounded): Rename back...
(parse_immediate): ... to this.  Revert earlier changes.
(parse_immediate_bounded): Remove.
(parse_immediate_unbounded): Remove.
(parse_address_main): Revert earlier changes.
(parse_ror): Ditto.
(po_imm_unb_or_fail): Remove.
(neon_cmode_for_logic_imm): Try smaller element sizes.
(neon_cmode_for_move_imm): Ditto.
(do_neon_logic): Handle .i64 pseudo-op.

gas/testsuite/
* testsuite/gas/arm/neon-cov.s: Test pseudo-instruction forms of
vmov, vmvn and logic immediate instructions.
* testsuite/gas/arm/neon-cov.d: ditto.

18 years ago2006-09-16 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 16 Sep 2006 16:28:05 +0000 (16:28 +0000)] 
2006-09-16  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/unwind.s: Test two argument form of .movsp.
* gas/arm/unwind.d: Update expected output.
* gas/arm/unwind_vxworks.d: Ditto.

18 years ago2006-09-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Sep 2006 22:33:48 +0000 (22:33 +0000)] 
2006-09-14  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_arm_unwind_movsp): Add offset argument.
* doc/c-arm.texi (movsp): Document offset argument.

18 years ago2006-09-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Sep 2006 15:28:35 +0000 (15:28 +0000)] 
2006-09-14  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (thumb32_negate_data_op): Consistently use
unsigned int to avoid 64-bit host problems.

18 years ago gas/
Julian Brown [Thu, 14 Sep 2006 13:57:36 +0000 (13:57 +0000)] 
gas/
* config/tc-arm.c (parse_immediate): Add BOUNDED parameter, rename
to...
(parse_immediate_maybe_bounded): This. Only bounds-check if BOUNDED
is true.
(parse_immediate_bounded): New function, with same arguments and
semantics as previous parse_immediate.
(parse_immediate_unbounded): New function. Parse an unbounded
integer (with sizeof (exp.X_add_number)).
(parse_big_immediate): Allow for 64-bit exp.X_add_number when
parsing 64-bit immediates.
(parse_address_main): Use parse_immediate_bounded not
parse_immediate.
(parse_ror): Likewise.
(parse_operands): Likewise. For Neon immediates, use
parse_immediate_unbounded. Add new local po_imm_unb_or_fail macro.

18 years ago2006-09-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Sep 2006 02:23:01 +0000 (02:23 +0000)] 
2006-09-14  Paul Brook  <paul@codesourcery.com>

ld/
* Makefile.in: Regenerate.

18 years ago gas/
Nathan Sidwell [Mon, 11 Sep 2006 11:34:51 +0000 (11:34 +0000)] 
gas/
* config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New.
(m68k_cpus): Add 5210a & 5211a.

18 years ago bfd/
Nathan Sidwell [Mon, 11 Sep 2006 09:45:50 +0000 (09:45 +0000)] 
bfd/
* Makefile.am (VERSUFFIX_s): Remove.
(bfdver.h): Replace bfd_version_suffix with bfd_version_package.
* configure.in: Replace --with-versuffix with --with-pkgversion.
* version.h: Remove BFD_VERSION_SUFFIX. Update BFD_VERSION_STRING.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

binutils/
* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
(REPORT_BUGS_TO): ... this.
(INCLUDES): Update.
* Makefile.in: Rebuilt.

gas/
* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
(REPORT_BUGS_TO): ... this.
(INCLUDES, DEP_INCLUDES): Update.
* Makefile.in: Rebuilt.

gprof/
* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
(REPORT_BUGS_TO): ... this.
(VERSUFFIX_s): Remove.
(INCLUDES): Update.
* configure.in: Replace --with-versuffix with --with-pkgversion.
* gprof.c (main): Update version printing.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

ld/
* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
(REPORT_BUGS_TO): ... this.
(INCLUDES): Update.
* Makefile.in: Rebuilt.

18 years ago2006-09-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 8 Sep 2006 22:36:13 +0000 (22:36 +0000)] 
2006-09-08  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (object_arch): New variable.
(s_arm_object_arch): New function.
(md_pseudo_table): Add object_arch.
(aeabi_set_public_attributes): Obey object_arch.
* doc/c-arm.texi: Document .object_arch.

18 years agomissing changelog
Nathan Sidwell [Fri, 8 Sep 2006 20:45:56 +0000 (20:45 +0000)] 
missing changelog

18 years ago gas/testsuite/
Kazu Hirata [Fri, 8 Sep 2006 17:24:01 +0000 (17:24 +0000)] 
gas/testsuite/
Backport
2006-09-08  Kazu Hirata  <kazu@codesourcery.com>

* lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.

18 years ago * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
Nathan Sidwell [Fri, 8 Sep 2006 08:15:18 +0000 (08:15 +0000)] 
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
        quoting.
        * configure: Regenerated.

18 years ago2006-09-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 7 Sep 2006 20:02:45 +0000 (20:02 +0000)] 
2006-09-07  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores.

gas/testsuite/
* gas/arm/arm-it.s: New test.
* gas/arm/arm-it.d: New test.

18 years ago2006-09-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 6 Sep 2006 16:35:22 +0000 (16:35 +0000)] 
2006-09-06  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (parse_operands): Mark operand as present.

gas/testsuite/
* gas/arm/neon-omit.s: Test three-argument variants.
* gas/arm/neon-omit.d: Update expected output.

18 years ago gas/
Julian Brown [Tue, 5 Sep 2006 20:23:47 +0000 (20:23 +0000)] 
gas/
* config/tc-arm.c (parse_qfloat_immediate): Fix hex immediates,
handle 0.0 and -0.0 specially.

gas/testsuite/
* gas/arm/neon-const.s: Use FP syntax for 0/-0.
* gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1.

18 years ago2006-09-05 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Sep 2006 18:17:59 +0000 (18:17 +0000)] 
2006-09-05  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
and vacle.

gas/testsuite/
* gas/arm/neon-cov.d: Adjust expected output.
* gas/arm/neon-omit.s: Add tests for vcgt and vcle.  Reorder vacle
and vacle.
* gas/arm/neon-omit.d: Adjust expected output.

18 years ago2006-09-05 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Tue, 5 Sep 2006 16:25:48 +0000 (16:25 +0000)] 
2006-09-05  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Remove
unconditionall setting of low bit for Thumb symbol
mistakenly left behind after check for external
symbols was added.

ld/testsuite/
* ld-arm/use-thumb-lib.sym: Use regexps instead of
absolute addresses, for robustness.

18 years ago gas/
Julian Brown [Tue, 5 Sep 2006 14:24:01 +0000 (14:24 +0000)] 
gas/
* config/tc-arm.c (parse_qfloat_immediate): Disallow integer syntax for
floating-point immediates.

18 years ago2006-09-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 4 Sep 2006 15:55:36 +0000 (15:55 +0000)] 
2006-09-04  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_neon_dyadic_if_i): Remove.
(do_neon_dyadic_if_i_d): Avoid setting U bit.
(do_neon_mac_maybe_scalar): Ditto.
(do_neon_dyadic_narrow): Force operand type to NT_integer.
(insns): Remove out of date comments.

gas/testsuite/
* gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes.
* gas/arm/neon-cov.d: Adjust expected output.

opcodes/
* arm-dis.c (neon_opcode): Fix suffix on VMOVN.

18 years ago bfd/
Mark Shinwell [Fri, 1 Sep 2006 17:14:16 +0000 (17:14 +0000)] 
    bfd/
        * elf32-arm.c (elf32_arm_howto_table_1): Correct masks for
        R_ARM_THM_PC12 relocation.

18 years ago ld/testsuite/
Nathan Sidwell [Fri, 1 Sep 2006 09:25:14 +0000 (09:25 +0000)] 
ld/testsuite/
* ld-elf/loadaddr.s: Copy from mainline.

18 years ago bfd/
Mark Shinwell [Thu, 31 Aug 2006 14:59:52 +0000 (14:59 +0000)] 
    bfd/
        * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
        R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
        (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
        and R_ARM_THM_PC12 relocations.

18 years ago ld/testsuite/
Joseph Myers [Thu, 31 Aug 2006 13:21:22 +0000 (13:21 +0000)] 
ld/testsuite/
* ld-scripts/crossref.exp: XFAIL third test on mips*-*-linux*.

18 years ago bfd/
Mark Shinwell [Wed, 30 Aug 2006 17:39:17 +0000 (17:39 +0000)] 
    bfd/
        * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
        R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
        R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
        R_ARM_THM_MOVT_BREL relocations.

18 years agoAdd comment about my ldexp.c change
Nathan Sidwell [Tue, 29 Aug 2006 13:55:31 +0000 (13:55 +0000)] 
Add comment about my ldexp.c change

18 years ago * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
Nathan Sidwell [Tue, 29 Aug 2006 11:09:04 +0000 (11:09 +0000)] 
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.

18 years ago ld/
Nathan Sidwell [Tue, 29 Aug 2006 11:03:30 +0000 (11:03 +0000)] 
ld/
Backport 2006-08-28  Alan Modra  <amodra@bigpond.net.au>
* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
not match random object files in a path containing "crtbegin" or
"crtend" as part of a directory name.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/crisaout.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.

18 years ago ld/
Nathan Sidwell [Tue, 29 Aug 2006 10:57:16 +0000 (10:57 +0000)] 
ld/
* ldexp.c (fold_name): Loadaddrs of sections with an lma_region
are absolute.

ld/testsuite/
* ld-elf/loadaddr3.t: New.
* ld-elf/loadaddr3a.d: New.
* ld-elf/loadaddr3b.d: New.

18 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Tue, 29 Aug 2006 05:16:19 +0000 (05:16 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-08-29 05:16:18 UTC Alan Modra <amodra@gmail.com> 'Adjust target test.':
    ld/testsuite/ld-elf/loadaddr3.t
    ld/testsuite/ld-elf/loadaddr3a.d
    ld/testsuite/ld-elf/loadaddr3b.d

18 years ago bfd/
Mark Shinwell [Thu, 24 Aug 2006 14:49:52 +0000 (14:49 +0000)] 
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.

ld/testsuite/
* arm-elf.exp: Add thumb1-bl, thumb2-bl, thumb2-bl-as-thumb1-bad
and thumb2-bl-bad tests.
* thumb1-bl.d: New.
* thumb1-bl.s: New.
* thumb2-bl-as-thumb1-bad.d: New.
* thumb2-bl-as-thumb1-bad.s: New.
* thumb2-bl-bad.d: New.
* thumb2-bl-bad.s: New.
* thumb2-bl.d: New.
* thumb2-bl.s: New.

18 years ago bfd/
Mark Shinwell [Thu, 24 Aug 2006 14:46:50 +0000 (14:46 +0000)] 
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
(elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.

18 years agoMerge changes between binutils-csl-2_17-branchpoint and
Joseph Myers [Tue, 22 Aug 2006 15:08:47 +0000 (15:08 +0000)] 
Merge changes between binutils-csl-2_17-branchpoint and
binutils-2_17, except for the addition of generated files to CVS.

18 years ago bfd/
Mark Shinwell [Mon, 21 Aug 2006 09:53:55 +0000 (09:53 +0000)] 
bfd/
* elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
comment for target1_is_rel.

18 years ago gas/
Joseph Myers [Sat, 19 Aug 2006 16:27:35 +0000 (16:27 +0000)] 
gas/
* config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for
merging with previous long opcode.

gas/testsuite/
* gas/arm/unwind.s: Test not merging iWMMXt register save with
previous long opcode.
* gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Update.

18 years ago2006-08-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 18 Aug 2006 15:01:16 +0000 (15:01 +0000)] 
2006-08-18  Paul Brook  <paul@codesourcery.com>

Backport from mainline.
bfd/
* elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
(elf32_arm_link_hash_newfunc): Initialize export_glue.
(record_arm_to_thumb_glue): Return stub symbol.
(elf32_arm_create_thumb_stub): New function.
(elf32_arm_to_thumb_stub): Use it.
(elf32_arm_to_thumb_export_stub): New function.
(elf32_arm_begin_write_processing): New function.
(allocate_dynrelocs): Allocate Arm stubs.
(elf_backend_begin_write_processing): Define.
(elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
Call elf32_arm_begin_write_processing.

ld/
* emultempl/armelf.em (arm_elf_before_allocation): Call
gld${EMULATION_NAME}_before_allocation after setting interworking bfd.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
-use-blx to mixed-lib.so
* ld-arm/armthumb-lib.d: New file.
* ld-arm/armthumb-lib.sym: New file.

18 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Fri, 18 Aug 2006 15:00:19 +0000 (15:00 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-08-18 15:00:18 UTC Paul Brook <paul@codesourcery.com> '2006-08-18  Paul Brook  <paul@codesourcery.com>':
    ld/testsuite/ld-arm/armthumb-lib.d
    ld/testsuite/ld-arm/armthumb-lib.sym
    ld/testsuite/ld-elf/loadaddr.s

18 years ago libiberty/
Julian Brown [Fri, 18 Aug 2006 11:56:44 +0000 (11:56 +0000)] 
libiberty/
* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.

18 years ago * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as
Julian Brown [Fri, 18 Aug 2006 10:30:35 +0000 (10:30 +0000)] 
* arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as
signed on 64-bit hosts.

19 years ago gas/
Julian Brown [Wed, 16 Aug 2006 10:37:32 +0000 (10:37 +0000)] 
gas/
* config/tc-arm.c (md_assemble): Improve diagnostic when attempting
to use ARM instructions on non-ARM-supporting cores.
(autoselect_thumb_from_cpu_variant): New function. Switch on Thumb
mode automatically based on cpu variant.
(md_begin): Call above function.

gas/testsuite/
* gas/arm/noarm.s: Add test for disabled ARM insns.
* gas/arm/noarm.d: Drive test for above.
* gas/arm/noarm.l: Expected error output.

19 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Wed, 16 Aug 2006 10:32:41 +0000 (10:32 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-08-16 10:32:40 UTC Julian Brown <julian@codesourcery.com> ' * gas/arm/noarm.s: Add test for disabled ARM insns.':
    gas/testsuite/gas/arm/noarm.d
    gas/testsuite/gas/arm/noarm.l
    gas/testsuite/gas/arm/noarm.s
    ld/emultempl/mipself.em
    ld/testsuite/ld-mips-elf/hash1.s
    ld/testsuite/ld-mips-elf/hash1a.d
    ld/testsuite/ld-mips-elf/hash1b.d
    ld/testsuite/ld-mips-elf/hash1c.d

19 years ago * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
Julian Brown [Wed, 16 Aug 2006 10:04:14 +0000 (10:04 +0000)] 
* config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
recognized in non-unified syntax mode.

19 years agoCorrection to add missing "gas/" from previous ChangeLog.csl entry.
Mark Shinwell [Tue, 15 Aug 2006 10:53:53 +0000 (10:53 +0000)] 
Correction to add missing "gas/" from previous ChangeLog.csl entry.

19 years ago * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. Parse
Mark Shinwell [Tue, 15 Aug 2006 10:50:40 +0000 (10:50 +0000)] 
    * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New.  Parse
        a directive saving VFP registers for ARMv6 or later.
        (s_arm_unwind_save): Add parameter arch_v6 and call
        s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as
        appropriate.
        (md_pseudo_table): Add entry for new "vsave" directive.
        * doc/c-arm.texi: Correct error in example for "save"
        directive (fstmdf -> fstmdx).  Also document "vsave" directive.

19 years ago Backport from mainline.
Joseph Myers [Thu, 3 Aug 2006 16:23:01 +0000 (16:23 +0000)] 
Backport from mainline.

gas/
* config/tc-arm.c (parse_operands): Handle invalid register name
for OP_RIWR_RIWC.

gas/testsuite/
* gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and
wstrw.
* gas/arm/iwmmxt-bad.l: Update.

gas/
* config/tc-arm.c (enum operand_parse_code): Add OP_RIWC_RIWG.
(parse_operands): Handle it.
(insns): Use it for tmcr and tmrc.

gas/testsuite/
* gas/arm/iwmmxt.s: Test tmcr and tmrc with wcgr registers.
* gas/arm/iwmmxt.d: Update.

19 years ago2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Fri, 28 Jul 2006 17:26:04 +0000 (17:26 +0000)] 
2006-07-27  Carlos O'Donell  <carlos@codesourcery.com>

bfd/
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
and EF_MIPS_UCODE.

19 years ago bfd/
Nathan Sidwell [Wed, 26 Jul 2006 18:46:24 +0000 (18:46 +0000)] 
bfd/
* Makefile.am: (VERSUFFIX_s): New. Pass it to compiler
via -D.
* Makefile.in: Regenerated.
* configure: Regenerated.
* configure.in: Add --with-versuffix option.
* version.h: Add BFD_VERSION_SUFFIX, use it
in BFD_VERSION_STRING.

binutils/
* Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
via -D.
* Makefile.in: Regenerated.
* configure: Regenerated.
* configure.in: Add --with-bugurl option.

gas/
* Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
via -D.
* Makefile.in: Regenerated.
* configure: Regenerated.
* configure.in: Add --with-bugurl option.

gprof/
* Makefile.am: (VERSUFFIX_s, REPORT_BUGS_TO_s): New. Pass
them to compiler via -D.
* Makefile.in: Regenerated.
* configure: Regenerated.
* configure.in: Add --with-versuffix and --with-bugurl option.
* gprof.c: Print version suffix.

ld/
* Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
via -D.
* Makefile.in: Regenerated.
* configure: Regenerated.
* configure.in: Add --with-bugurl option.

19 years agoopcodes/
Richard Sandiford [Wed, 26 Jul 2006 11:56:21 +0000 (11:56 +0000)] 
opcodes/
* m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire
"fdaddl" entry.

gas/testsuite/
* gas/m68k/mcf-fpu.s: Add tests for all addressing modes.
* gas/m68k/mcf-fpu.d: Update accordingly.

19 years ago Backport from mainline.
Julian Brown [Thu, 20 Jul 2006 14:16:42 +0000 (14:16 +0000)] 
Backport from mainline.

opcodes/
* arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.

gas/testsuite/
* gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax.
* gas/arm/vfp-neon-syntax_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.

19 years ago2006-07-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Jul 2006 13:08:21 +0000 (13:08 +0000)] 
2006-07-19  Paul Brook  <paul@codesourcery.com>

Backport from mainline.
gas/
* config/tc-arm.c (insns): Fix rbit Arm opcode.
gas/testsuite/
* gas/arm/archv6t2.d: Adjust expected output for rbit.
opcodes/
* armd-dis.c (arm_opcodes): Fix rbit opcode.

19 years ago2006-07-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 18 Jul 2006 16:45:52 +0000 (16:45 +0000)] 
2006-07-18  Paul Brook  <paul@codesourcery.com>

Merge from mainline.
bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.

gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc.  Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.

gas/testsuite/
* gas/arm/thumb2_add.d: New test.
* gas/arm/thumb2_add.s: New test.

19 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Tue, 18 Jul 2006 16:44:48 +0000 (16:44 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-07-18 16:44:47 UTC Paul Brook <paul@codesourcery.com> '2006-07-18  Paul Brook  <paul@codesourcery.com>':
    gas/testsuite/gas/arm/thumb2_add.d
    gas/testsuite/gas/arm/thumb2_add.s

19 years agoForgot to add file for previous commit.
Mark Shinwell [Fri, 14 Jul 2006 13:47:13 +0000 (13:47 +0000)] 
Forgot to add file for previous commit.

19 years ago2006-07-14 Nathan Sidwell <nathan@codesourcery.com>
Mark Shinwell [Fri, 14 Jul 2006 13:39:07 +0000 (13:39 +0000)] 
2006-07-14  Nathan Sidwell  <nathan@codesourcery.com>

bfd/
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.

gas/
* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.

ld/
* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
(eshelf_uclinux.c): New target.
* Makefile.in: Rebuilt.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
* emulparams/shelf_uclinux.sh: New.

19 years agobfd/
Richard Sandiford [Wed, 12 Jul 2006 13:05:41 +0000 (13:05 +0000)] 
bfd/
2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>

* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.

ld/testsuite/
2006-07-12  Richard Sandiford  <richard@codesourcery.com>

* ld-m68k/merge-ok-1c.d: New test.
* ld-m68k/m68k.exp: Run it.

19 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Wed, 12 Jul 2006 12:47:02 +0000 (12:47 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-07-12 12:47:00 UTC Richard Sandiford <rdsandiford@googlemail.com> 'bfd/':
    ld/testsuite/ld-elf/eh1.d
    ld/testsuite/ld-elf/eh2.d
    ld/testsuite/ld-elf/eh3.d
    ld/testsuite/ld-m68k/merge-ok-1c.d

19 years agobinutils/testsuite/
Richard Sandiford [Sat, 24 Jun 2006 09:25:21 +0000 (09:25 +0000)] 
binutils/testsuite/
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
of readelf.

19 years agobinutils/
Richard Sandiford [Thu, 22 Jun 2006 15:44:18 +0000 (15:44 +0000)] 
binutils/
* objcopy.c (localize_hidden): New variable.
(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
(copy_options): Add --localize-hidden.
(copy_usage): Mention --localize-hidden.
(is_hidden_symbol): New function.
(filter_symbols): Handle localize_hidden.
(copy_object): Call filter_symbols if localize_hidden.
(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
* doc/binutils.texi (--localize-hidden): Document new option.

binutils/testsuite/
* binutils-all/localize-hidden-1.s,
* binutils-all/localize-hidden-1.d,
* binutils-all/localize-hidden-2.s,
* binutils-all/localize-hidden-2.d: New tests.
* binutils-all/objcopy.exp: Run them.

19 years ago Backport from mainline:
Richard Sandiford [Thu, 22 Jun 2006 15:40:14 +0000 (15:40 +0000)] 
Backport from mainline:

binutils/testsuite/
2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* lib/utils-lib.exp (run_dump_test): New.
(slurp_options): Likewise.
(regexp_diff): Likewise.
(file_contents): Likewise.
(verbose_eval): Likewise.

19 years agold/
Mark Shinwell [Wed, 21 Jun 2006 14:40:24 +0000 (14:40 +0000)] 
ld/
* ldlang.c (lang_insert_orphan): Correctly handle the case where
the section is to end up after the section currently at the end
of the list in output_bfd.

19 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Tue, 20 Jun 2006 13:55:00 +0000 (13:55 +0000)] 
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

19 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Mon, 19 Jun 2006 14:22:33 +0000 (14:22 +0000)] 
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

19 years agoSupport for ARM "group relocations" numbers 4, and 57 through 83.
Mark Shinwell [Thu, 15 Jun 2006 15:53:11 +0000 (15:53 +0000)] 
Support for ARM "group relocations" numbers 4, and 57 through 83.

* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
to R_ARM_LDC_SB_G{0,1,2} respectively.

bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
R_ARM_LDC_SB_G2): New relocation types.
(R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
and friends.
(elf32_arm_howto_table_3): Delete; contents merged into
elf32_arm_howto_table_2.
(elf32_arm_howto_from_type): Adjust correspondingly.
(elf32_arm_reloc_map): Extend with the above relocations.
(calculate_group_reloc_mask): New function.
(identify_add_or_sub): New function.
(elf32_arm_final_link_relocate): Support for the above
relocations.
* reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
codes to correspond to the above relocations.

gas/
* config/tc-arm.c (enum parse_operand_result): New.
(struct group_reloc_table_entry): New.
(enum group_reloc_type): New.
(group_reloc_table): New array.
(find_group_reloc_table_entry): New function.
(parse_shifter_operand_group_reloc): New function.
(parse_address_main): New function, incorporating code
from the old parse_address function.  To be used via...
(parse_address): wrapper for parse_address_main; and
(parse_address_group_reloc): new function, likewise.
(enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
OP_ADDRGLDRS, OP_ADDRGLDC.
(parse_operands): Support for these new operand codes.
New macro po_misc_or_fail_no_backtrack.
(encode_arm_cp_address): Preserve group relocations.
(insns): Modify to use the above operand codes where group
relocations are permitted.
(md_apply_fix): Handle the group relocations
ALU_PC_G0_NC through LDC_SB_G2.
(tc_gen_reloc): Likewise.
(arm_force_relocation): Leave group relocations for the linker.
(arm_fix_adjustable): Likewise.

gas/testsuite/
* gas/arm/group-reloc-alu.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.d: New test.
* gas/arm/group-reloc-alu-encoding-bad.l: New test.
* gas/arm/group-reloc-alu-encoding-bad.s: New test.
* gas/arm/group-reloc-alu-parsing-bad.d: New test.
* gas/arm/group-reloc-alu-parsing-bad.l: New test.
* gas/arm/group-reloc-alu-parsing-bad.s: New test.
* gas/arm/group-reloc-alu.s: New test.
* gas/arm/group-reloc-ldc.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.d: New test.
* gas/arm/group-reloc-ldc-encoding-bad.l: New test.
* gas/arm/group-reloc-ldc-encoding-bad.s: New test.
* gas/arm/group-reloc-ldc-parsing-bad.d: New test.
* gas/arm/group-reloc-ldc-parsing-bad.l: New test.
* gas/arm/group-reloc-ldc-parsing-bad.s: New test.
* gas/arm/group-reloc-ldc.s: New test.
* gas/arm/group-reloc-ldr.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.d: New test.
* gas/arm/group-reloc-ldr-encoding-bad.l: New test.
* gas/arm/group-reloc-ldr-encoding-bad.s: New test.
* gas/arm/group-reloc-ldr-parsing-bad.d: New test.
* gas/arm/group-reloc-ldr-parsing-bad.l: New test.
* gas/arm/group-reloc-ldr-parsing-bad.s: New test.
* gas/arm/group-reloc-ldr.s: New test.
* gas/arm/group-reloc-ldrs.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.d: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.l: New test.
* gas/arm/group-reloc-ldrs-encoding-bad.s: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.d: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.l: New test.
* gas/arm/group-reloc-ldrs-parsing-bad.s: New test.
* gas/arm/group-reloc-ldrs.s: New test.

ld/testsuite/
* ld-arm/group-relocs-alu-bad.d: New test.
* ld-arm/group-relocs-alu-bad.s: New test.
* ld-arm/group-relocs.d: New test.
* ld-arm/group-relocs-ldc-bad.d: New test.
* ld-arm/group-relocs-ldc-bad.s: New test.
* ld-arm/group-relocs-ldr-bad.d: New test.
* ld-arm/group-relocs-ldr-bad.s: New test.
* ld-arm/group-relocs-ldrs-bad.d: New test.
* ld-arm/group-relocs-ldrs-bad.s: New test.
* ld-arm/group-relocs.s: New test.
* ld-arm/arm-elf.exp: Wire in new tests.

19 years ago gas/
Julian Brown [Thu, 15 Jun 2006 15:25:02 +0000 (15:25 +0000)] 
gas/
* config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
(do_neon_ldr_str): Always defer to VFP encoding routines, which handle
relocs properly.

19 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Thu, 15 Jun 2006 11:03:03 +0000 (11:03 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-06-15 11:03:02 UTC Mark Shinwell <shinwell@codesourcery.com> ' * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}':
    gas/testsuite/gas/arm/group-reloc-alu-encoding-bad.d
    gas/testsuite/gas/arm/group-reloc-alu-encoding-bad.l
    gas/testsuite/gas/arm/group-reloc-alu-encoding-bad.s
    gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.d
    gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.l
    gas/testsuite/gas/arm/group-reloc-alu-parsing-bad.s
    gas/testsuite/gas/arm/group-reloc-alu.d
    gas/testsuite/gas/arm/group-reloc-alu.s
    gas/testsuite/gas/arm/group-reloc-ldc-encoding-bad.d
    gas/testsuite/gas/arm/group-reloc-ldc-encoding-bad.l
    gas/testsuite/gas/arm/group-reloc-ldc-encoding-bad.s
    gas/testsuite/gas/arm/group-reloc-ldc-parsing-bad.d
    gas/testsuite/gas/arm/group-reloc-ldc-parsing-bad.l
    gas/testsuite/gas/arm/group-reloc-ldc-parsing-bad.s
    gas/testsuite/gas/arm/group-reloc-ldc.d
    gas/testsuite/gas/arm/group-reloc-ldc.s
    gas/testsuite/gas/arm/group-reloc-ldr-encoding-bad.d
    gas/testsuite/gas/arm/group-reloc-ldr-encoding-bad.l
    gas/testsuite/gas/arm/group-reloc-ldr-encoding-bad.s
    gas/testsuite/gas/arm/group-reloc-ldr-parsing-bad.d
    gas/testsuite/gas/arm/group-reloc-ldr-parsing-bad.l
    gas/testsuite/gas/arm/group-reloc-ldr-parsing-bad.s
    gas/testsuite/gas/arm/group-reloc-ldr.d
    gas/testsuite/gas/arm/group-reloc-ldr.s
    gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d
    gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.l
    gas/testsuite/gas/arm/group-reloc-ldrs-encoding-bad.s
    gas/testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d
    gas/testsuite/gas/arm/group-reloc-ldrs-parsing-bad.l
    gas/testsuite/gas/arm/group-reloc-ldrs-parsing-bad.s
    gas/testsuite/gas/arm/group-reloc-ldrs.d
    gas/testsuite/gas/arm/group-reloc-ldrs.s
    gas/testsuite/gas/mips/vxworks1-el.d
    gas/testsuite/gas/mips/vxworks1-xgot-el.d
    gas/testsuite/gas/mips/vxworks1-xgot.d
    gas/testsuite/gas/mips/vxworks1.d
    ld/emulparams/elf32bfinfd.sh
    ld/testsuite/ld-arm/group-relocs-alu-bad.d
    ld/testsuite/ld-arm/group-relocs-alu-bad.s
    ld/testsuite/ld-arm/group-relocs-ldc-bad.d
    ld/testsuite/ld-arm/group-relocs-ldc-bad.s
    ld/testsuite/ld-arm/group-relocs-ldr-bad.d
    ld/testsuite/ld-arm/group-relocs-ldr-bad.s
    ld/testsuite/ld-arm/group-relocs-ldrs-bad.d
    ld/testsuite/ld-arm/group-relocs-ldrs-bad.s
    ld/testsuite/ld-arm/group-relocs.d
    ld/testsuite/ld-arm/group-relocs.s
    ld/testsuite/ld-elf/eh1.s
    ld/testsuite/ld-elf/eh1a.s
    ld/testsuite/ld-elf/eh2a.s
    ld/testsuite/ld-elf/eh3.s
    ld/testsuite/ld-elf/eh3a.s
    ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d
    ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d
    ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d
    ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d
    ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d
    ld/testsuite/ld-mips-elf/stub-dynsym-1.ld
    ld/testsuite/ld-mips-elf/stub-dynsym-1.s

19 years ago * elf.c (sym_is_global): Return a bfd_boolean.
Julian Brown [Thu, 25 May 2006 16:49:50 +0000 (16:49 +0000)] 
* elf.c (sym_is_global): Return a bfd_boolean.
(ignore_section_sym): New function.
(elf_map_symbols): Use ignore_section_sym to discard some syms.
(_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
bfd before using elf_section_syms.

19 years ago * gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.
Nathan Sidwell [Thu, 25 May 2006 13:12:42 +0000 (13:12 +0000)] 
* gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.
(m68k_cpus): Add 52230, 52233, 52234, 52235, 5224, 5225.

19 years ago2006-05-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 24 May 2006 17:14:53 +0000 (17:14 +0000)] 
2006-05-24  Paul Brook  <paul@codesourcery.com>

Backport from mainline.
* bfd/elf-bfd.h (elf_backend_data): Add
elf_backend_output_arch_local_syms
* bfd/elf32-arm.c (output_arch_syminfo): Define.
(elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
elf32_arm_output_arch_local_syms): New functions.
(elf_backend_output_arch_local_syms): Define.
* bfd/elflink.c (bfd_elf_final_link): Call
elf_backend_output_arch_local_syms.
* bfd/elfxx-target.h (elf_backend_output_arch_local_syms): Provide
default definition.
(elfNN_bed): Add elf_backend_output_arch_local_syms.
* ld/testsuite/ld-arm/arm-app-abs32.d: Update expected output.
* ld/testsuite/ld-arm/arm-app.d: Ditto.
* ld/testsuite/ld-arm/arm-lib-plt32.d: Ditto.
* ld/testsuite/ld-arm/arm-lib.d: Ditto.
* ld/testsuite/ld-arm/mixed-app-v5.d: Ditto.
* ld/testsuite/ld-arm/mixed-app.d: Ditto.
* ld/testsuite/ld-arm/mixed-lib.d: Ditto.

19 years ago2006-05-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 24 May 2006 16:24:56 +0000 (16:24 +0000)] 
2006-05-24  Paul Brook  <paul@codesourcery.com>

Backport form mainline.
* bfd/elf32-arm.c (put_arm_insn, put_thumb_insn): New functions.
(elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
elf32_arm_finish_dynamic_symbol): Use them.

19 years ago opcodes/
Richard Sandiford [Mon, 22 May 2006 11:58:46 +0000 (11:58 +0000)] 
opcodes/
* m68k-dis.c (m68k_scan_mask): Add missing return.

19 years ago * binutils/testsuite/binutils-all/objcopy.exp: Skip for uclinux
Nathan Sidwell [Sat, 20 May 2006 14:48:56 +0000 (14:48 +0000)] 
* binutils/testsuite/binutils-all/objcopy.exp: Skip for uclinux
targets.

19 years ago2006-05-15 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 15 May 2006 20:46:24 +0000 (20:46 +0000)] 
2006-05-15  Paul Brook  <paul@codesourcery.com>

Backport from mainline.
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
(bfd_is_arm_special_symbol_name): ... to this.  Add type argument.
Check symbol name is of specified type.
* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol,
arm_elf_find_function, elf32_arm_output_symbol_hook): Use
bfd_is_arm_special_symbol_name.
* bfd/bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
(bfd_is_arm_mapping_symbol_name): Remove prototype.
(bfd_is_arm_special_symbol_name): Add prototype.
* bfd/bfd-in2.h: Regenerate.
* gas/config/tc-arm.c (arm_adjust_symtab): Use
bfd_is_arm_special_symbol_name.
* ld/testsuite/ld-arm/arm-be8.d: New test.
* ld/testsuite/ld-arm/arm-be8.s: New test.
* ld/testsuite/ld-arm/arm-elf.exp: Add arm-be8.