OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 12 Jan 2005 19:40:20 +0000 (19:40 +0000)]
2005-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode.

19 years agogas/testsuite/
H.J. Lu [Wed, 12 Jan 2005 19:12:52 +0000 (19:12 +0000)]
gas/testsuite/

2005-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386/i386.exp: Run "sib".

* gas/i386/sib.d: New file.
* gas/i386/sib.s: Likewise.

opcodes/

2005-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB.

19 years agoinclude/elf/
Alan Modra [Wed, 12 Jan 2005 11:28:28 +0000 (11:28 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries.
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for
reaching PLT.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and
R_PPC_RELAX32PC_PLT.

19 years ago(s_iq2000_set): Fix thinko parsing ignored_arguments array.
Nick Clifton [Wed, 12 Jan 2005 10:57:15 +0000 (10:57 +0000)]
(s_iq2000_set): Fix thinko parsing ignored_arguments array.

19 years ago * ld-sh/shared-1.d: Update for changed dynamic syms.
Kaz Kojima [Tue, 11 Jan 2005 23:55:14 +0000 (23:55 +0000)]
* ld-sh/shared-1.d: Update for changed dynamic syms.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.

19 years agodaily update
Alan Modra [Tue, 11 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Tue, 11 Jan 2005 21:01:13 +0000 (21:01 +0000)]
merge from gcc

19 years agoPR binutils/637
Nick Clifton [Tue, 11 Jan 2005 11:58:49 +0000 (11:58 +0000)]
PR binutils/637
* doc/binutils.texi (c++filt): Use uppercase CXXFILT in the footnote in order
to prevent the sed script in the Makefile from converting it into c++filt.

19 years ago * configure.host: Correct sed patterns for last change.
Alan Modra [Tue, 11 Jan 2005 09:36:46 +0000 (09:36 +0000)]
* configure.host: Correct sed patterns for last change.

19 years ago * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning
Alan Modra [Tue, 11 Jan 2005 09:32:53 +0000 (09:32 +0000)]
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning
symbols.
* elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
* elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
* elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Likewise.
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise.
* elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
* elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.

19 years ago * elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
Alan Modra [Tue, 11 Jan 2005 08:30:35 +0000 (08:30 +0000)]
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
.dynsbss flags.

19 years agodaily update
Alan Modra [Mon, 10 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 10 Jan 2005 17:28:37 +0000 (17:28 +0000)]
2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>

BZ 635
readelf.c (saved_base_address): Removed.
(decode_64bit_range): Likewise.
(decode_range): Likewise.
(display_64bit_debug_ranges): Likewise.
(debug_info): Add range_lists, num_range_lists and
max_range_lists.
(read_and_display_attr_value): Handle do_debug_ranges.
(process_debug_info): Likewise.
(display_debug_ranges): Rewrite.
(process_object): Free range_lists.

19 years ago2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 10 Jan 2005 17:22:49 +0000 (17:22 +0000)]
2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* write.c (write_object_file): Disallow a symbol equated to
common symbol.

19 years agoAdd support for maxq10 and maxq20 machine values
Nick Clifton [Mon, 10 Jan 2005 16:33:51 +0000 (16:33 +0000)]
Add support for maxq10 and maxq20 machine values

19 years agoPR binutils/609
Nick Clifton [Mon, 10 Jan 2005 15:45:00 +0000 (15:45 +0000)]
PR binutils/609
* ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this to determine
whether config.make_executable should be set to FALSE in conjunction with
config.fatal_warnings.
(info_msg, minfo, lfinof): Pass FALSE as the extra argument.
(einfo): Pass TRUE as the extra argument.

19 years ago(linux targets): Use "${CC} -dumpspecs" instead of "${CC} --print-file-name=specs...
Nick Clifton [Mon, 10 Jan 2005 14:57:32 +0000 (14:57 +0000)]
(linux targets): Use "${CC} -dumpspecs" instead of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
(ia64-*-aix): Delete - this target is obsolete, and would be broken by this patch.

19 years ago * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
Eric Botcazou [Mon, 10 Jan 2005 11:23:01 +0000 (11:23 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.

19 years agobinutils/:
Andreas Schwab [Mon, 10 Jan 2005 09:54:50 +0000 (09:54 +0000)]
binutils/:
* configure.in: Don't define SKIP_ZEROES.
* configure: Regenerate.
* objdump.c (disassemble_data): Set skip_zeroes and
skip_zeroes_at_end in disasm_info to defaults.
(DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
(DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
always define.
(disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
objdump_disasm_info.

include/:
* dis-asm.h (struct disassemble_info): Add skip_zeroes and
skip_zeroes_at_end.

opcodes/:
* disassemble.c (disassemble_init_for_target) <case
bfd_arch_ia64>: Set skip_zeroes to 16.
<case bfd_arch_tic4x>: Set skip_zeroes to 32.

19 years agodaily update
Alan Modra [Sun, 9 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc
Eric Botcazou [Sun, 9 Jan 2005 19:49:22 +0000 (19:49 +0000)]
* elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc
to zero the structure.
(create_got_section): Use BFD_ASSERT instead of abort.

19 years ago * elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and
Eric Botcazou [Sun, 9 Jan 2005 19:48:28 +0000 (19:48 +0000)]
* elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and
'srelgot' fields.
(create_got_section): New function.
(sparc64_elf_create_dynamic_sections): Likewise.
(sparc64_elf_check_relocs): Invoke create_got_section instead of
_bfd_elf_create_got_section.  Use the sgot and srelgot shortcuts.
(sparc64_elf_size_dynamic_sections): Use the srelgot shortcut.
(sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts.
(sparc64_elf_finish_dynamic_symbol): Likewise.
(sparc64_elf_finish_dynamic_sections): Use the sgot shortcut.
(elf_backend_create_dynamic_sections): Define to
sparc64_elf_create_dynamic_sections.

19 years ago * gas/i386/intel16.d: Ignore trailing text with #pass.
Andreas Schwab [Sun, 9 Jan 2005 14:12:07 +0000 (14:12 +0000)]
* gas/i386/intel16.d: Ignore trailing text with #pass.
* gas/i386/intelok.d: Likewise.
* gas/i386/prefix.d: Likewise.
* gas/i386/sub.d: Likewise.
* gas/i386/padlock.d: Likewise.
* gas/i386/x86_64.d: Likewise.

19 years ago * elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
Eric Botcazou [Sun, 9 Jan 2005 09:26:55 +0000 (09:26 +0000)]
* elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.
* elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.

19 years agodaily update
Alan Modra [Sat, 8 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 7 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
Jakub Jelinek [Fri, 7 Jan 2005 09:52:00 +0000 (09:52 +0000)]
* bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
PT_DYNAMIC segment, unless .dynamic.

19 years agodaily update
Alan Modra [Thu, 6 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
Eric Botcazou [Thu, 6 Jan 2005 18:05:17 +0000 (18:05 +0000)]
* configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
(sparc64-sun-solaris2*): New host.

19 years ago2005-01-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 6 Jan 2005 16:18:25 +0000 (16:18 +0000)]
2005-01-06  Paul Brook  <paul@codesourcery.com>

bfd/
* config.bfd: Add entry for arm-*-vxworks and arm-*-windiss.
* configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec.
* configure: Regenerate.
* elf32-arm.c: Add VxWorks target bfd.
(USE_REL): Remove.
(elf32_arm_link_hash_table): Add use_rel.
(elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate,
elf32_arm_relocate_section): Replace USE_REL with runtime check.
Correct offset calculation for RELA case.
(elf_backend_may_use_rel_p, elf_backend_may_use_rela_p,
elf_backend_default_use_rela_p, elf_backend_rela_normal): Define.
(elf32_arm_vxworks_link_hash_table_create): New function.
* targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration.
(bfd_elf32_littlearm_vxworks_vec): Ditto.
(_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec.
gas/
* config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
(md_begin): Handle TE_VXWORKS for FP defaults.
(md_apply_fix3): Correct rela offsets.
(elf32_arm_target_format): Add VxWorks targets.
ld/
* Makefie.am: Add earmelf_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make arm-*-vxworks a separate case.
* emulparams/armelf_vxworks.sh: New function.

19 years ago * configure.tgt: Set em=vxworks for *-*-vxworks.
Paul Brook [Thu, 6 Jan 2005 16:17:25 +0000 (16:17 +0000)]
* configure.tgt: Set em=vxworks for *-*-vxworks.
* config/te-vxworks.h: New File.

19 years ago * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
Paul Brook [Thu, 6 Jan 2005 15:30:57 +0000 (15:30 +0000)]
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.

19 years agobfd/
Alan Modra [Thu, 6 Jan 2005 09:03:56 +0000 (09:03 +0000)]
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and
multi_toc_needed.
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define.
(ppc64_elf_check_relocs): Update references to has_gp_reloc.
(ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit.
(ppc64_elf_next_toc_section): Heed no_multi_toc.
(ppc64_elf_reinit_toc): Set multi_toc_needed.
(toc_adjusting_stub_needed): Rewrite.
(ppc64_elf_next_input_section): Use multi_toc_needed to shortcut
toc tests.  Adjust for toc_adjusting_stub_needed changes.
(ppc64_elf_size_stubs): Update references to has_gp_reloc.
* elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype.
* section.c: Expand comment on backend bits.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
ld/
* emultempl/ppc64elf.em (no_multi_toc): New var.
(gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
(OPTION_NO_MULTI_TOC): Define.
(PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.

19 years ago * elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
Alan Modra [Thu, 6 Jan 2005 08:41:05 +0000 (08:41 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
toc adjusting stub, do not test source section flags.

19 years agodaily update
Alan Modra [Wed, 5 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Jan 2005 17:29:41 +0000 (17:29 +0000)]
2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Display base address
specifiers.  Always output <End of list>.

19 years ago2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Jan 2005 16:15:47 +0000 (16:15 +0000)]
2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (have_frame_base): New.
(need_base_address): Likewise.
(saved_base_address): Likewise.
(decode_location_expression): Return 1 if DW_AT_frame_base is
needed.
(debug_info): Add base_address and a have_frame_base pointer.
(read_and_display_attr_value): Replace saved_DW_AT_low_pc with
saved_base_address. Record base address. Set have_frame_base.
Record if a location list has DW_AT_frame_base. Display if a
location expression has no DW_AT_frame_base but needs one. Set
saved_base_address only if needed.
(process_debug_info): Clear have_frame_base, saved_base_address
and set need_base_address.
(display_debug_loc): Display if a location expression has no
DW_AT_frame_base but needs one. Display if start >= end. Don't
adjust for section address. Properly handle base address.
(process_object): Free the have_frame_base pointer in
debug_info.

19 years agoPR binutils/614
Nick Clifton [Wed, 5 Jan 2005 16:03:23 +0000 (16:03 +0000)]
PR binutils/614
* ldmisc.c (vfinfo): Alter output to conform to the GNU Coding Standard's
specification for parsable error messages.

19 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
Eric Botcazou [Wed, 5 Jan 2005 15:24:56 +0000 (15:24 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from STABS debugging sections again.

19 years ago * gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].
Eric Botcazou [Wed, 5 Jan 2005 13:38:39 +0000 (13:38 +0000)]
* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].

19 years agoApproved by nickc@redhat.com:
Fred Fish [Wed, 5 Jan 2005 10:37:05 +0000 (10:37 +0000)]
Approved by nickc@redhat.com:

2005-01-05  Fred Fish  <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member.
(find_abstract_instance_name): New function.
(scan_unit_for_functions): Handle DW_TAG_inlined_subroutine.
(scan_unit_for_functions): Handle DW_AT_abstract_origin.
(_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit.

19 years ago2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 4 Jan 2005 23:37:18 +0000 (23:37 +0000)]
2005-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Display offsets for hole and
overlap.
(display_debug_str): Add a newline at the end.

19 years agodaily update
Alan Modra [Tue, 4 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago(oops - forogot to update the year in the copyright notice)
Nick Clifton [Tue, 4 Jan 2005 15:51:47 +0000 (15:51 +0000)]
(oops - forogot to update the year in the copyright notice)

19 years agoPR binutils/630
Nick Clifton [Tue, 4 Jan 2005 15:47:38 +0000 (15:47 +0000)]
PR binutils/630
* nlmconv.c (main): Only store the basename of the output filename in the
module table.

19 years ago * Makefile.am: Correct dependency for earmsymbian.c.
Paul Brook [Tue, 4 Jan 2005 15:16:25 +0000 (15:16 +0000)]
* Makefile.am: Correct dependency for earmsymbian.c.
* Makefile.in: Regenerate.

19 years agoBZ 615
Nick Clifton [Tue, 4 Jan 2005 11:20:45 +0000 (11:20 +0000)]
BZ 615
* readelf.c (process_debug_info): New.
(debug_info): Add num_loc_offsets, loc_offsets and
last_loc_offset_p.
(get_debug_info): Use process_debug_info.
(display_debug_loc): Properly handle location list. Warn if bad
location lists are encoutnered.
(read_and_process_attr_value): New.
(read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
(display_debug_info): Use process_debug_info.
(process_object): Also free loc_offsets in debug_information.

19 years ago(md_apply_fix3): Fix offset calculation for global label.
Nick Clifton [Tue, 4 Jan 2005 10:20:36 +0000 (10:20 +0000)]
(md_apply_fix3): Fix offset calculation for global label.

19 years agoAdd prototype for printf() and make type of "string" array be "char" in
Nick Clifton [Tue, 4 Jan 2005 10:13:02 +0000 (10:13 +0000)]
Add prototype for printf() and make type of "string" array be "char" in
order to avoid compile time warnings.

19 years agoLine number bug fix patch from David Mosberger.
Jim Wilson [Tue, 4 Jan 2005 05:42:42 +0000 (05:42 +0000)]
Line number bug fix patch from David Mosberger.
* config/tc-ia64.c (md): Add member "loc_directive_seen".
(dot_loc): New function.
(md_pseudo_table): Add entry to map .loc to dot_loc().
(emit_one_bundle): Only call dwarf2_gen_line_info() if we have
seen a .loc directive or we're generating DWARF2 debug info for
assembly source.

19 years agodaily update
Alan Modra [Mon, 3 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jan 2005 14:02:25 +0000 (14:02 +0000)]
2005-01-03  Paolo Bonzini  <bonzini@gnu.org>

Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.

19 years agodaily update
Alan Modra [Sun, 2 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 1 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 31 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
Paul Brook [Fri, 31 Dec 2004 16:22:25 +0000 (16:22 +0000)]
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.

19 years ago * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Alan Modra [Fri, 31 Dec 2004 00:43:58 +0000 (00:43 +0000)]
* reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Commit missing changes from 2004-12-22.
* bfd-in2.h: Regenerate.

19 years agodaily update
Alan Modra [Thu, 30 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago * gas/elf/elf.exp: Don't list reloc sections.
Alan Modra [Thu, 30 Dec 2004 22:41:31 +0000 (22:41 +0000)]
* gas/elf/elf.exp: Don't list reloc sections.
* gas/elf/section5.e: Remove reloc sections.

19 years ago * binutils-all/readelf.ss: Allow for both .rel and .rela sections.
Alan Modra [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 +0000)]
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.

19 years ago * objdump.c (remove_useless_symbols): Discard section symbols.
Alan Modra [Thu, 30 Dec 2004 22:33:20 +0000 (22:33 +0000)]
* objdump.c (remove_useless_symbols): Discard section symbols.

19 years agodaily update
Alan Modra [Wed, 29 Dec 2004 23:00:38 +0000 (23:00 +0000)]
daily update

19 years ago PR gas/619
Alan Modra [Wed, 29 Dec 2004 10:21:58 +0000 (10:21 +0000)]
PR gas/619
* read.c (s_comm_internal): Don't zero end of name until size
expression has been parsed.

19 years ago * emultempl/pe.em (set_pe_subsystem): Change second arg to
Danny Smith [Wed, 29 Dec 2004 05:59:29 +0000 (05:59 +0000)]
* emultempl/pe.em (set_pe_subsystem): Change second arg to
lang_add_entry to FALSE.

19 years agodaily update
Alan Modra [Tue, 28 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-28 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 28 Dec 2004 17:39:43 +0000 (17:39 +0000)]
2004-12-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383

* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include.  BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Mon, 27 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoRevert 2004-12-08 Makefile changes.
DJ Delorie [Mon, 27 Dec 2004 21:41:05 +0000 (21:41 +0000)]
Revert 2004-12-08 Makefile changes.

19 years agomerge from gcc
DJ Delorie [Mon, 27 Dec 2004 21:39:28 +0000 (21:39 +0000)]
merge from gcc

19 years ago2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 27 Dec 2004 19:08:31 +0000 (19:08 +0000)]
2004-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (read_leb128): Support 64bit host.

19 years agodaily update
Alan Modra [Sun, 26 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 25 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
Marek Michalkiewicz [Sat, 25 Dec 2004 20:34:24 +0000 (20:34 +0000)]
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.

19 years agodaily update
Alan Modra [Fri, 24 Dec 2004 23:00:08 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Thu, 23 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 23 Dec 2004 13:52:11 +0000 (13:52 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c: Mark 'bcop' instruction as RELAXABLE.

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 23 Dec 2004 13:50:36 +0000 (13:50 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 23 Dec 2004 13:48:25 +0000 (13:48 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.

19 years agoPR 600
Nick Clifton [Thu, 23 Dec 2004 12:27:45 +0000 (12:27 +0000)]
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.

19 years agodaily update
Alan Modra [Wed, 22 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * configure.tgt: New.
Ian Lance Taylor [Wed, 22 Dec 2004 15:29:25 +0000 (15:29 +0000)]
* configure.tgt: New.
* configure.in: Move setting of cpu_type, fmt, etc., to
configure.tgt.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/configure.tgt.
* configure, Makefile.in: Rebuild.

19 years ago* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Kris Warkentin [Wed, 22 Dec 2004 14:43:44 +0000 (14:43 +0000)]
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Add 'base' argument for constructing register sections.  Reformat.
(elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both
gp and fp regs.  Reformat.

19 years agoAdd support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
Nick Clifton [Wed, 22 Dec 2004 14:25:42 +0000 (14:25 +0000)]
Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
LDI, ADIW/SBIW and LDD/STD instructions.

19 years agoreadelf.c (last_pointer_size, warned_about_missing_comp_units):
Nick Clifton [Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)]
readelf.c (last_pointer_size, warned_about_missing_comp_units):
  New variables associated with obtaining the pointer size for a comp_unit.
  (get_pointer_size_of_comp_unit): Add an extra parameter - the name of the
  section requesting the pointer size.  Use this name in error messages.  If
  there are not enough comp_units available produce a warning message, but
  return the last known pointer size so that section dumping can continue.
  (get_debug_info): Reset the new variables.
  (display_debug_lines): Add extra parameter to invocation of
  get_pointer_size_of_comp_unit and remove error message when it returns 0.
  (display_debug_loc): Likewise.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Wed, 22 Dec 2004 08:14:38 +0000 (08:14 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* ld-crx/reloc-abs32.d: Update reference file according
to disassembler printing method.
  * ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.

19 years ago * elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
Alan Modra [Wed, 22 Dec 2004 03:59:26 +0000 (03:59 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
as-needed dynamic libs as undefined.
(elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed
libs when finding they are needed.

19 years agodaily update
Alan Modra [Tue, 21 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 21 Dec 2004 16:28:40 +0000 (16:28 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* ld-crx/reloc-abs32.d: Update reference file according to disassembler printing method.
  * ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 21 Dec 2004 16:26:54 +0000 (16:26 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/beq_insn.d: Update reference file according to
disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 21 Dec 2004 16:25:05 +0000 (16:25 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/beq_insn.d: Update reference file according to disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.

19 years ago * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
Hans-Peter Nilsson [Tue, 21 Dec 2004 13:09:55 +0000 (13:09 +0000)]
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.

19 years ago * cris.cpu (cris-set-mem): Correct integral write semantics.
Hans-Peter Nilsson [Tue, 21 Dec 2004 04:37:58 +0000 (04:37 +0000)]
* cris.cpu (cris-set-mem): Correct integral write semantics.

19 years agodaily update
Alan Modra [Mon, 20 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.am: Use $(SHELL) whenever we run move-if-change.
Ian Lance Taylor [Mon, 20 Dec 2004 21:22:33 +0000 (21:22 +0000)]
* Makefile.am: Use $(SHELL) whenever we run move-if-change.
* Makefile.in: Rebuild.

19 years ago* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
Nick Clifton [Mon, 20 Dec 2004 15:35:53 +0000 (15:35 +0000)]
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.

19 years agoIssue an error message if -static and -shared are used together.
Nick Clifton [Mon, 20 Dec 2004 15:16:06 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.

19 years agomerge from gcc
DJ Delorie [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc

19 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
Alan Modra [Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done.  Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.

19 years agodaily update
Alan Modra [Sun, 19 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 18 Dec 2004 23:00:11 +0000 (23:00 +0000)]
daily update