OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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

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

18 years ago * archive.c: Add missing SUBSECTION for documentation.
Bob Wilson [Wed, 5 Oct 2005 21:24:23 +0000 (21:24 +0000)]
    * archive.c: Add missing SUBSECTION for documentation.
        * bfd.c: Likewise.
        * cache.c: Likewise.
        * corefile.c: Likewise.
        * format.c: Likewise.
        * init.c: Likewise.
        * libbfd.c: Likewise.
        * opncls.c: Likewise.
        * elf.c: Remove blank line after SECTION heading.
        * reloc.c: Change "howto manager" SECTION to a SUBSECTION.

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

PR ld/1396
* ldcref.c (check_refs): Accept bfd_boolean.
(check_local_sym_xref): Pass FALSE to check_refs.
(check_nocrossref): Pass TRUE to check_refs.
(check_refs_info): Add bfd_boolean.
(check_refs): Add bfd_boolean to check_refs_info.
(check_reloc_refs): Match relocations with proper symbols.

* ldmisc.c (vfinfo): Don't add extra ":\n".

18 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 5 Oct 2005 15:59:52 +0000 (15:59 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages
before other host packages.

18 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
Danny Smith [Wed, 5 Oct 2005 08:07:51 +0000 (08:07 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
default entry symbol to ENTRY here.
* scripttempl/pe.sc: Not here.

18 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 5 Oct 2005 07:30:22 +0000 (07:30 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/22340

* configure.in (default_target): Remove.
* Makefile.tpl (all): Do not use prerequisites as subroutines
(all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet.
(do-[+make_target+], check, install, [+bootstrap_target+]): Do not
use prerequisites as subroutines.
(check-host, check-target): New.
(bootstrap configure & all targets): Do not use stage*-start
if the directory layout is already ok.
(non-bootstrap configure & all targets): Prepend a $(unstage).
(stage[+id+]-bubble): Do that here.  Do not use NOTPARALLEL.
(NOTPARALLEL): Remove.
(unstage, stage variables): New variables.
(unstage, stage targets): Simply expand to those variables.

* configure: Regenerate.
* Makefile.in: Regenerate.

18 years agoFix mips-elf --enable-libmudflap make -j2 failure.
Jim Wilson [Wed, 5 Oct 2005 01:19:36 +0000 (01:19 +0000)]
Fix mips-elf --enable-libmudflap make -j2 failure.
* Makefile.def (lang_env_dependencies): Add libmudflap.
* Makefile.in: Regenerate.

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

18 years ago2005-10-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 4 Oct 2005 19:54:08 +0000 (19:54 +0000)]
2005-10-04  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1396
* ld-scripts/cross3.t: New file.
* ld-scripts/cross4.c: Likewise.

* ld-scripts/crossref.exp: Add a new test for "ld -r".

18 years ago* cxxfilt.c: Treat mangled names specified on the command line in the same way
Nick Clifton [Tue, 4 Oct 2005 11:03:38 +0000 (11:03 +0000)]
* cxxfilt.c: Treat mangled names specified on the command line in the same way
  as mangled names read from stdin.
  Add -i switch to disable the display of implementation details.
  Add -t switch to disable the demangling of types.
* NEWS: Mention the new switches.
* doc/binutils.texi (cxxfilt): Document the -i and -t switches.

18 years ago* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
Nick Clifton [Tue, 4 Oct 2005 07:23:50 +0000 (07:23 +0000)]
* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched so
that the typical case of scanning for the previous section to last one can be
handled quickly.

18 years ago * at-file.texi: New file.
Mark Mitchell [Tue, 4 Oct 2005 05:34:17 +0000 (05:34 +0000)]
* at-file.texi: New file.

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

18 years ago * elf32-xtensa.c (relocations_reach): Skip range check for
Bob Wilson [Mon, 3 Oct 2005 21:49:17 +0000 (21:49 +0000)]
* elf32-xtensa.c (relocations_reach): Skip range check for
absolute literals.

18 years agoAdd Sterling Augustine's name to my change on 2005-09-30.
Bob Wilson [Mon, 3 Oct 2005 21:42:23 +0000 (21:42 +0000)]
Add Sterling Augustine's name to my change on 2005-09-30.

18 years ago * addr2line.c (usage): Document @file.
Mark Mitchell [Mon, 3 Oct 2005 19:37:44 +0000 (19:37 +0000)]
* addr2line.c (usage): Document @file.
* ar.c (usage): Likewise.
* coffdump (usage): Likewise.
* cxxfilt.c (usage): Likewise.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c (usage): Likewise.
* size.c (usage): Likeise.
* srconv.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
* doc/binutils.texi: Add section on common options.

18 years agoRegenerated with 2.13 version of autoconf.
Catherine Moore [Mon, 3 Oct 2005 15:35:57 +0000 (15:35 +0000)]
Regenerated with 2.13 version of autoconf.

18 years ago * configure.in (bfin-*-*): Support bfin.
Catherine Moore [Mon, 3 Oct 2005 15:11:13 +0000 (15:11 +0000)]
* configure.in (bfin-*-*): Support bfin.
* configure: Regenerated.

18 years ago2005-10-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 3 Oct 2005 14:40:19 +0000 (14:40 +0000)]
2005-10-03  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention -W/--dwarf.

* doc/binutils.texi: Document -W/--dwarf for objdump.

18 years agooops - delayed commit of addition of Irish translation
Nick Clifton [Mon, 3 Oct 2005 10:53:35 +0000 (10:53 +0000)]
oops - delayed commit of addition of Irish translation

18 years agooops - delayed commit for addtion of Irish translation for gprof and opcodes
Nick Clifton [Mon, 3 Oct 2005 10:52:38 +0000 (10:52 +0000)]
oops - delayed commit for addtion of Irish translation for gprof and opcodes

18 years ago(Infix Ops): '<' and '>' are not shift operators.
Nick Clifton [Mon, 3 Oct 2005 09:41:06 +0000 (09:41 +0000)]
(Infix Ops):  '<' and '>' are not shift operators.

18 years ago * elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
Alan Modra [Mon, 3 Oct 2005 03:41:56 +0000 (03:41 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
synthetic syms.

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

18 years ago2005-10-01 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 1 Oct 2005 02:25:16 +0000 (02:25 +0000)]
2005-10-01  Paul Brook  <paul@codesourcery.com>

* readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
(display_arm_attribute, process_arm_specific): New functions.
(process_arch_specific): Add EM_ARM.

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

18 years agoFix malformed error message.
Jim Wilson [Fri, 30 Sep 2005 22:10:54 +0000 (22:10 +0000)]
Fix malformed error message.
* ldlang.c (lang_startup): Add missing ": " to einfo call.

18 years ago * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
Bob Wilson [Fri, 30 Sep 2005 21:58:28 +0000 (21:58 +0000)]
* config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.

18 years ago * dlltool.c (main): Fix typo.
Mark Mitchell [Fri, 30 Sep 2005 20:04:21 +0000 (20:04 +0000)]
* dlltool.c (main): Fix typo.
* windres.c (main): Likewise.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 18:59:46 +0000 (18:59 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 18:50:44 +0000 (18:50 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 18:48:16 +0000 (18:48 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* sysinfo.y (main): Undo last change.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 18:05:59 +0000 (18:05 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.

18 years agold/
H.J. Lu [Fri, 30 Sep 2005 17:45:54 +0000 (17:45 +0000)]
ld/

2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (output_statement_hash_entry): New type.
(output_statement_table): New variable for hash table.
(output_statement_newfunc): New function.
(output_statement_table_init): Likewise.
(output_statement_table_free): Likewise.
(lang_init): Call output_statement_table_init.
(lang_finish): Renamed to ...
(lang_end): This.
(lang_process): Updated.
(lang_finish): New function.
(lang_output_section_find_1): Use hash table.
(lang_output_section_statement_lookup_1): Likewise.

* ldlang.h (lang_finish): New.

* ldmain.c (main): Call lang_finish.

ld/testsuite/

2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/sec64k.exp: Enabled for all ELF targets.

18 years ago * addr2line.c (main): Likewise.
Mark Mitchell [Fri, 30 Sep 2005 16:37:32 +0000 (16:37 +0000)]
* addr2line.c (main): Likewise.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* cxxfilt.c (main): Likewise.
* dlltool.c (main): Likewise.
* dllwrap.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* readelf.c (main): Likewise.
* size.c (main): Likeiwse.
* srcconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* sysinfo.c (main): Likewise.
* windres.c (main): Likewise.

* ldmain.c (main): Use expandargv.

* gprof.c (main): Use expandargv.

* as.c (main): Use expandargv.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 16:03:47 +0000 (16:03 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.

18 years agogas/
Jan Beulich [Fri, 30 Sep 2005 15:48:24 +0000 (15:48 +0000)]
gas/
2005-09-30  Jan Beulich  <jbeulich@novell.com>

* config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
(removed) comma.

18 years ago * Makefile.am: Bfin support.
Catherine Moore [Fri, 30 Sep 2005 15:36:41 +0000 (15:36 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* archures.c (bfd_mach_bfin): New.
(bfd_arch_bfin): New.
bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New.
* bfd-in2.h: Regenerated.
* config.bfd: Bfin support.
* configure: Regenerated.
* configure.in: Bfin support.
* libbfd.h: Regenerated.
* reloc.c: Add BFD relocations for Bfin.
* targets.c (bfd_elf32_bfin_vec): New.
* cpu-bfin.c: New file.
* elf32-bfin.c: New file.

18 years ago * Makefile.am: Bfin support.
Catherine Moore [Fri, 30 Sep 2005 15:28:52 +0000 (15:28 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* bfin-dis.c: New file.
* configure.in: Bfin support.
* configure: Regenerated.
* disassemble.c (ARCH_bfin): Define.
(disassembler): Add case for bfd_arch_bfin.

18 years ago * ld-elf/merge.d: Xfail bfin.
Catherine Moore [Fri, 30 Sep 2005 15:24:21 +0000 (15:24 +0000)]
* ld-elf/merge.d: Xfail bfin.

18 years ago * Makefile.am: Bfin support.
Catherine Moore [Fri, 30 Sep 2005 15:23:16 +0000 (15:23 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure.tgt: Bfin support.
* emulparams/bfin.sh: New file.
* emultempl/bfin.em: New file.

18 years ago * Makefile.am: Bfin support.
Catherine Moore [Fri, 30 Sep 2005 15:19:54 +0000 (15:19 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* readelf.c (elf/bfin.h): Include.
(guess_is_rela): EM_BLACKFIN support.
(dump_relocations): Likewise.

18 years ago * dis-asm.h (print_insn_bfin): Declare.
Catherine Moore [Fri, 30 Sep 2005 15:12:52 +0000 (15:12 +0000)]
* dis-asm.h (print_insn_bfin): Declare.
* elf/bfin.h: New file.
* elf/common.h (EM_BLACKFIN): Define.
* opcode/bfin.h: New file.

18 years ago * gas/bfin: New testsuite for bfin.
Catherine Moore [Fri, 30 Sep 2005 15:10:16 +0000 (15:10 +0000)]
* gas/bfin: New testsuite for bfin.
* gas/all/gas.exp (bfin-*-*): Expected failure for alternate
macro syntax.

18 years ago * Makefile.am: Bfin support.
Catherine Moore [Fri, 30 Sep 2005 15:05:07 +0000 (15:05 +0000)]
* Makefile.am: Bfin support.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.in: Bfin support.
* configure.tgt: Bfin support.
* config/bfin-aux.h: New file.
* config/bfin-defs.h: New file.
* config/bfin-lex.l: New file.
* config/bfin-parse.y: New file.
* config/tc-bfin.c: New file.
* config/tc-bfin.h: New file.
* doc/Makefile.am: Recognize c-bfin.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Bfin support.
* doc/as.texinfo: Likewise.
* doc/c-bfin.texi: Document bfin-specific syntax and
directives.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:57:52 +0000 (14:57 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf.c (fetch_indirect_string): Adjust for section address.
(process_debug_info): Likewise.
(display_debug_loc): Likewise.
(display_debug_ranges): Likewise.

* objdump.c (mach_o_dwarf_sections): New.
(generic_dwarf_sections): Likewise.
(check_mach_o_dwarf): Likewise.
(dump_dwarf): Call check_mach_o_dwarf.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:56:34 +0000 (14:56 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (objdump_SOURCES): Add dwarf.c.
* Makefile.in: Regenerated.

* objdump.c: Include "dwarf.h".
(usage): Add -W/--dwarf.
(long_options): Likewise.
(dump_dwarf_section_info): New.
(load_debug_section): Likewise.
(free_debug_section): Likewise.
(dump_dwarf_section): Likewise.
(dump_dwarf): Likewise.
(dump_bfd): Load symbol table and call dump_dwarf if
dump_dwarf_section_info isn't zero.
(main): Handle -W/--dwarf.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:55:05 +0000 (14:55 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (CFILES): Add dwarf.c.
(readelf_SOURCES): Likewise.
* Makefile.in: Regenerated.

* dwarf.c: New file.
* dwarf.h. Likewise.

* readelf.c: Include "dwarf.h" instead of "bfd.h".
(do_debug_info): Remove the static definition.
(do_debug_abbrevs): Likewise.
(do_debug_lines): Likewise.
(do_debug_pubnames): Likewise.
(do_debug_aranges): Likewise.
(do_debug_ranges): Likewise.
(do_debug_frames): Likewise.
(do_debug_frames_interp): Likewise.
(do_debug_macinfo): Likewise.
(do_debug_str): Likewise.
(do_debug_loc): Likewise.
(is_relocatable): Likewise.
(have_frame_base): Likewise.
(need_base_address): Likewise.
(eh_addr_size): Likewise.
(error): Likewise.
(warn): Likewise.
(cmalloc): Likewise.
(xcmalloc): Likewise.
(xcrealloc): Likewise.
(dwarf_section): Removed.
(byte_get_little_endian): Likewise.
(byte_get_signed): Likewise.
(byte_get_big_endian): Likewise.
(read_leb128): Likewise.
(State_Machine_Registers): Likewise.
(state_machine_regs): Likewise.
(reset_state_machine): Likewise.
(process_extended_line_op): Likewise.
(debug_str_section): Likewise.
(fetch_indirect_string): Likewise.
(debug_abbrev_section): Likewise.
(abbrev_attr): Likewise.
(first_abbrev): Likewise.
(last_abbrev): Likewise.
(free_abbrevs): Likewise.
(add_abbrev_attr): Likewise.
(process_abbrev_section): Likewise.
(get_TAG_name): Likewise.
(get_FORM_name): Likewise.
(display_block): Likewise.
(decode_location_expression): Likewise.
(debug_info): Likewise.
(debug_information): Likewise.
(num_debug_info_entries): Likewise.
(last_pointer_size): Likewise.
(warned_about_missing_comp_units): Likewise.
(read_and_display_attr_value): Likewise.
(get_AT_name): Likewise.
(read_and_display_attr): Likewise.
(process_debug_info): Likewise.
(get_pointer_size_and_offset_of_comp_unit): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(Frame_Chunk): Likewise.
(DW_CFA_unreferenced): Likewise.
(frame_need_space): Likewise.
(frame_display_row): Likewise.
(size_of_encoded_value): Likewise.
(get_encoded_value): Likewise.
(GET): Likewise.
(LEB): Likewise.
(SLEB): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(load_debug_section): Updated.
(free_debug_section): Likewise.
(display_debug_section): Likewise.
(process_object): Call free_debug_memory to free debug memory.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:53:24 +0000 (14:53 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Reordered.
(is_relocatable): New.
(dwarf_section): New structure for DWARF section.
(load_debug_section): New.
(free_debug_section): Likewise.
(debug_str_section): Likewise.
(debug_abbrev_section): Likewise.
(debug_str_contents): Removed.
(debug_str_size): Likewise.
(debug_loc_contents): Likewise.
(debug_loc_size): Likewise.
(debug_range_contents): Likewise.
(debug_range_size): Likewise.
(load_debug_str): Likewise.
(free_debug_str): Likewise.
(load_debug_loc): Likewise.
(free_debug_loc): Likewise.
(load_debug_arange): Likewise.
(free_debug_arange): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(fetch_indirect_string): Updated.
(debug_apply_rela_addends): Likewise.
(process_debug_info): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_info): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(display_debug_section): Likewise.
(get_file_header): Set is_relocatable.