OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago2005-09-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 30 Sep 2005 13:34:17 +0000 (13:34 +0000)]
2005-09-30  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
(opcode_lookup): Handle OT_cinfix3_legacy.  Revert earlier change for
normal infix conditions.
(C3E): Include Thumb-2 definition.
(CL, cCL): Define.
(insns): Use them for legacy mnemonics.
gas/testsuite/
* gas/arm/fpa-mem.s: Remove incorrect comments.
* gas/arm/fpa-mem.d: Update expected results.

18 years agoasintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
Nick Clifton [Fri, 30 Sep 2005 11:42:05 +0000 (11:42 +0000)]
asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
  version of <locale.h> when ENABLE_NLS is not defined.
gprof.c (main):Only invoke bindtextdomain() and textdomain() if ENABLE_NLS is
  defined.

18 years ago * elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
Alan Modra [Fri, 30 Sep 2005 07:32:50 +0000 (07:32 +0000)]
* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
entry sym before deciding no stub is needed.
(ppc64_elf_size_stubs): When calculating branch destination,
don't use func desc sym for old ABI objects unless func entry
is undefined.

18 years agodaily update
Alan Modra [Fri, 30 Sep 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agogas/
Jan Beulich [Thu, 29 Sep 2005 07:00:54 +0000 (07:00 +0000)]
gas/
2005-09-29  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_operands): Always parse first operand of
alloc.

gas/testsuite/
2005-09-29  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/alloc.[sl]: New.
* gas/ia64/ia64.exp: Run new test.

18 years ago * app.c (do_scrub_chars): Match open and close quote of strings.
Alan Modra [Thu, 29 Sep 2005 02:20:50 +0000 (02:20 +0000)]
* app.c (do_scrub_chars): Match open and close quote of strings.
Remove redundant EOF test in case 7.

18 years agoIndex: ChangeLog
Geoffrey Keating [Thu, 29 Sep 2005 01:00:26 +0000 (01:00 +0000)]
Index: ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.

Index: gcc/ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.

