OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago2006-05-22 Steve Ellcey <sje@cup.hp.com>
Steve Ellcey [Mon, 22 May 2006 15:30:13 +0000 (15:30 +0000)]
2006-05-22  Steve Ellcey  <sje@cup.hp.com>

* MAINTAINERS: Change intl updating instructions.
* config.rpath: Copy from GCC tree.
* intl: Replace contents of intl directory with intl from GCC tree.

18 years agobfd/
Daniel Jacobowitz [Mon, 22 May 2006 15:06:23 +0000 (15:06 +0000)]
bfd/
* elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
check.
(bfd_elf_final_link): Add a late DT_TEXTREL check.
* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
(mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
(_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
Use MIPS_ELF_READONLY_SECTION.
(_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
creating DT_TEXTREL.
(_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
if no text relocations were generated.
ld/testsuite/
* ld-mips-elf/textrel-1.d: Relax some patterns.

18 years ago * po/ru.po: Updated translation.
Daniel Jacobowitz [Mon, 22 May 2006 15:02:35 +0000 (15:02 +0000)]
* po/ru.po: Updated translation.

18 years ago* iq2000.cpu: Fix include paths for iq2000m.cpu and iq10.cpu.
Nick Clifton [Mon, 22 May 2006 09:07:20 +0000 (09:07 +0000)]
* iq2000.cpu: Fix include paths for iq2000m.cpu and iq10.cpu.

18 years ago* gas/mips/mips32-dsp.l: Fix expected unsigned decoding of -1 in warning messages.
Nick Clifton [Mon, 22 May 2006 08:58:08 +0000 (08:58 +0000)]
* gas/mips/mips32-dsp.l: Fix expected unsigned decoding of -1 in warning messages.
* gas/mips/mips32-mt.l: Likewise.

18 years ago* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
Nick Clifton [Mon, 22 May 2006 08:49:33 +0000 (08:49 +0000)]
* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.

18 years agofix typo
Nick Clifton [Mon, 22 May 2006 08:45:46 +0000 (08:45 +0000)]
fix typo

18 years ago* ld-eld/start.s (start): Add this symbol for SH targets.
Nick Clifton [Mon, 22 May 2006 08:45:18 +0000 (08:45 +0000)]
* ld-eld/start.s (start): Add this symbol for SH targets.
  (main): Add this symbol for HPPA targets.

18 years ago* crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.
Nick Clifton [Mon, 22 May 2006 08:40:09 +0000 (08:40 +0000)]
* crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.

18 years agoUpdated Dutch translation
Nick Clifton [Mon, 22 May 2006 08:33:35 +0000 (08:33 +0000)]
Updated Dutch translation

18 years agoRemove ChangeLog entries, since the template files were already up to date.
Nick Clifton [Mon, 22 May 2006 08:30:57 +0000 (08:30 +0000)]
Remove ChangeLog entries, since the template files were already up to date.

18 years agoUpdate translation templates
Nick Clifton [Mon, 22 May 2006 08:25:15 +0000 (08:25 +0000)]
Update translation templates

18 years agodaily update
Alan Modra [Mon, 22 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 21 May 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 20 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * gas/mips/vxworks1-el.d, gas/mips/vxworks1-xgot-el.d: Add little
Thiemo Seufer [Fri, 19 May 2006 22:48:13 +0000 (22:48 +0000)]
* gas/mips/vxworks1-el.d, gas/mips/vxworks1-xgot-el.d: Add little
endian testcases.
* gas/mips/vxworks1.d, gas/mips/vxworks1-xgot.d: Build as big endian.
* gas/mips/mips.exp: Run new testcases.

18 years ago2006-05-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 19 May 2006 14:08:02 +0000 (14:08 +0000)]
2006-05-19  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (ELF_MAXPAGESIZE): Fix a typo in comment.

18 years ago * doc/Makefile.in: Regenerated.
Andreas Schwab [Fri, 19 May 2006 13:11:58 +0000 (13:11 +0000)]
* doc/Makefile.in: Regenerated.

18 years ago * doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
Andreas Schwab [Fri, 19 May 2006 13:10:58 +0000 (13:10 +0000)]
* doc/Makefile.am (addr2line.1): Depend on $(binutils_TEXINFOS).
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Likewise.
* doc/Makefile.in: Regenerated.

18 years ago * config/tc-mipc.c (ISA_HAS_ODD_SINGLE_FPR): New define.
Thiemo Seufer [Fri, 19 May 2006 13:03:06 +0000 (13:03 +0000)]
* config/tc-mipc.c (ISA_HAS_ODD_SINGLE_FPR): New define.
(mips_oddfpreg_ok): New function.
(mips_ip): Use it.
-------------------------------------------------------------------

18 years ago * config/tc-mips.h (tc_mips_regname_to_dw2regnum): Declare.
Thiemo Seufer [Fri, 19 May 2006 12:34:09 +0000 (12:34 +0000)]
* config/tc-mips.h (tc_mips_regname_to_dw2regnum): Declare.
* config/tc-mipc.c (ABI_NEEDS_64BIT_REGS, ISA_HAS_64BIT_REGS,
ISA_HAS_DROR, ISA_HAS_ROR): Reformat.
(regname, RTYPE_MASK, RTYPE_NUM, RTYPE_FPU, RTYPE_FCC, RTYPE_VEC,
RTYPE_GP, RTYPE_CP0, RTYPE_PC, RTYPE_ACC, RTYPE_CCC, RNUM_MASK,
RWARN, GENERIC_REGISTER_NUMBERS, FPU_REGISTER_NAMES,
FPU_CONDITION_CODE_NAMES, COPROC_CONDITION_CODE_NAMES,
N32N64_SYMBOLIC_REGISTER_NAMES, O32_SYMBOLIC_REGISTER_NAMES,
SYMBOLIC_REGISTER_NAMES, MIPS16_SPECIAL_REGISTER_NAMES,
MDMX_VECTOR_REGISTER_NAMES, MIPS_DSP_ACCUMULATOR_NAMES, reg_names,
reg_names_o32, reg_names_n32n64): Define register classes.
(reg_lookup): New function, use register classes.
(md_begin): Reserve register names in the symbol table. Simplify
OBJ_ELF defines.
(mips_ip): Fix comment formatting. Handle symbolic COP0 registers.
Use reg_lookup.
(mips16_ip): Use reg_lookup.
(tc_get_register): Likewise.
(tc_mips_regname_to_dw2regnum): New function.
-------------------------------------------------------------------

18 years ago * ld-scripts/empty-orphan.d: Update again.
Alan Modra [Fri, 19 May 2006 11:50:31 +0000 (11:50 +0000)]
* ld-scripts/empty-orphan.d: Update again.

18 years ago * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum):
Thiemo Seufer [Fri, 19 May 2006 11:26:11 +0000 (11:26 +0000)]
* config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum):
Un-constify string argument.
* config/tc-i386.c, config/tc-i386.h (tc_x86_regname_to_dw2regnum):
Likewise.
* config/tc-m68k.c, config/tc-m68k.h (tc_m68k_regname_to_dw2regnum):
Likewise.
* config/tc-ppc.c, config/tc-ppc.h (tc_ppc_regname_to_dw2regnum):
Likewise.
* config/tc-s390.c, config/tc-s390.h (tc_s390_regname_to_dw2regnum):
Likewise.
* config/tc-sh.c, config/tc-sh.h (sh_regname_to_dw2regnum):
Likewise.
* config/tc-sparc.c, config/tc-sparc.h (sparc_regname_to_dw2regnum):
Likewise.
-------------------------------------------------------------------

18 years ago * gas/config/tc-m68k.c (m68k_init_arch): Move checking of
Nathan Sidwell [Fri, 19 May 2006 10:18:02 +0000 (10:18 +0000)]
* gas/config/tc-m68k.c (m68k_init_arch): Move checking of
cfloat/m68881 to correct architecture before using it.

18 years ago * ld-scripts/empty-orphan.t: Discard .reginfo.
Alan Modra [Fri, 19 May 2006 06:10:03 +0000 (06:10 +0000)]
* ld-scripts/empty-orphan.t: Discard .reginfo.
* ld-scripts/empty-orphan.d: Update.

18 years ago * ldlang.c (lang_size_sections_1): Don't check mem regions for
Alan Modra [Fri, 19 May 2006 06:09:31 +0000 (06:09 +0000)]
* ldlang.c (lang_size_sections_1): Don't check mem regions for
os->ignored sections.

18 years ago * elf.c (elf_fake_sections): Formatting.
Alan Modra [Fri, 19 May 2006 00:51:28 +0000 (00:51 +0000)]
* elf.c (elf_fake_sections): Formatting.
(assign_file_positions_for_load_sections): Only add SEC_ALLOC
sections to p_memsz.  Remove hack for PT_NOTE sections.  Allow
section alignment to increase p_align for PT_LOAD.
(assign_file_positions_for_non_load_sections): Remove ARM BPABI
hack for PT_DYNAMIC.  Instead, set p_filesz for all segments
other than PT_LOAD, and PT_NOTE in core.

18 years agodaily update
Alan Modra [Fri, 19 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Thu, 18 May 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago * avr-dis.c: Formatting fix.
Alan Modra [Wed, 17 May 2006 23:44:58 +0000 (23:44 +0000)]
* avr-dis.c: Formatting fix.

18 years ago2006-05-17 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Wed, 17 May 2006 21:40:44 +0000 (21:40 +0000)]
2006-05-17  Carlos O'Donell  <carlos@codesourcery.com>

* doc/binutils.texi: Use "Binutils Index" for index name.

18 years ago * src-release (MAKEINFOFLAGS): Define.
Daniel Jacobowitz [Wed, 17 May 2006 19:09:52 +0000 (19:09 +0000)]
* src-release (MAKEINFOFLAGS): Define.
(do-proto-toplev): Pass MAKEINFOFLAGS to submakes.

18 years ago * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
Daniel Jacobowitz [Wed, 17 May 2006 16:46:54 +0000 (16:46 +0000)]
* ldlang.c (lang_size_sections): Call lang_reset_memory_regions
before redoing one_lang_size_sections_pass.

18 years agoFix a typo.
Daniel Jacobowitz [Wed, 17 May 2006 14:57:33 +0000 (14:57 +0000)]
Fix a typo.

18 years ago * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Thiemo Seufer [Wed, 17 May 2006 11:30:24 +0000 (11:30 +0000)]
* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Add __start as entry symbol.

18 years ago * elf.c (assign_file_positions_for_segments): Split into..
Alan Modra [Wed, 17 May 2006 05:09:24 +0000 (05:09 +0000)]
* elf.c (assign_file_positions_for_segments): Split into..
(assign_file_positions_for_load_sections): ..this, and..
(assign_file_positions_for_non_load_sections): ..this new function,..
(assign_file_positions_except_relocs): ..writing program headers here.

18 years ago * elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
Alan Modra [Wed, 17 May 2006 00:36:30 +0000 (00:36 +0000)]
* elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
non-load sections if they have relocs.

18 years agodaily update
Alan Modra [Wed, 17 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * ld-elf/orphan.ld: Add placement for MIPS .reginfo section.
Thiemo Seufer [Tue, 16 May 2006 13:58:51 +0000 (13:58 +0000)]
* ld-elf/orphan.ld: Add placement for MIPS .reginfo section.

18 years ago* config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate constant values.
Nick Clifton [Tue, 16 May 2006 08:23:43 +0000 (08:23 +0000)]
* config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate constant values.

18 years agodaily update
Alan Modra [Tue, 16 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

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

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.
* 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-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-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-arm/arm-be8.s: New test.
* ld-arm/arm-elf.exp: Add arm-be8.

18 years agobfd:
Bob Wilson [Mon, 15 May 2006 17:03:15 +0000 (17:03 +0000)]
bfd:
        * elf32-xtensa.c (check_loop_aligned): Fix reversed check for
        undefined opcode.  Clean up assertions.
        (narrow_instruction, widen_instruction): Remove "do_it" parameters.
        Factor most of the code into separate functions....
        (can_narrow_instruction, can_widen_instruction): New.
        (prev_instr_is_a_loop): New.
        (compute_ebb_proposed_actions): Combine error handling code for
        decode errors.  Replace call to insn_decode_len with inline code.
        Use can_narrow_instruction and can_widen_instruction.  Handle errors
        from call to xtensa_opcode_is_loop.
        (relax_section): Adjust calls to narrow_instruction and
        widen_instruction.
gas:
        * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next,
        xg_assemble_vliw_tokens, xtensa_mark_narrow_branches,
        xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed):
        Handle errors from calls to xtensa_opcode_is_* functions.

18 years ago2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 15 May 2006 14:50:38 +0000 (14:50 +0000)]
2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf.c (display_debug_frames): Don't return on ZERO
terminator.

18 years ago PR 2658
Alan Modra [Mon, 15 May 2006 02:22:20 +0000 (02:22 +0000)]
PR 2658
* elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
-shared link.

18 years ago2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 15 May 2006 00:48:44 +0000 (00:48 +0000)]
2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/stab.d: Skip ia64-*-*.

18 years agodaily update
Alan Modra [Mon, 15 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Sun, 14 May 2006 15:35:22 +0000 (15:35 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Test for currently active
mips16 option.
(mips16_ip): Reject invalid opcodes.

[ opcodes/ChangeLog ]
* mips16-opc.c (I1, I32, I64): New shortcut defines.
(mips16_opcodes): Change membership of instructions to their
lowest baseline ISA.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Run new tests.
* gas/mips/mips16e.s, gas/mips/mips16e.d, gas/mips/mips16e-64.s,
gas/mips/mips16e-64.d, gas/mips/mips16e-64.l: New tests.

18 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Sun, 14 May 2006 00:51:19 +0000 (00:51 +0000)]
* config.sub, config.guess: Update from upstream sources.

18 years agodaily update
Alan Modra [Sun, 14 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 13 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Fri, 12 May 2006 20:00:37 +0000 (20:00 +0000)]
merge from gcc

18 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Fri, 12 May 2006 01:45:10 +0000 (01:45 +0000)]
    * config.sub, config.guess: Update from upstream sources.

18 years agodaily update
Alan Modra [Fri, 12 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agobfd/doc/
Carlos O'Donell [Thu, 11 May 2006 16:11:29 +0000 (16:11 +0000)]
bfd/doc/

2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>

* bfd.texinfo: Rename "Index" to "BFD Index"

gas/

2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>

* doc/as.texinfo: Rename "Index" to "AS Index",
and "ABORT" to "ABORT (COFF)".

ld/

2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>

* ld.texinfo: Rename "Index" to "LD Index"

18 years ago2006-05-11 Michael Matz <matz@suse.de>
H.J. Lu [Thu, 11 May 2006 15:55:40 +0000 (15:55 +0000)]
2006-05-11  Michael Matz  <matz@suse.de>

* elflink.c (match_group_member): Correctly iterate group
members.

18 years ago2006-05-11 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 11 May 2006 15:17:34 +0000 (15:17 +0000)]
2006-05-11  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
(elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
* reloc.c: Ditto.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
gas/
* config/tc-arm.c (parse_half): New function.
(operand_parse_code): Remove OP_Iffff.  Add OP_HALF.
(parse_operands): Ditto.
(do_mov16): Reject invalid relocations.
(do_t_mov16): Ditto.  Use Thumb reloc numbers.
(insns): Replace Iffff with HALF.
(md_apply_fix): Add MOVW and MOVT relocs.
(tc_gen_reloc): Ditto.
* doc/c-arm.texi: Document relocation operators
ld/testsuite/
* ld-arm/arm-elf.exp: Add arm-movwt.
* ld-arm/arm-movwt.d: New test.
* ld-arm/arm-movwt.s: New test.
* ld-arm/arm.ld: Add .far.

18 years ago2006-05-11 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 11 May 2006 15:05:17 +0000 (15:05 +0000)]
2006-05-11  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
gas/testsuite/
* gas/arm/local_function.d: New test.
* gas/arm/local_function.s: New test.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Thu, 11 May 2006 14:30:58 +0000 (14:30 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Don't check the range of j or
jal addresses.

[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Don't check the range of j or jal
addresses.

18 years ago * ld-elf/stab.d: New.
Alan Modra [Thu, 11 May 2006 12:35:44 +0000 (12:35 +0000)]
* ld-elf/stab.d: New.

18 years ago * elf.c (_bfd_elf_init_private_section_data): Don't change
Alan Modra [Thu, 11 May 2006 12:34:46 +0000 (12:34 +0000)]
* elf.c (_bfd_elf_init_private_section_data): Don't change
section type if already set.

18 years agoPR ld/2607
Nick Clifton [Thu, 11 May 2006 08:57:08 +0000 (08:57 +0000)]
PR ld/2607
* elfcode.h (valid_section_index_p): New function: Checks for a valid section
  index.  Allows indicies in the range SHN_LOPROC to SHN_HIOS.
  (elf_object_p): Use valid_section_index_p.

18 years agoApply fixes to allow arm WinCE toolchain to produce working executables.
Nick Clifton [Thu, 11 May 2006 08:48:58 +0000 (08:48 +0000)]
Apply fixes to allow arm WinCE toolchain to produce working executables.

18 years agodaily update
Alan Modra [Thu, 11 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * ld-elf/sec64k.exp: Extend for MIPS ELF.
Thiemo Seufer [Wed, 10 May 2006 15:07:24 +0000 (15:07 +0000)]
* ld-elf/sec64k.exp: Extend for MIPS ELF.

18 years ago PR 2342
Alan Modra [Wed, 10 May 2006 04:55:43 +0000 (04:55 +0000)]
PR 2342
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.

18 years agodaily update
Alan Modra [Wed, 10 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2006-05-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 9 May 2006 17:05:55 +0000 (17:05 +0000)]
2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-gidt.d: Adjusted.

18 years agogas/testsuite/
H.J. Lu [Tue, 9 May 2006 16:05:40 +0000 (16:05 +0000)]
gas/testsuite/

2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-gidt.

* gas/i386/x86-64-gidt.d: New file.
* gas/i386/x86-64-gidt.s: Likewise.

opcodes/

2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (grps): Update sgdt/sidt for 64bit.

18 years agoRevised test (that is not O(n2)) for checking for orphaned cloned symbols
Nick Clifton [Tue, 9 May 2006 15:13:22 +0000 (15:13 +0000)]
Revised test (that is not O(n2)) for checking for orphaned cloned symbols

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Only warn about an out-of-range
j or jal address.

[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Only warn about an out-of-range j or jal
        address.

18 years ago* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against
Nick Clifton [Tue, 9 May 2006 11:47:48 +0000 (11:47 +0000)]
* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against
   symbols which are not going to be placed into the symbol table.
* coffcode.h (coff_write_relocs): Produce an error message if a an
   out-of-range symbol index is detected in a reloc.

18 years ago * expr.c (operand): Remove `if (0 && ..)' statement and
Ben Elliston [Tue, 9 May 2006 04:54:32 +0000 (04:54 +0000)]
    * expr.c (operand): Remove `if (0 && ..)' statement and
        subsequently unused target_op label.  Collapse `if (1 || ..)'
        statement.
        * app.c (do_scrub_chars): Remove unused case 0, as it is handled
        separately above the switch.

18 years ago * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
Ben Elliston [Tue, 9 May 2006 03:38:30 +0000 (03:38 +0000)]
    * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
        local variable `dynobj'.

18 years agodaily update
Alan Modra [Tue, 9 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
Thiemo Seufer [Mon, 8 May 2006 18:18:09 +0000 (18:18 +0000)]
* gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
larger offset arguments for cache instructions.

18 years ago PR gas/2623b
Nick Clifton [Mon, 8 May 2006 17:08:34 +0000 (17:08 +0000)]
PR gas/2623b
* config/tc-msp430.c (line_separator_character): Define as |.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Mon, 8 May 2006 15:57:05 +0000 (15:57 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options): Add ase_smartmips flag.
(mips_opts): Likewise.
(file_ase_smartmips): New variable.
(ISA_HAS_ROR): SmartMIPS implements rotate instructions.
(macro_build): Handle SmartMIPS instructions.
(mips_ip): Likewise.
(md_longopts): Add argument handling for smartmips.
(md_parse_options, mips_after_parse_args): Likewise.
(s_mipsset): Add .set smartmips support.
(md_show_usage): Document -msmartmips/-mno-smartmips.
* doc/as.texinfo: Document -msmartmips/-mno-smartmips and
.set smartmips.
* doc/c-mips.texi: Likewise.

[ gas/testsuite/ChangeLog ]
* gas/mips/smartmips.s, gas/mips/smartmips.d: New smartmips test.
* gas/mips/mips.exp: Run smartmips test.

18 years agoRemove bfd/ in ChangeLog entry.
H.J. Lu [Mon, 8 May 2006 14:17:11 +0000 (14:17 +0000)]
Remove bfd/ in ChangeLog entry.

18 years agodaily update
Alan Modra [Mon, 8 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * write.c (relax_segment): Add pass count arg. Don't error on
Alan Modra [Sun, 7 May 2006 23:03:48 +0000 (23:03 +0000)]
* write.c (relax_segment): Add pass count arg.  Don't error on
negative org/space on first two passes.
(relax_seg_info): New struct.
(relax_seg, write_object_file): Adjust.
* write.h (relax_segment): Update prototype.

18 years agodaily update
Alan Modra [Sun, 7 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 6 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
Julian Brown [Fri, 5 May 2006 18:56:01 +0000 (18:56 +0000)]
* arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
vldm/vstm.

18 years ago * config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
Julian Brown [Fri, 5 May 2006 18:54:44 +0000 (18:54 +0000)]
* config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
checking.
(do_neon_mov): Enable several VMOV variants for VFP. Add suitable
architecture version checks.
(insns): Allow overlapping instructions to be used in VFP mode.

18 years ago * gas/arm/vfp-neon-overlap.s: New test. Overlapping VFP/Neon
Julian Brown [Fri, 5 May 2006 18:53:09 +0000 (18:53 +0000)]
* gas/arm/vfp-neon-overlap.s: New test. Overlapping VFP/Neon
instructions.
* gas/arm/vfp-neon-overlap.d: Expected output of above.
* gas/arm/vfp1xD.d: Test for fldmx/fstmx.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfpv3-32drs.d: Likewise.

18 years ago2006-05-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 May 2006 18:24:45 +0000 (18:24 +0000)]
2006-05-05  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/2598
* config/obj-elf.c (obj_elf_change_section): Allow user
specified SHF_ALPHA_GPREL.

18 years ago* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups for PMEM
Nick Clifton [Fri, 5 May 2006 17:46:47 +0000 (17:46 +0000)]
* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define.  Disable fixups for PMEM
    related expressions.
* bfd/elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all of the
    bfd's sections for the reloc-addend adjustments.

18 years agoPR gas/2582
Nick Clifton [Fri, 5 May 2006 16:55:28 +0000 (16:55 +0000)]
PR gas/2582
* dwarf2dbg.c (INSERT_DIR_SEPARATOR): New macro.  Handles the insertion of a
  directory separator character into a string at a given offset.  Uses
  heuristics to decide when to use a backslash character rather than a
  forward-slash character.
  (dwarf2_directive_loc): Use the macro.
  (out_debug_info): Likewise.

18 years ago * gas/mips/noreorder.s, gas/mips/noreorder.d: New test for
Thiemo Seufer [Fri, 5 May 2006 16:38:09 +0000 (16:38 +0000)]
* gas/mips/noreorder.s, gas/mips/noreorder.d: New test for
reorder/noreorder corner case.
* gas/mips/mips.exp: Run new test.
-------------------------------------------------------------------

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Fri, 5 May 2006 15:41:23 +0000 (15:41 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Add case 'k' to handle cache
instruction.
(macro): Add new case M_CACHE_AB.

[ opcodes/ChangeLog ]
* mips-opc.c: Add macro for cache instruction.

[ include/opcode/ChangeLog ]
* mips.h (enum): Add macro M_CACHE_AB.

18 years ago * elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
Martin Schwidefsky [Fri, 5 May 2006 13:21:34 +0000 (13:21 +0000)]
* elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
(elf_s390_relocate_section): Add code to do the GD->LE and
LD->LE TLS linker optimizations if a brasl instruction is used
for the __tls_get_offset function call.
* elf64-s390.c (invalid_tls_insn): Call bfd_set_error.

18 years ago * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
Alan Modra [Fri, 5 May 2006 13:08:49 +0000 (13:08 +0000)]
* ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
* ld-powerpc/tlsexetoc.g: Likewise.

18 years ago * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
Alan Modra [Fri, 5 May 2006 13:07:30 +0000 (13:07 +0000)]
* elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
the .toc and referenced by a TLS code sequence.
(ppc64_elf_edit_toc): Cater for the unlikely situation that
.toc is the first section in a file.

18 years ago * ld.texinfo: Document PowerPC and PowerPC64 options.
Alan Modra [Fri, 5 May 2006 00:51:37 +0000 (00:51 +0000)]
* ld.texinfo: Document PowerPC and PowerPC64 options.
* gen-doc.texi: Enable.

18 years agodaily update
Alan Modra [Fri, 5 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * aoutf1.h (struct external_sparc_core): Declare c_regs as struct
Andreas Schwab [Thu, 4 May 2006 21:25:52 +0000 (21:25 +0000)]
* aoutf1.h (struct external_sparc_core): Declare c_regs as struct
regs instead of an array of int.
(struct external_solaris_bcp_core): Likewise.
(swapcore_sun3): Use offsetof instead of computing the offset
manually.
(swapcore_sparc): Likewise.  Simplify reference to c_regs.
(swapcore_solaris_bcp): Likewise.

18 years ago * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
Daniel Jacobowitz [Thu, 4 May 2006 19:03:24 +0000 (19:03 +0000)]
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
for missing GOTs.

18 years ago * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
Daniel Jacobowitz [Thu, 4 May 2006 18:15:21 +0000 (18:15 +0000)]
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
mapping symbols.

18 years agogas/
Kazu Hirata [Thu, 4 May 2006 15:41:00 +0000 (15:41 +0000)]
gas/
* config/tc-arm.c (opcode_tag): Add OT_cinfix3_deprecated.
(opcode_lookup): Issue a warning for opcode with
OT_cinfix3_deprecated.  Otherwise treat OT_cinfix3_deprecated
identical to OT_cinfix3.
(TxC3w, TC3w, tC3w): New.
(insns): Use tC3w and TC3w for comparison instructions with
's' suffix.

gas/testsuite
* gas/arm/armv1.d (error-output): New.
* gas/arm/armv1.l: New.
* gas/arm/thumb32.d (error-output): New.
* gas/arm/thumb32.l: New.