OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years agoRegenerate
Alan Modra [Tue, 25 Oct 2005 02:20:17 +0000 (02:20 +0000)]
Regenerate

18 years agodaily update
Alan Modra [Tue, 25 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * ld.texinfo (--reduce-memory-overheads): Fix typo.
Alan Modra [Mon, 24 Oct 2005 23:07:12 +0000 (23:07 +0000)]
* ld.texinfo (--reduce-memory-overheads): Fix typo.

18 years ago * ld-elf/orphan.d: Adjust for mips.
Alan Modra [Mon, 24 Oct 2005 23:06:19 +0000 (23:06 +0000)]
* ld-elf/orphan.d: Adjust for mips.

18 years ago * gas/bfin/flow2.d: Match changed assembler behaviour.
Bernd Schmidt [Mon, 24 Oct 2005 18:42:37 +0000 (18:42 +0000)]
* gas/bfin/flow2.d: Match changed assembler behaviour.
* gas/bfin/reloc.d: Likewise.

18 years ago * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
Bernd Schmidt [Mon, 24 Oct 2005 18:35:59 +0000 (18:35 +0000)]
* config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
make a single reloc with an offset rather than a stack.
* config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.

18 years agoAdd self as Blackfin maintainer.
Bernd Schmidt [Mon, 24 Oct 2005 18:23:27 +0000 (18:23 +0000)]
Add self as Blackfin maintainer.

18 years agogas/ChangeLog:
Alexandre Oliva [Mon, 24 Oct 2005 17:51:42 +0000 (17:51 +0000)]
gas/ChangeLog:
* read.c (potable): Add weakref.
(s_weakref): New.
* read.h (s_weakref): Declare.
* struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
* symbols.c (colon): Clear weakrefr.
(symbol_find_exact): Rename to, and reimplement in terms of...
(symbol_find_exact_noref): ... new function.
(symbol_find): Likewise...
(symbol_find_noref): ... ditto.
(resolve_symbol_value): Resolve weakrefr without setting their
values.
(S_SET_WEAK): Call hook.
(S_GET_VALUE): Follow weakref link.
(S_SET_VALUE): Clear weakrefr.
(S_IS_WEAK): Follow weakref link.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
(symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
(symbol_mark_used): Follow weakref link.
(print_symbol_value_1): Print weak, weakrefr and weakrefd.
* symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
* write.c (adust_reloc_syms): Follow weakref link.  Do not
complain if target is undefined.
(write_object_file): Likewise.  Remove weakrefr symbols.  Drop
unreferenced weakrefd symbols.
* config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
symbols EXTERNAL.
(pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
* config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
* doc/as.texinfo: Document weakref.
* doc/internals.texi: Document new struct members, internal
functions and hooks.
gas/testsuite/ChangeLog:
* gas/all/weakref1.s, gas/all/weakref1.d: New test.
* gas/all/weakref1g.d, gas/all/weakref1l.d: New tests.
* gas/all/weakref1u.d, gas/all/weakref1w.d: New tests.
* gas/all/weakref2.s, gas/all/weakref3.s: New tests.
* gas/all/gas.exp: Run new tests.

18 years agobfd/
Jie Zhang [Mon, 24 Oct 2005 16:31:22 +0000 (16:31 +0000)]
bfd/
* elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness
warning.
gas/
* Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
(EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
* Makefile.in: Regenerate.
* config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
* config/tc-bfin.c (md_chars_to_number): Change the type of first
argument from unsigned char * to char * to remove signedness warnings.

18 years ago * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
Jie Zhang [Mon, 24 Oct 2005 14:25:13 +0000 (14:25 +0000)]
* elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
(bfin_imm16_reloc): Always add in the addend.  Don't fetch existing
contents from section.
(bfin_relocate_section): Rework so as to not call special_functions.
Handle the relocation stack here.  Treat pcrel24 relocs specially.

18 years ago * elflink.c (elf_link_input_bfd): Don't use linker_mark and
Alan Modra [Mon, 24 Oct 2005 11:24:31 +0000 (11:24 +0000)]
* elflink.c (elf_link_input_bfd): Don't use linker_mark and
SEC_EXCLUDE to test for sections dropped from output.  Instead,
use bfd_section_removed_from_list on normal sections.  Don't
attempt to handle symbols with unknown reserved section indices.
* linker.c (_bfd_generic_link_output_symbols): Don't use
linker_mark to test for symbols belonging to dropped sections.
Do allow absolute symbols.

18 years ago * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
Alan Modra [Mon, 24 Oct 2005 11:18:03 +0000 (11:18 +0000)]
* elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.

18 years agold/testsuite/
Jan Beulich [Mon, 24 Oct 2005 07:48:47 +0000 (07:48 +0000)]
ld/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ld-elf/empty2.[sd]: New.

18 years agoinclude/opcode/
Jan Beulich [Mon, 24 Oct 2005 07:42:50 +0000 (07:42 +0000)]
include/opcode/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.

bfd/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.

gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.

opcodes/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64-asmtab.c: Regenerate.

18 years agogas/
Jan Beulich [Mon, 24 Oct 2005 07:36:40 +0000 (07:36 +0000)]
gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (declare_register): Call symbol_create.
(md_begin): Remove local variables total, ar_base, and cr_base.
Start loops for registers at their respective first one. Don't
update md.regsym for alias names. Generate alias name tp for r13.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/regs.pl: Also check tp alias of r13.
* gas/ia64/regs.s: Regenerate.
* gas/ia64/regs.d: Adjust.

18 years ago * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
Alan Modra [Mon, 24 Oct 2005 04:32:50 +0000 (04:32 +0000)]
* elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.

18 years ago2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 24 Oct 2005 02:50:27 +0000 (02:50 +0000)]
2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_init_private_section_data with
_bfd_generic_init_private_section_data.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

18 years agobfd/
H.J. Lu [Mon, 24 Oct 2005 01:40:58 +0000 (01:40 +0000)]
bfd/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* elf-bfd.h (_bfd_generic_init_private_section_data): New.
(_bfd_elf_init_private_section_data): New.

* elf.c (elf_fake_sections): Don't set SHF_GROUP for
relocatable link.
(bfd_elf_set_group_contents): Don't handle relocatable link
specially.
(assign_section_numbers): If it isn't called by assembler,
use the output section of elf_linked_to_section for
SHF_LINK_ORDER.
(_bfd_elf_init_private_section_data): New.
(_bfd_elf_copy_private_section_data): Call it.

* libbfd-in.h (_bfd_generic_init_private_section_data): New.

* libbfd.c (_bfd_generic_init_private_section_data): New.

* targets.c (BFD_JUMP_TABLE_COPY): Add
_bfd_generic_init_private_section_data.
(bfd_init_private_section_data): Likewise.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

ld/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
bfd_match_sections_by_type to match section types.

* ldlang.c (init_os): Take the input section. Call
bfd_init_private_section_data if the input section isn't NULL.
(exp_init_os): Pass NULL to init_os.
(map_input_to_output_sections): Likewise.
(lang_add_section): Pass the input section to init_os.

ld/testsuite/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* ld-ia64/tlspic.rd: Updated.

18 years agodaily update
Alan Modra [Mon, 24 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * elf64-ppc.c (dec_dynrel_count): Don't report errors for local
Alan Modra [Sun, 23 Oct 2005 13:12:09 +0000 (13:12 +0000)]
* elf64-ppc.c (dec_dynrel_count): Don't report errors for local
syms in gc'd sections.
(ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS.
(elf_backend_action_discarded): Define.
(ppc64_elf_action_discarded): New function.

18 years agodaily update
Alan Modra [Sun, 23 Oct 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2005-10-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sat, 22 Oct 2005 10:37:55 +0000 (10:37 +0000)]
2005-10-22  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/24297
* Makefile.tpl (do-[+make-target+], do-check, install,
stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
are set before recursing.
* Makefile.in: Regenerate.

18 years ago* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print
DJ Delorie [Sat, 22 Oct 2005 00:04:26 +0000 (00:04 +0000)]
* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs.  Print
names unstead of numbers.

18 years ago[cpu]
DJ Delorie [Sat, 22 Oct 2005 00:03:13 +0000 (00:03 +0000)]
[cpu]
* m32c.cpu (lde, ste): Add dsp[a0] and [a1a] addressing.
(indexb, indexbd, indexbs, indexw, indexwd, indexws, indexl,
indexld, indexls): .w variants have `1' bit.
(rot32.b): QI, not SI.
(rot32.w): HI, not SI.
(xchg16): HI for .w variant.

[opcodes]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

18 years agodaily update
Alan Modra [Sat, 22 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoFix typo
Mark Mitchell [Fri, 21 Oct 2005 23:31:33 +0000 (23:31 +0000)]
Fix typo

18 years ago * texi2pod.pl: Substitue for @value even when part of @include.
Mark Mitchell [Fri, 21 Oct 2005 23:29:22 +0000 (23:29 +0000)]
* texi2pod.pl: Substitue for @value even when part of @include.

18 years ago2005-10-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 21 Oct 2005 21:18:05 +0000 (21:18 +0000)]
2005-10-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1467
* ld-elf/orphan.d: New file.
* ld-elf/orphan.ld: Likewise.
* ld-elf/orphan.s: Likewise.

18 years ago * texi2pod.pl: Import latest version from GCC.
Bob Wilson [Fri, 21 Oct 2005 18:08:07 +0000 (18:08 +0000)]
* texi2pod.pl: Import latest version from GCC.

18 years agobfin-dis.c: Tidy up code, removing redundant constructs.
Nick Clifton [Fri, 21 Oct 2005 16:28:18 +0000 (16:28 +0000)]
bfin-dis.c: Tidy up code, removing redundant constructs.

18 years agodaily update
Alan Modra [Fri, 21 Oct 2005 00:00:13 +0000 (00:00 +0000)]
daily update

18 years ago2005-10-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 20 Oct 2005 17:54:53 +0000 (17:54 +0000)]
2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ia64/ia64.exp: Undo the last change. Add support for *.d.

* ld-ia64/link-order.d: New file.

18 years agobinutils/testsuite/
H.J. Lu [Thu, 20 Oct 2005 17:06:41 +0000 (17:06 +0000)]
binutils/testsuite/

2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/251
* binutils-all/group.s: New file.

* binutils-all/objcopy.exp (objcopy_test_readelf): New
procedure.
Use it to test ELF group.

ld/testsuite/

2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/251
* ld-elf/group.2d: New file.

18 years ago PR bootstrap/18939
Eric Botcazou [Thu, 20 Oct 2005 12:01:15 +0000 (12:01 +0000)]
PR bootstrap/18939
* Makefile.def (gcc) <target>: Fix thinko.
* Makefile.in: Regenerate.

18 years agodaily update
Alan Modra [Thu, 20 Oct 2005 00:09:01 +0000 (00:09 +0000)]
daily update

18 years agobinutils/testsuite/
H.J. Lu [Wed, 19 Oct 2005 20:49:03 +0000 (20:49 +0000)]
binutils/testsuite/

2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1487
* binutils-all/objcopy.exp (objcopy_test): New procedure.
Use it to test simple copy, ia64 link order and ELF unknown
section type.

* binutils-all/unknown.s: New file.

ld/testsuite/

2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1487
* ld-elf/unknown.d: New file.

18 years ago* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
David Ung [Wed, 19 Oct 2005 18:47:09 +0000 (18:47 +0000)]
* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
hence avoiding to emit a nop.

* gas/mips/mips.exp: Run new test.
* gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting
jalr/jr to the compact jalrc/jrc instructions.
* gas/testsuite/gas/mips/mips16e-jrc.d: New.

18 years ago2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 19 Oct 2005 18:33:25 +0000 (18:33 +0000)]
2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ia64/ia64.exp: Check link order for ld -r.

18 years ago2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 19 Oct 2005 17:39:43 +0000 (17:39 +0000)]
2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1321
* binutils-all/link-order.s: New.

* binutils-all/objcopy.exp: Check ia64 link order.

18 years ago* elf32-arm.c (find_arm_elf_section_entry): New function.
Nick Clifton [Wed, 19 Oct 2005 15:40:23 +0000 (15:40 +0000)]
* elf32-arm.c (find_arm_elf_section_entry): New function.
  (get_arm_elf_section_data): Use it.
  (unrecord_section_with_arm_elf_section_data): Use it.

18 years ago * gas/s390/zarch-z9-109.s: Add tests for unnormalized hfp multiply
Martin Schwidefsky [Wed, 19 Oct 2005 15:05:50 +0000 (15:05 +0000)]
* gas/s390/zarch-z9-109.s: Add tests for unnormalized hfp multiply
and multiply-and-add instructions.
* gas/s390/zarch-z9-109.d: Update expected result.

18 years ago * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
Martin Schwidefsky [Wed, 19 Oct 2005 15:05:10 +0000 (15:05 +0000)]
* s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
instructions.

18 years ago* m32r.opc (parse_slo16): Fix bad application of previous patch.
Nick Clifton [Wed, 19 Oct 2005 14:44:17 +0000 (14:44 +0000)]
* m32r.opc (parse_slo16): Fix bad application of previous patch.

18 years ago2005-10-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Oct 2005 14:43:21 +0000 (14:43 +0000)]
2005-10-19  Paul Brook  <paul@codesourcery.com>

* emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.

18 years ago * config/tc-bfin.c (md_begin): Let the lex_type of '(' be
Jie Zhang [Wed, 19 Oct 2005 13:15:01 +0000 (13:15 +0000)]
* config/tc-bfin.c (md_begin): Let the lex_type of '(' be
LEX_BEGIN_NAME.
(bfin_start_line_hook): Remove the workaround for LSETUP(.
(bfin_name_is_register): Remove the workarounds for LSETUP(
and SAA(.
(bfin_start_label): Ditto.

18 years ago2005-10-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Oct 2005 00:43:59 +0000 (00:43 +0000)]
2005-10-08  Paul Brook  <paul@codesourcery.com>

* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.

18 years agodaily update
Alan Modra [Wed, 19 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * config/tc-xtensa.c (xtensa_end_directive): Restore
Bob Wilson [Tue, 18 Oct 2005 23:13:48 +0000 (23:13 +0000)]
* config/tc-xtensa.c (xtensa_end_directive): Restore
default_lit_sections regardless of use_literal_section.

18 years ago * bfin-dis.c (print_insn_bfin): Do proper endian transform when
Jie Zhang [Tue, 18 Oct 2005 16:39:41 +0000 (16:39 +0000)]
* bfin-dis.c (print_insn_bfin): Do proper endian transform when
reading instruction from memory.

18 years ago * Makefile.am (bfin-lex.c): Update ylwrap invocation.
Jie Zhang [Tue, 18 Oct 2005 16:10:59 +0000 (16:10 +0000)]
* Makefile.am (bfin-lex.c): Update ylwrap invocation.
* Makefile.in: Regenerated.

18 years agom32r.opc (parse_slo16): Better version of previous patch.
Nick Clifton [Tue, 18 Oct 2005 07:53:17 +0000 (07:53 +0000)]
m32r.opc (parse_slo16): Better version of previous patch.

18 years ago* doc/as.texinfo (.loc) Fix placement of '@end table'.
Nick Clifton [Tue, 18 Oct 2005 07:47:01 +0000 (07:47 +0000)]
* doc/as.texinfo (.loc) Fix placement of '@end table'.

18 years ago * MAINTAINERS: Add self as BFIN maintainer.
Jie Zhang [Tue, 18 Oct 2005 07:40:11 +0000 (07:40 +0000)]
* MAINTAINERS: Add self as BFIN maintainer.

18 years ago * ld-scripts/crossref.exp: Add -mcall-aixdesc to CFLAGS for
Alan Modra [Tue, 18 Oct 2005 02:25:42 +0000 (02:25 +0000)]
* ld-scripts/crossref.exp: Add -mcall-aixdesc to CFLAGS for
powerpc64.

18 years agodaily update
Alan Modra [Tue, 18 Oct 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
Bob Wilson [Mon, 17 Oct 2005 18:17:08 +0000 (18:17 +0000)]
* config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
unsigned line number.  Do not include "dwarf2dbg.h".
* config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc".
(xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete.
(xg_build_to_insn, xg_build_token_insn): Update TInsn uses.
(md_assemble): Use as_where instead of dwarf2_where.
(xg_assemble_vliw_tokens): Use unsigned line numbers instead of
dwarf2_line_infos.  Change to call new_logical_line followed by
dwarf2_emit_insn.

18 years ago * gas/arm/copro.d: 'mcrlt' instruction should not be disassembled as
Richard Earnshaw [Mon, 17 Oct 2005 15:44:01 +0000 (15:44 +0000)]
* gas/arm/copro.d: 'mcrlt' instruction should not be disassembled as
'cfsh64lt'.

18 years ago * configure.in (bfin-*-*): Use test, not brackets, in if statement.
Bernd Schmidt [Mon, 17 Oct 2005 12:54:34 +0000 (12:54 +0000)]
* configure.in (bfin-*-*): Use test, not brackets, in if statement.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Mon, 17 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * hppa.h (pa_opcodes): Add two fcmp opcodes. Reorder ftest opcodes.
Dave Anglin [Sun, 16 Oct 2005 20:42:14 +0000 (20:42 +0000)]
* hppa.h (pa_opcodes): Add two fcmp opcodes.  Reorder ftest opcodes.
Add FLAG_STRICT to pa10 ftest opcode.

18 years agodaily update
Alan Modra [Sun, 16 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Oct 2005 15:38:12 +0000 (15:38 +0000)]
2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>

* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

18 years agobfd/
H.J. Lu [Sat, 15 Oct 2005 14:57:55 +0000 (14:57 +0000)]
bfd/

2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1467
* elf-bfd.h (_bfd_elf_match_sections_by_type): New.
(_bfd_generic_match_sections_by_type): New. Defined.

* elf.c (_bfd_elf_match_sections_by_type): New.

* libbfd-in.h (_bfd_generic_match_sections_by_type): New.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

* libbfd.c (_bfd_generic_match_sections_by_type): New.

* targets.c (BFD_JUMP_TABLE_LINK): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(bfd_target): Add _bfd_match_sections_by_type.

ld/

2005-10-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1467
* emultempl/elf32.em: Include "elf-bfd.h".
(gld${EMULATION_NAME}_place_orphan): Check section type and
don't use section name for ELF input sections.

* ld.texinfo: Document orphan section processing.

* ldlang.c (lang_output_section_find_by_flags): Match section
types by calling bfd_match_sections_by_type.

18 years agodaily update
Alan Modra [Sat, 15 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agom32r.opc (parse_slo16): Do not assume a 32-bit host word size.
Nick Clifton [Fri, 14 Oct 2005 08:33:27 +0000 (08:33 +0000)]
m32r.opc (parse_slo16): Do not assume a 32-bit host word size.

18 years ago* doc/as.texinfo (Section): Add missing ']' to .section example.
Nick Clifton [Fri, 14 Oct 2005 08:24:48 +0000 (08:24 +0000)]
* doc/as.texinfo (Section): Add missing ']' to .section example.

18 years agodaily update
Alan Modra [Fri, 14 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * ld.texino: Describe double-quoted string syntax for version
Mark Mitchell [Thu, 13 Oct 2005 17:29:57 +0000 (17:29 +0000)]
* ld.texino: Describe double-quoted string syntax for version
nodes.
* ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
* ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
Adjust calls to lang_new_vers_pattern to pass literal_p argument.
* ldlang.c (lang_vers_match): Fix indentation.  Do not glob-match
version nodes without a pattern.
(lang_new_vers_pattern): Add literal_p parameter.
(lang_do_version_exports_section): Pass it.

* ld-elfvers/vers.exp: Add vers31.
* ld-elfvers/vers31.c: New file.
* ld-elfvers/vers31.dsym: Likewise.
* ld-elfvers/vers31.map: Likewise.
* ld-elfvers/vers31.ver: Likewise.

18 years ago * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
Dave Anglin [Thu, 13 Oct 2005 02:26:34 +0000 (02:26 +0000)]
* gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
instructions from system.s.
* gas/hppa/basic/system.s (lha): Remove.

* hppa.h (pa_opcodes): Remove lha entries.

18 years ago PR binutils/941
Dave Anglin [Thu, 13 Oct 2005 01:06:01 +0000 (01:06 +0000)]
PR binutils/941
* config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
unknown opcode is found.

18 years ago * NEWS: Mention @file.
Mark Mitchell [Thu, 13 Oct 2005 00:57:43 +0000 (00:57 +0000)]
* NEWS: Mention @file.

* NEWS: Mention @file.

18 years agodaily update
Alan Modra [Thu, 13 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* config/tc-avr.c: Convert to ISO C90 format. Fix formatting and generally
Nick Clifton [Wed, 12 Oct 2005 10:56:46 +0000 (10:56 +0000)]
* config/tc-avr.c: Convert to ISO C90 format.  Fix formatting and generally
  tidy up the code.
* config/tc-avr.h: Likewise.

18 years agoRemove spurious checking of a potential, but untested patch.
Nick Clifton [Wed, 12 Oct 2005 08:55:55 +0000 (08:55 +0000)]
Remove spurious checking of a potential, but untested patch.

18 years agogas/
Jan Beulich [Wed, 12 Oct 2005 07:51:08 +0000 (07:51 +0000)]
gas/
2005-10-12  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
(dot_pred_rel): Likewise.
(parse_operand): Likewise.
(ia64_unrecognized_line): Likewise.
(md_operand): Likewise.

gas/testsuite/
2005-10-12  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/forward.[sd]: New.
* gas/ia64/ia64.exp: Run new test.

18 years ago2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Wed, 12 Oct 2005 00:19:26 +0000 (00:19 +0000)]
2005-10-11  Danny Smith  <dannysmith@users.sourceforge.net>

* binutils-all/windres/escapex-2.rc: New file.
* binutils-all/windres/escapex-2.rsd: Generate.

18 years ago2005-10-11 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Wed, 12 Oct 2005 00:16:12 +0000 (00:16 +0000)]
2005-10-11  Danny Smith  <dannysmith@users.sourceforge.net>

* rclex.l (handle quotes): Stop parsing hex notation escaped
chars after the first two digits,

18 years agodaily update
Alan Modra [Wed, 12 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoPR binutils/1437
Nick Clifton [Tue, 11 Oct 2005 16:33:16 +0000 (16:33 +0000)]
PR binutils/1437
* cxxfilt.c (flags): Remove DMGL_TYPES;
  (long_options): Rename --no-types to --types.
  (usage): Likewise.
  (demangle_it): Add a comment describing why _ and $ prefixes are skipped.
  Use printf rather than puts to emit the demangled output in order to avoid
  emitting a new line character.
  (main): Have the -t flag enable type demangling.
  Emit a newline after every demangled command line argument.
  Copy whitespace from stdin to stdout.
* doc/binutils.texi (c++filt): Document the change to the -t switch.
  Document why demangling names on the command line is slightly different
  to demangling names read from the standard input.

18 years agoThis adjusts equate handling by
Nick Clifton [Tue, 11 Oct 2005 11:16:17 +0000 (11:16 +0000)]
This adjusts equate handling by
- allowing true forward references (which will always assume the referenced
  symbols have at the point of use) through the new .eqv pseudo-op and the
  new == operator
- disallowing changing .equiv-generated equates (so that the protection this
  provides is both forward and backward)
- snapshotting equates when their value gets changed so that previous uses
  don't get affected by the new value.
- allowing expressions in places where absolute expressions (or register
  names) are needed which were not completely resolvable at the point of
  their definition but which are fully resolvable at the point of use

In addition it fixes PR/288.

18 years ago * doc/Makefile.am (config.texi): Set top_srcdir.
Mark Mitchell [Tue, 11 Oct 2005 04:49:16 +0000 (04:49 +0000)]
* doc/Makefile.am (config.texi): Set top_srcdir.
* doc/Makefile.in: Regenerated.
* doc/binutils.texi: Use at-file.texi from libiberty.

18 years agodaily update
Alan Modra [Tue, 11 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 10 Oct 2005 18:42:11 +0000 (18:42 +0000)]
2005-10-10  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1436
* readelf.c (ABSADDR): New.
(dump_ia64_unwind): Use ABSADDR to get the unwind info address.

18 years ago * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
Ian Lance Taylor [Mon, 10 Oct 2005 17:24:06 +0000 (17:24 +0000)]
* Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
* Makefile.in: Regenerate.

18 years ago* resbin.c (res_to_bin_accelerator): Place the terminating NUL at the correct
Nick Clifton [Mon, 10 Oct 2005 15:54:42 +0000 (15:54 +0000)]
* resbin.c (res_to_bin_accelerator): Place the terminating NUL at the correct
  location in the bindata structure.

18 years ago* expr.c (operator): Allow "!=" as a synonym for "<>".
Nick Clifton [Mon, 10 Oct 2005 15:32:44 +0000 (15:32 +0000)]
* expr.c (operator): Allow "!=" as a synonym for "<>".
* doc/as.texinfo (Infix Op): Mention "!=".

18 years ago* doc/binutils.texi (objdump): Fix typo: -reg-name-std should be -reg-names-std.
Nick Clifton [Mon, 10 Oct 2005 08:41:25 +0000 (08:41 +0000)]
* doc/binutils.texi (objdump): Fix typo: -reg-name-std should be -reg-names-std.

18 years ago* gas/sh/reg-prefix.s: Use mov.l instruction in preference to movli.l.
Nick Clifton [Mon, 10 Oct 2005 08:12:53 +0000 (08:12 +0000)]
* gas/sh/reg-prefix.s: Use mov.l instruction in preference to movli.l.
* gas/sh/reg-prefix.d: Force little endian assembly.

18 years agodaily update
Alan Modra [Mon, 10 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
Kazu Hirata [Sun, 9 Oct 2005 16:35:55 +0000 (16:35 +0000)]
* configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
target-libffi, target-qthreads, target-libjava, and
targetlibobjc.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Sun, 9 Oct 2005 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago * config/tc-hppa.c (strict): Don't initialize. Update comment.
Dave Anglin [Sat, 8 Oct 2005 19:01:29 +0000 (19:01 +0000)]
* config/tc-hppa.c (strict): Don't initialize.  Update comment.
(pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
found.  Simplify handling of "ma" and "mb" completers.

* hppa.h (FLAG_STRICT): Revise comment.
(pa_opcode): Revise ordering rules.  Add/move strict pa10 variants
before corresponding pa11 opcodes.  Add strict pa10 register-immediate
entries for "fdc".

18 years ago2005-10-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 8 Oct 2005 17:07:19 +0000 (17:07 +0000)]
2005-10-08  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c: Move #include "elf/arm.h" after libbfd.h.
(NUM_KNOWN_ATTRIBUTES): Define.
(aeabi_attribute, aeabi_attribute_list): Define.
(elf32_arm_obj_tdata): Add known_eabi_attributes and
other_eabi_attributes.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_compat, copy_eabi_attributes,
elf32_arm_merge_eabi_attributes): New functions.
(elf32_arm_copy_private_bfd_data): Copy EABI object attributes.
(elf32_arm_fake_sections): Handle .ARM.attributes.
(elf32_arm_parse_attributes): New function.
(elf32_arm_section_from_shdr): Use it.
(bfd_elf32_bfd_final_link): Define.
gas/
* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
New variables.
(arm_cpu_option_table): Add canonical_name.
(arm_cpus): Populate canonical_name field.
(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
aeabi_set_public_attributes, arm_md_end): New functions.
(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
(md_assemble): Set thumb_arch_used and arm_arch_used.
(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
* config/tc-arm.h (md_end): Define.
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
gas/testsuite/
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
include/elf/
* arm.h: Add prototypes for BFD object attribute routines.
ld/testsuite/
* ld-arm/arm-rel31.d: Ignore Arm object attribute sections.
* ld-arm/arm-target1-abs.d: Ditto.
* ld-arm/arm-target1-rel.d: Ditto.
* ld-arm/arm-target2-abs.d: Ditto.
* ld-arm/arm-target2-got-rel.d: Ditto.
* ld-arm/arm-target2-rel.d: Ditto.

18 years ago2005-10-08 James Lemke <jim@wasabisystems.com>
Richard Earnshaw [Sat, 8 Oct 2005 14:52:07 +0000 (14:52 +0000)]
2005-10-08  James Lemke  <jim@wasabisystems.com>

* arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP
operations.

18 years agodaily update
Alan Modra [Sat, 8 Oct 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * at-file.texi: Fix typo.
Mark Mitchell [Fri, 7 Oct 2005 14:20:47 +0000 (14:20 +0000)]
* at-file.texi: Fix typo.

18 years agodaily update
Alan Modra [Fri, 7 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agobfd/
Daniel Jacobowitz [Thu, 6 Oct 2005 19:21:14 +0000 (19:21 +0000)]
bfd/
* elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from
GCC.
(elf32_arm_size_dynamic_sections): Likewise.
* ecofflink.c (bfd_ecoff_debug_one_external): Likewise.
* elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
* elf32-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_check_relocs): Likewise.
* elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count)
(ppc64_elf_size_dynamic_sections): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
(elf_s390_size_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
(_bfd_sparc_elf_size_dynamic_sections): Likewise.
* ieee.c (ieee_slurp_section_data): Likewise.
* oasys.c (oasys_slurp_section_data): Likewise.
opcodes/
* ppc-dis.c (struct dis_private): Remove.
(powerpc_dialect): Avoid aliasing warnings.
(print_insn_big_powerpc, print_insn_little_powerpc): Likewise.

18 years ago * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
Daniel Jacobowitz [Thu, 6 Oct 2005 15:24:36 +0000 (15:24 +0000)]
* Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
* Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP.
(OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET)
(USUAL_OBJDUMP_FOR_TARGET): New.
(EXTRA_TARGET_FLAGS): Add OBJDUMP.
* configure.in: Check for $OBJDUMP_FOR_TARGET.
* configure, Makefile: Regenerated.

18 years ago* config/tc-sh.c (allow_dollar_register_prefix): New variable.
Nick Clifton [Thu, 6 Oct 2005 11:44:07 +0000 (11:44 +0000)]
* config/tc-sh.c (allow_dollar_register_prefix): New variable.
  (parse_reg_without_prefix): New function.
  (parse_reg): Check for '$' register prefix if --allow-reg-prefix is set.
  (option md_longopts): Add allow-reg-prefix option.
* doc/c-sh.texi: Document --allow-reg-prefix option.
* NEWS: Mention the new switch.

* gas/sh/basic.exp:  Run reg-prefix test.
* gas/sh/reg-prefix.s: New
* gas/sh/reg-prefix.d: New