18 years agodaily update
Alan Modra [Thu, 29 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
Alexandre Oliva [Wed, 28 Sep 2005 19:32:19 +0000 (19:32 +0000)]
* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
* powerpc.exp: Run it.

18 years agogas/testsuite/
Jan Beulich [Wed, 28 Sep 2005 15:34:53 +0000 (15:34 +0000)]
gas/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d,
gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New.
* gas/i386/i386.exp: Run new tests.

ld/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* ld-x86-64/tlspic.dd: Adjust.

opcodes/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (stack_v_mode): Renamed from branch_v_mode.
(indirEv): Use it.
(stackEv): New.
(Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions.
(dis386): Document and use new 'V' meta character. Use it for
single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop
opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov.
(putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark
data prefix as used whenever DFLAG was examined. Handle 'V'.
(intel_operand_size): Use stack_v_mode.
(OP_E): Use stack_v_mode, but handle only the special case of
64-bit mode without operand size override here; fall through to
v_mode case otherwise.
(OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode
and no operand size override is present.
(OP_J): Use get32s for obtaining the displacement also when rex64
is present.

18 years agogas/
Jan Beulich [Wed, 28 Sep 2005 15:31:21 +0000 (15:31 +0000)]
gas/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Disable signedness check for 4-byte
relocations in 16- and 32-bit modes.
(i386_displacement): Make pc-relative branch handling dependent
upon operand (rather than address) size.

gas/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/mixed-mode-reloc.s: Enable all insns.
* gas/i386/mixed-mode-reloc32.d: Adjust.
* gas/i386/mixed-mode-reloc64.d: Adjust.

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

PR binutils/1321
* elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ...
(_bfd_elf_setup_sections): This.
* elf.c: Likewise.
* elfcode.h (elf_object_p): Likewise.

* elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER.
(_bfd_elf_copy_private_section_data): Likewise.

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

* elflink.c (elf_fixup_link_order): Report locations for mixed
ordered and unordered input sections.

18 years agogas/
Jan Beulich [Wed, 28 Sep 2005 14:51:02 +0000 (14:51 +0000)]
gas/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
parsing the input.
(dot_cfi_startproc): Likewise.
(dot_cfi_endproc): Likewise. Also check no extra input was given.
(dot_cfi_escape): Likewise.

18 years agogas/
Jan Beulich [Wed, 28 Sep 2005 14:44:25 +0000 (14:44 +0000)]
gas/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
(TC_CONS_FIX_NEW): Define unconditionally.
(x86_pe_cons_fix_new): Remove.
* config/tc-i386.c (signed_cons): New.
(md_pseudo_table): Add slong.
(x86_cons_fix_new): Declare unconditionally.
(x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
(tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
conversion.

gas/testsuite/
2005-09-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/reloc64.s: Also test .slong.
* gas/i386/reloc64.l: Adjust.
* gas/i386/reloc64.d: Adjust.

18 years ago * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
Alan Modra [Wed, 28 Sep 2005 12:31:44 +0000 (12:31 +0000)]
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
buffer after copying string.

18 years agos/waek/weak/ in 2005-05-05's entry.
Alexandre Oliva [Wed, 28 Sep 2005 05:00:07 +0000 (05:00 +0000)]
s/waek/weak/ in 2005-05-05's entry.

18 years ago2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 28 Sep 2005 00:34:21 +0000 (00:34 +0000)]
2005-09-27  H.J. Lu  <hongjiu.lu@intel.com>

* ld.texinfo (ALIGN): Document it as forcing output section
alignment.

* ldgram.y (ALIGN): Support it for forcing output section
alignment.

18 years agodaily update
Alan Modra [Wed, 28 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * argv.c (expandargv): Do not use xmalloc_failed.
Mark Mitchell [Tue, 27 Sep 2005 15:21:13 +0000 (15:21 +0000)]
* argv.c (expandargv): Do not use xmalloc_failed.

18 years ago2005-09-27 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 27 Sep 2005 13:23:38 +0000 (13:23 +0000)]
2005-09-27  Paul Brook  <paul@codesourcery.com>

* config/arm.c (arm_cpus): Add more cpu names.
* doc/c-arm.texi: Document them.

18 years agodaily update
Alan Modra [Tue, 27 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
Mark Mitchell [Mon, 26 Sep 2005 21:09:04 +0000 (21:09 +0000)]
* BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.

18 years ago * libiberty.h (expandargv): New function.
Mark Mitchell [Mon, 26 Sep 2005 21:02:59 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.

* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.

18 years agodaily update
Alan Modra [Mon, 26 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
Dave Anglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.

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

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

18 years ago * enable.m4: New file.
Tom Tromey [Fri, 23 Sep 2005 17:28:31 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.

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

18 years agoFix addr2line -i problem; reports incorrect function nesting for inline funcs.
Jim Wilson [Thu, 22 Sep 2005 19:50:27 +0000 (19:50 +0000)]
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field.  Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field.  Add code to set
funcinfo caller_func field.

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

18 years ago * gas/lns/lns.exp (lns-common-1): Don't run on targets without
Alan Modra [Wed, 21 Sep 2005 06:55:49 +0000 (06:55 +0000)]
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
a bare nop insn.

18 years ago * read.c (pseudo_set): Don't set undefined symbols to expr_section.
Alan Modra [Wed, 21 Sep 2005 00:12:19 +0000 (00:12 +0000)]
* read.c (pseudo_set): Don't set undefined symbols to expr_section.

18 years agodaily update
Alan Modra [Wed, 21 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
Richard Henderson [Tue, 20 Sep 2005 21:00:15 +0000 (21:00 +0000)]
    * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.

18 years ago * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
Richard Henderson [Tue, 20 Sep 2005 18:24:48 +0000 (18:24 +0000)]
    * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
        with label.
        (dwarf2_loc_mark_labels): New.
        (dwarf2_gen_line_info_1): Split out of ...
        (dwarf2_gen_line_info): ... here.  Create the temp symbol here.
        (dwarf2_emit_label): New.
        (dwarf2_directive_loc_mark_labels): New.
        (out_set_addr): Take a symbol instead of frag+ofs.
        (relax_inc_line_addr): Likewise.
        (emit_inc_line_addr): Assert delta non-negative.
        (process_entries): Remove dead code.  Update to work with temp
        symbols instead of frag+ofs.
        * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
        (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
        * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
        * config/obj-elf.h (obj_frob_label): New.
        * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
        * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
        config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
        Similarly in the respective tc_frob_label implementation functions.
        * config/tc-i386.c (md_pseudo_table): Move file and loc to
        non-elf section; add loc_mark_labels.
        * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
        (ia64_flush_insns): Check for marked labels; emit line entry if so.
        (emit_one_bundle): Similarly.
        (ia64_frob_label): Record marked labels.
        * config/tc-m68hc11.h (tc_frob_label): Remove.
        * config/tc-ms1.c (md_pseudo_table): Remove file and loc.
        * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
        * config/tc-sh64.h (tc_frob_label): Likewise.
        * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.

18 years agoAdd mangled names to addr2line -i output.
Jim Wilson [Tue, 20 Sep 2005 18:13:32 +0000 (18:13 +0000)]
Add mangled names to addr2line -i output.
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set.  For DW_AT_name case, only set name if not already set.  Handle
DW_AT_MIPS_linkage_name.

18 years ago * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
Richard Henderson [Tue, 20 Sep 2005 17:58:34 +0000 (17:58 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
        gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d,
        gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
        gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
        gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
        gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
        prefix in "Advance PC" lines.

18 years ago * readelf.c (display_debug_lines): Use unsigned long for address
Richard Henderson [Tue, 20 Sep 2005 17:55:13 +0000 (17:55 +0000)]
    * readelf.c (display_debug_lines): Use unsigned long for address
        increments.  Use 0x prefix for all hex numbers.

18 years ago2005-09-19 David Edelsohn <edelsohn@gnu.org>
David Edelsohn [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

2005-09-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

        * configure.in: Recognize f95 in the --enable-languages option,
        and substitute it for fortran, issuing a warning.
        * configure: Regenerate.

18 years ago * read.c (pseudo_set): Set segment of expression syms to expr_section.
Alan Modra [Tue, 20 Sep 2005 03:06:13 +0000 (03:06 +0000)]
* read.c (pseudo_set): Set segment of expression syms to expr_section.

18 years ago * ldlang.h (lang_output_section_statement_struct): Change type of
Alan Modra [Tue, 20 Sep 2005 03:00:53 +0000 (03:00 +0000)]
* ldlang.h (lang_output_section_statement_struct): Change type of
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.

18 years agodaily update
Alan Modra [Tue, 20 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago * elflink.c (_bfd_elf_merge_symbol): Simplify.
Alan Modra [Mon, 19 Sep 2005 23:30:05 +0000 (23:30 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Simplify.

18 years ago PR ld/1353
Alan Modra [Mon, 19 Sep 2005 23:17:47 +0000 (23:17 +0000)]
PR ld/1353
* ldlang.c (lang_size_sections_1): Process addr_tree earlier,
so that unused output section statements affect dot.

18 years ago * elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
Alan Modra [Mon, 19 Sep 2005 09:35:26 +0000 (09:35 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
branch offset is in range with an error.  Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.

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

18 years agodaily update
Alan Modra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

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

18 years agodaily update
Alan Modra [Fri, 16 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Thu, 15 Sep 2005 01:04:05 +0000 (01:04 +0000)]
merge from gcc

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

18 years agogas/
Jan Beulich [Wed, 14 Sep 2005 06:33:25 +0000 (06:33 +0000)]
gas/
2005-09-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.

18 years agodaily update
Alan Modra [Wed, 14 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

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

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

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

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

18 years ago * elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Kevin Buettner [Fri, 9 Sep 2005 18:26:03 +0000 (18:26 +0000)]
* elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Include.
(elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New
functions.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.

18 years ago * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
Richard Earnshaw [Fri, 9 Sep 2005 13:12:21 +0000 (13:12 +0000)]
* readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
SHT_ARM_ATTRIBUTES.

18 years ago * elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
Richard Earnshaw [Fri, 9 Sep 2005 13:10:01 +0000 (13:10 +0000)]
* elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
and SHT_ARM_ATTRIBUTES.

18 years ago * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
Richard Earnshaw [Fri, 9 Sep 2005 13:06:21 +0000 (13:06 +0000)]
* arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.

18 years ago2005-09-09 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Fri, 9 Sep 2005 08:46:19 +0000 (08:46 +0000)]
2005-09-09  Dmitry Diky  <diwil@spec.ru>

        * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
(msp430_relax_frag): add a guard check to ensure that final fr_subtype
has been reached.

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

* elflink.c (elf_get_linked_section_vma): Fix a typo in comment.
* elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise.

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

18 years ago* doc/as.texinfo: Document -mdsp and -mno-dsp options.
Chao-ying Fu [Thu, 8 Sep 2005 18:05:15 +0000 (18:05 +0000)]
* doc/as.texinfo: Document -mdsp and -mno-dsp options.
* doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
directives.

18 years ago * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
Jakub Jelinek [Thu, 8 Sep 2005 16:03:26 +0000 (16:03 +0000)]
* ld.texinfo: Document -z {no,}execstack, -z {no,}relro
and --eh-frame-hdr options.

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

PR ld/1263
* elflink.c (elf_link_add_object_symbols): Abort for
--just-symbols on DSO.

18 years ago2005-09-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 8 Sep 2005 12:49:27 +0000 (12:49 +0000)]
2005-09-08  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
opcodes/
* arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc.
gas/
* config/tc-arm.c (do_smi, do_t_smi): Rename ...
(do_smc, do_t_smc): ... to this.
(insns): Remane smi to smc.
(md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
BFD_RELOC_ARM_SMC.
gas/testsuite/
* gas/arm/arch6zk.d: Rename smi to smc.
* gas/arm/arch6zk.s: Ditto.
* gas/arm/thumb32.d: Ditto.
* gas/arm/thumb32.s: Ditto.

18 years agoRemove extraneous line.
Andreas Schwab [Thu, 8 Sep 2005 10:08:34 +0000 (10:08 +0000)]
Remove extraneous line.

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

18 years ago * dwarf2dbg.c (dwarf2_where): Set line->isa.
Richard Henderson [Wed, 7 Sep 2005 19:22:42 +0000 (19:22 +0000)]
    * dwarf2dbg.c (dwarf2_where): Set line->isa.
        (dwarf2_set_isa): New.
        (dwarf2_directive_loc): Rearrange to allow all options on one line.
        * dwarf2dbg.h (dwarf2_set_isa): Declare.
        * doc/as.texinfo: Update .loc documentation.

        * gas/lns/lns-common-1.d: Don't match header or special opcode numbers.
        * gas/lns/lns-common-1.s: Update for syntax change.
        * gas/lns/lns-diag-1.[sl]: Likewise.

18 years ago * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
Richard Henderson [Wed, 7 Sep 2005 19:08:54 +0000 (19:08 +0000)]
    * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
        number increments.  Adjust relocation address.
        * gas/mips/mips16-dwarf2-n32.d: Likewise.  Add "N32" to test name.

18 years ago * gas/cris/rd-dw2-1.d: Don't match anything but address and line
Richard Henderson [Wed, 7 Sep 2005 18:46:16 +0000 (18:46 +0000)]
    * gas/cris/rd-dw2-1.d: Don't match anything but address and line
        number increments.
        * gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
        gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d,
        gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, gas/cris/rd-dw2-4.d,
        gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d,
        gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d: Likewise.

18 years ago2005-09-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 16:25:35 +0000 (16:25 +0000)]
2005-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_elf_section_flags): Handle 64bit sh_flags.

18 years ago * dwarf2dbg.c: Include safe-ctype.h.
Richard Henderson [Wed, 7 Sep 2005 11:41:25 +0000 (11:41 +0000)]
    * dwarf2dbg.c: Include safe-ctype.h.
        (DWARF2_LINE_OPCODE_BASE): Bump to 13.
        (current): Initialize.
        (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
        DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
        (dwarf2_directive_file): Cope with invalid filename.
        (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
        epilogue_begin, is_stmt, isa.
        (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
        case down lower.
        (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
        and DWARF2_FLAG_EPILOGUE_BEGIN.
        (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
        DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
        * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.        (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
        (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
        (struct dwarf2_line_info): Add isa member.
        * doc/as.texinfo (LNS directives): New node.

18 years ago* config/tc-mips.c (append_insn): Undo last change. Instead add
David Ung [Wed, 7 Sep 2005 11:39:17 +0000 (11:39 +0000)]
* config/tc-mips.c (append_insn): Undo last change.  Instead add
guard to suppress calling frag_grow if the current instruction is
one that allows a delay slot.

18 years ago * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
Alan Modra [Wed, 7 Sep 2005 06:27:36 +0000 (06:27 +0000)]
* ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
(exp_fold_tree_1): Print assert message only in final stage of
linking.  Trigger assertion failure if expression cannot be
evaluated.

18 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 05:01:53 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
--just-symbols on DSO.

18 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 05:01:16 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1301
* elflink.c (_bfd_elf_merge_symbol): Don't check undefined
symbol introduced by "ld -u" for TLS.

18 years ago Import from Autoconf sources:
Ben Elliston [Wed, 7 Sep 2005 00:42:19 +0000 (00:42 +0000)]
Import from Autoconf sources:

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
* move-if-change: Don't output "$2 is unchanged"; suggested by Ben
Elliston.  Handle weird characters correctly.

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

18 years ago* gas/mips/mips.exp: Run MT test for mips32r2 only.
Chao-ying Fu [Tue, 6 Sep 2005 18:56:21 +0000 (18:56 +0000)]
* gas/mips/mips.exp: Run MT test for mips32r2 only.
* gas/mips/mips32-mt.[sdl]: New test.

18 years ago* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
Chao-ying Fu [Tue, 6 Sep 2005 18:53:03 +0000 (18:53 +0000)]
* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
(mips_opts): Add -1 to initialize ase_mt.
(file_ase_mt): New variable for -mmt.
(CPU_HAS_MT): New define.
(validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
formats.
(mips_ip): Check ase_mt to enable MT instructions.
Handle !, $, *, &, +T, +t, g operand formats.
For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
odd float registers.
(OPTION_MT, OPTION_NO_MT): New define.
(OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
(md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
(mips_after_parse_args): Set ase_mt based on CPU.
(s_mipsset): Handle ".set mt" and ".set nomt".
(mips_elf_final_processing): Remind of adding new flag for MT ASE.
(md_show_usage): Show usage of -mmt and -mno-mt.
* doc/as.texinfo: Document -mmt and -mno-mt options.
* doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
directives.

18 years ago* mips-opc.c (MT32): New define.
Chao-ying Fu [Tue, 6 Sep 2005 18:46:57 +0000 (18:46 +0000)]
* mips-opc.c (MT32): New define.
(mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the
bottom to avoid opcode collision with "mftr" and "mttr".
Add MT instructions.
* mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2.
(print_insn_args): Add supports for +t, +T, !, $, *, &, g operand
formats.

18 years agoRemove duplicated chunk in previous patch.
Paul Brook [Tue, 6 Sep 2005 18:43:45 +0000 (18:43 +0000)]
Remove duplicated chunk in previous patch.

18 years ago* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
Chao-ying Fu [Tue, 6 Sep 2005 18:42:58 +0000 (18:42 +0000)]
* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
define.
Document !, $, *, &, g, +t, +T operand formats for MT instructions.
(INSN_ASE_MASK): Update to include INSN_MT.
(INSN_MT): New define for MT ASE.

18 years ago2005-09-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 6 Sep 2005 16:59:24 +0000 (16:59 +0000)]
2005-09-06  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_it): Add relax field.
(T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
(do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
do_t_mov_cmp): Allow relaxation.
(output_relax_insn): New function.
(put_thumb32_insn): New function.
(output_inst): Use new functions.
(md_assemble): Don't throw error on relaxable instructions.
(insns): Change "b" entry from TCE(...) to tCE(...).
(md_estimate_size_before_relax): Return 2.
(md_convert_frag, relax_immediate, relax_adr, relax_addsub,
relax_branch, arm_relax_frag): New functions.
(arm_force_relocation): Return 0 for Thumb-2 immediate operand
relocations.
* config/tc-arm.h (md_convert_frag): Remove definition.
(md_relax_frag): Define.
(arm_relax_frag): Add prototype.
gas/testsuite/
* gas/arm/thumb2_relax.d: New test.
* gas/arm/thumb2_relax.s: New test.
* gas/arm/thumb32.d: Adjust expected results to include relaxation.
* gas/arm/thumb32.s: Tweak for better coverage of relaxable
instructions.  Remove load/store tests.

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 6 Sep 2005 15:57:06 +0000 (15:57 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
gas/testsuite/
* gas/arm/arm3-bad.s: New test.
* gas/arm/arm3-bad.d: New test.
* gas/arm/arm3.s: Avoid illegal instructions.
* gas/arm/arm3.d: Ditto.

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

18 years agodaily update
Alan Modra [Mon, 5 Sep 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 4 Sep 2005 00:00:11 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 3 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 14:54:27 +0000 (14:54 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

* arm-dis.c (coprocessor_opcodes): Add null terminator.

18 years ago2005-09-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Sep 2005 13:36:33 +0000 (13:36 +0000)]
2005-09-02  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (debug_abbrev_contents): New.
(debug_abbrev_size): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(process_debug_info): Use them.

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 13:12:45 +0000 (13:12 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

bfd/
* libbdf.h: Regenerate.
* bfd-in2.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/
* config/tc-arm.c (encode_arm_cp_address): Use
BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
(do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
mode.
(md_assemble): Only allow coprocessor instructions when Thumb-2 is
available.
(cCE, cC3): Define.
(insns): Use them for coprocessor instructions.
(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
(get_thumb32_insn): New function.
(put_thumb32_insn): New function.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/testsuite/
* gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s,
gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d,
gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files.
opcodes/
* arm-dis.c (coprocessor_opcodes): New.
(arm_opcodes, thumb32_opcodes): Remove coprocessor insns.
(print_insn_coprocessor): New function.
(print_insn_arm): Use print_insn_coprocessor.  Remove coprocessor
format characters.
(print_insn_thumb32): Use print_insn_coprocessor.

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 12:50:44 +0000 (12:50 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (opcode_lookup): Look for infix opcode when
incorrect suffix matches.
gas/testsuite/
* gas/arm/fpa-mem.d: Test "stfpls".
* gas/arm/fpa-mem.s: Ditto.

18 years agodaily update
Alan Modra [Fri, 2 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago2005-08-30 Phil Edwards <phil@codesourcery.com>
DJ Delorie [Thu, 1 Sep 2005 21:03:00 +0000 (21:03 +0000)]
2005-08-30  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks*):  Add target-libstdc++-v3 to noconfigdirs.
* configure:  Regenerated.