OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago* Makefile.tpl (clean-stage*): Sync with GCC (clean).
DJ Delorie [Tue, 14 Nov 2006 23:26:39 +0000 (23:26 +0000)]
* Makefile.tpl (clean-stage*): Sync with GCC (clean).
* Makefile.in: Sync with GCC.
* configure.in: Sync with GCC (mpfr, gmp).
* configure: Sync with GCC.

17 years agodaily update
Alan Modra [Tue, 14 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update

17 years ago2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
Daniel Jacobowitz [Tue, 14 Nov 2006 21:53:59 +0000 (21:53 +0000)]
2006-11-14  Maxim Grigoriev  <maxim@tensilica.com>

* NEWS: New port to Xtensa.
* Makefile.in: Add dependencies for Xtensa files.
* configure.tgt (xtensa*, xtensa*-*-elf*): New.
* configure.host (xtensa*-*-elf*): New.
* config/xtensa/xtensa.mt: New file.
* xtensa-config.c: New file.
* xtensa-tdep.h: New file.
* xtensa-tdep.c: New file.

2006-11-14  Maxim Grigoriev  <maxim@tensilica.com>

* gdb.texinfo (Contributors): Add contributors of Xtensa port.

17 years agogdb/
Daniel Jacobowitz [Tue, 14 Nov 2006 21:40:19 +0000 (21:40 +0000)]
gdb/
* remote.c (set_remote_cmd): Call help_list.
(show_remote_cmd): Skip legacy aliases.  Handle non-show_cmd
entries.  Add missed cleanup.
* cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
gdb/doc/
* gdb.texinfo (Remote configuration): Rewrite documentation for
packet configuration commands.
(OS Information): Adjust reference to qXfer:auxv:read.
(General Query Packets): Remove references to read-aux-vector-packet
and set remote get-thread-local-storage-address.

17 years ago* peXXigen.c: Updates for PE/COFF V8.0, and clarification
Nick Clifton [Tue, 14 Nov 2006 19:03:32 +0000 (19:03 +0000)]
* peXXigen.c: Updates for PE/COFF V8.0, and clarification
  (dir_names): Added CLR Runtime Header to dir_names[].
  (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX subsystem names
  (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
  (pe_print_idata, pe_print_edata)
  (_bfd_XX_bfd_copy_private_bfd_data_common)
  (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into DataDirectory.
* pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and IMAGE_SUBSYSTEM_XBOX.
* internal.h: Added defines for PE directory entry types.
  NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in pe.h

17 years ago * tls.m4 (GCC_CHECK_TLS): Fall back to a link test.
Daniel Jacobowitz [Tue, 14 Nov 2006 03:32:36 +0000 (03:32 +0000)]
* tls.m4 (GCC_CHECK_TLS): Fall back to a link test.

17 years agoMerge ChangeLog and multi.m4 from GCC repository.
Geoffrey Keating [Tue, 14 Nov 2006 02:04:57 +0000 (02:04 +0000)]
Merge ChangeLog and multi.m4 from GCC repository.

17 years ago*** empty log message ***
gdbadmin [Tue, 14 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 13 Nov 2006 22:58:48 +0000 (22:58 +0000)]
daily update

17 years agobfd/
Daniel Jacobowitz [Mon, 13 Nov 2006 20:39:21 +0000 (20:39 +0000)]
bfd/
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
(bfd_elf32_arm_set_byteswap_code): New prototype.
* bfd-in2.h: Regenerate.
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Don't take
byteswap_code as an argument.  Revert 2006-11-01 change.
(bfd_elf32_arm_set_byteswap_code): New.
(elf32_arm_size_dynamic_sections): Call
bfd_elf32_arm_process_before_allocation.
ld/
* emultempl/armelf.em (arm_elf_before_allocation): Only call
bfd_elf32_arm_process_before_allocation if no dynamic sections.

17 years agoFix last entry.
Daniel Jacobowitz [Mon, 13 Nov 2006 19:05:50 +0000 (19:05 +0000)]
Fix last entry.

17 years agoFixed up some indentation introduced by my last pactch.
Paul Gilliam [Mon, 13 Nov 2006 18:50:11 +0000 (18:50 +0000)]
Fixed up some indentation introduced by my last pactch.

17 years agoFix sigtramp cache code so that PPC register are read only if there is H/W.
Paul Gilliam [Mon, 13 Nov 2006 17:37:36 +0000 (17:37 +0000)]
Fix sigtramp cache code so that PPC register are read only if there is H/W.

17 years ago2006-11-13 Denis Pilat <denis.pilat@st.com>
Frederic Riss [Mon, 13 Nov 2006 09:33:30 +0000 (09:33 +0000)]
2006-11-13  Denis Pilat  <denis.pilat@st.com>

* terminal.c (_rl_get_screen_size): use wr and wc variable to store
window size.

17 years ago*** empty log message ***
gdbadmin [Mon, 13 Nov 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 12 Nov 2006 22:58:49 +0000 (22:58 +0000)]
daily update

17 years ago * arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
Ben Harris [Sun, 12 Nov 2006 11:06:31 +0000 (11:06 +0000)]
* arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.

17 years ago*** empty log message ***
gdbadmin [Sun, 12 Nov 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 11 Nov 2006 22:58:50 +0000 (22:58 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 11 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 10 Nov 2006 22:58:51 +0000 (22:58 +0000)]
daily update

17 years ago * frame.c (frame_register_unwind_location): New function.
Daniel Jacobowitz [Fri, 10 Nov 2006 20:11:35 +0000 (20:11 +0000)]
* frame.c (frame_register_unwind_location): New function.
(get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
(frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
* frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.

17 years agogdb/
Daniel Jacobowitz [Fri, 10 Nov 2006 19:20:37 +0000 (19:20 +0000)]
gdb/
* arch-utils.c (target_byte_order_user): Renamed from
target_byte_order.
(target_byte_order_auto, selected_byte_order): Removed.
(show_endian): Check target_byte_order_user.
(set_endian): Always update the architecture.  Set
target_byte_order_user after success.
(target_architecture_auto): Removed.
(target_architecture_user): New.
(selected_architecture_name, show_architecture): Check it.
(set_architecture): Set target_architecture_user after success.
(gdbarch_from_bfd): Check the argument.
(default_byte_order): New.
(initialize_current_architecture): Set the global default
architecture and endianness.
(gdbarch_info_fill): Remove GDBARCH argument.  Do not check the
previous architecture.  Use exec_bfd, global selected architecture
and endianness, and global defaults.
* arch-utils.h (selected_byte_order): Remove prototype.
(gdbarch_info_fill): Update.
* exec.c (exec_file_attach): Update the architecture after removing
the current file.
* gdbarch.sh: Update comments.
(find_arch_by_info): Remove OLD_GDBARCH argument.  Update call to
gdbarch_info_fill.
(gdbarch_find_by_info): Update call to find_arch_by_info.
* gdbarch.h, gdbarch.c: Regenerated.
* remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
gdb/doc/
* gdbint.texinfo (Target Architecture Definition): Add new
Initializing a New Architecture section.

17 years ago2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Fri, 10 Nov 2006 16:58:53 +0000 (16:58 +0000)]
2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>

        * gdb.base/completion.exp: Fix completion tests for
        'info' and 'info '.
        * gdb.base/help.exp (help_test_raw, test_class_help)
        (test_prefix_command_help): Move...
        * lib/gdb.exp: Here.
        * gdb.base/main.exp: Adjust.
        * gdb.cp/maint.exp: Adjust.
        * gdb.trace/tracecmd.exp: Use test_help_class.

17 years ago * config.bfd (mips*el-sde-elf*, mips*-sde-elf*): Drop ECOFF support
Thiemo Seufer [Fri, 10 Nov 2006 14:37:33 +0000 (14:37 +0000)]
* config.bfd (mips*el-sde-elf*, mips*-sde-elf*): Drop ECOFF support
for SDE configs.

17 years ago* config.bfd: Move previously obsoleted targets to the REMOVED list.
Nick Clifton [Fri, 10 Nov 2006 07:53:33 +0000 (07:53 +0000)]
* config.bfd: Move previously obsoleted targets to the REMOVED list.
  Add maxq-*-coff to the obsolete list.

17 years ago * pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".
Nick Clifton [Fri, 10 Nov 2006 07:35:19 +0000 (07:35 +0000)]
 * pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".
 * pei-arm-wince.c (LOCAL_LABEL_PREFIX): Likewise.
 * coff-arm.c (LOCAL_LABEL_PREFIX): Only define if not defined before.
 * gas/arm/undefined.d: Run test on Windows CE.
 * gas/arm/undefined_coff.d: Don't run test on Windows CE.

17 years ago * help/trace/locals.html: Remove all references to gdb.ini. Even
Keith Seitz [Fri, 10 Nov 2006 07:10:40 +0000 (07:10 +0000)]
    * help/trace/locals.html: Remove all references to gdb.ini. Even
        Cygwin now uses .gdbinit.
        * help/trace/watch.html: Likewise.

17 years ago2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Nov 2006 03:54:11 +0000 (03:54 +0000)]
2006-11-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (print_insn): Check PREFIX_REPNZ before
PREFIX_DATA when prefix user table is used.

17 years ago2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 10 Nov 2006 02:13:40 +0000 (02:13 +0000)]
2006-11-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
(twobyte_uses_DATA_prefix): This.
(twobyte_uses_REPNZ_prefix): New.
(twobyte_uses_REPZ_prefix): Likewise.
(threebyte_0x38_uses_DATA_prefix): Likewise.
(threebyte_0x38_uses_REPNZ_prefix): Likewise.
(threebyte_0x38_uses_REPZ_prefix): Likewise.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(threebyte_0x3a_uses_REPNZ_prefix): Likewise.
(threebyte_0x3a_uses_REPZ_prefix): Likewise.
(print_insn): Updated checking usages of DATA/REPNZ/REPZ
prefixes.

17 years agoFix garbled ChangeLog entry.
Jim Blandy [Fri, 10 Nov 2006 01:12:24 +0000 (01:12 +0000)]
Fix garbled ChangeLog entry.

17 years ago*** empty log message ***
gdbadmin [Fri, 10 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 9 Nov 2006 22:58:52 +0000 (22:58 +0000)]
daily update

17 years ago2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Thu, 9 Nov 2006 19:31:14 +0000 (19:31 +0000)]
2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>

        * gdb.stabs/weird.exp (print_weird_var): Use
        gdb_test_multiple instead of gdb_expect.

17 years agoMove changelog entry to the right place
Vladimir Prus [Thu, 9 Nov 2006 19:26:45 +0000 (19:26 +0000)]
Move changelog entry to the right place

17 years ago2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Thu, 9 Nov 2006 19:22:11 +0000 (19:22 +0000)]
2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>

        * gdb.base/help.exp (help_test_raw): New.
        (test_class_help): New.
        (test_prefix_command_help): New.
        Adjust testcases.

17 years ago * sparc-tdep.c (sparc_fetch_instruction): Read instruction
Joel Brobecker [Thu, 9 Nov 2006 16:36:58 +0000 (16:36 +0000)]
    * sparc-tdep.c (sparc_fetch_instruction): Read instruction
        using read_memory_nobpt.

17 years ago2006-11-08 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Thu, 9 Nov 2006 16:25:54 +0000 (16:25 +0000)]
2006-11-08  Jie Zhang  <jie.zhang@analog.com>

        * configure.in: Remove target-libgloss from noconfigdirs for
        bfin-*-*.
        * configure: Regenerated.

17 years ago2006-11-09 Christophe Lyon <christophe.lyon@st.com>
Frederic Riss [Thu, 9 Nov 2006 09:20:17 +0000 (09:20 +0000)]
2006-11-09  Christophe Lyon  <christophe.lyon@st.com>

* gdb.base/constvars.c (main): Write to crass and crips, so that
they are allocated by the compiler.

17 years ago*** empty log message ***
gdbadmin [Thu, 9 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 8 Nov 2006 22:58:53 +0000 (22:58 +0000)]
daily update

17 years ago2006-11-08 Jie Zhang <jzhang918@gmail.com>
Jeff Johnston [Wed, 8 Nov 2006 20:28:29 +0000 (20:28 +0000)]
2006-11-08  Jie Zhang  <jzhang918@gmail.com>

        * configure.in: Remove target-libgloss from noconfigdirs for
        bfin-*-*.
        * configure: Regenerated.

17 years agogas/
H.J. Lu [Wed, 8 Nov 2006 19:56:02 +0000 (19:56 +0000)]
gas/

2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (CpuPNI): Removed.
(CpuUnknownFlags): Replace CpuPNI with CpuSSE3.
* config/tc-i386.c (md_assemble): Likewise.

include/opcode/

2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Replace CpuPNI with CpuSSE3.

17 years agomerge from gcc
DJ Delorie [Wed, 8 Nov 2006 19:09:26 +0000 (19:09 +0000)]
merge from gcc

17 years ago2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Wed, 8 Nov 2006 16:18:58 +0000 (16:18 +0000)]
2006-11-08  Vladimir Prus  <vladimir@codesourcery.com>

        * pex-win32.c (no_suffixes): Remove.
        (std_suffixes): Add "" as first element.
        (find_executable): Remove detection of already-present
        extension. Try all suffixes in std_suffixes.

17 years ago * basic.exp: Fix spelling in comment. Use canonical form of target
Thiemo Seufer [Wed, 8 Nov 2006 12:00:11 +0000 (12:00 +0000)]
* basic.exp: Fix spelling in comment. Use canonical form of target
patterns. Run DSP test only for DSP-capable ISAs. Check also mips32r2
and mips64r2 if supported by the target.

17 years ago*** empty log message ***
gdbadmin [Wed, 8 Nov 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 7 Nov 2006 22:58:54 +0000 (22:58 +0000)]
daily update

17 years ago * gentmap.c: Fix compile time warning.
Thiemo Seufer [Tue, 7 Nov 2006 19:29:59 +0000 (19:29 +0000)]
* gentmap.c: Fix compile time warning.

17 years ago * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
Thiemo Seufer [Tue, 7 Nov 2006 19:07:41 +0000 (19:07 +0000)]
* sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
for bfd text addresses.

17 years ago * floatformat.c (get_field): Fix segfault with little-endian word
Julian Brown [Tue, 7 Nov 2006 15:17:40 +0000 (15:17 +0000)]
* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.

17 years ago * dsp.igen (do_w_op): Fix compiler warning.
Thiemo Seufer [Tue, 7 Nov 2006 14:59:49 +0000 (14:59 +0000)]
* dsp.igen (do_w_op): Fix compiler warning.

17 years ago * elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set it
Daniel Jacobowitz [Tue, 7 Nov 2006 14:57:45 +0000 (14:57 +0000)]
* elf32-arm.c (find_thumb_glue): Add ERROR_MESSAGE argument; set it
on error.
(find_arm_glue): Likewise.
(elf32_thumb_to_arm_stub, elf32_arm_create_thumb_stub)
(elf32_arm_to_thumb_stub, elf32_arm_final_link_relocate): Add
ERROR_MESSAGE argument and pass it through.
(elf32_arm_to_thumb_export_stub): Update.
(elf32_arm_relocate_section): Use ERROR_MESSAGE and reloc_dangerous.

17 years ago * elf64-ppc.c (enum _ppc64_sec_type): New.
Alan Modra [Tue, 7 Nov 2006 03:34:52 +0000 (03:34 +0000)]
* elf64-ppc.c (enum _ppc64_sec_type): New.
(struct _ppc64_elf_section_data): Move "t_symndx" into opd union,
and rename fields.  Add sec_type and has_14bit_branch.
(struct ppc_link_hash_table): Remove has_14bit_branch.
(get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust.
(ppc64_elf_relocate_section): Likewise.
(ppc64_elf_check_relocs): Likewise.  Set per-section has_14bit_branch.
(ppc64_elf_size_stubs): Don't set default group size here.
(group_sections): Instead do so here, and group sections using
their individual requirements.

17 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"
Alan Modra [Tue, 7 Nov 2006 03:24:13 +0000 (03:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Remove "has_dotsym"
and union.
(struct ppc_link_hash_entry): Add "next_dot_sym".
(struct ppc_link_hash_table): Add "dot_syms".
(link_hash_newfunc): Make list of syms starting with a dot.
(ppc_get_stub_entry, adjust_opd_syms): Adjust.
(ppc64_elf_add_symbol_hook): Don't set has_dotsym.
(struct add_symbol_adjust_data): Delete.
(add_symbol_adjust): Simplify params and return.
(ppc64_elf_check_directives): Just process the "dot_syms" lists,
not all syms.

17 years ago*** empty log message ***
gdbadmin [Tue, 7 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2006-11-06 Jim Blandy <jimb@codesourcery.com>
Jim Blandy [Mon, 6 Nov 2006 23:20:12 +0000 (23:20 +0000)]
2006-11-06  Jim Blandy  <jimb@codesourcery.com>

* (dwarf_expr_read_reg): Use frame_register_read, not frame_register.
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
instead of frame_register.  Doc fix.

17 years agodaily update
Alan Modra [Mon, 6 Nov 2006 22:58:55 +0000 (22:58 +0000)]
daily update

17 years ago * server.c (handle_query): Correct error handling for read_auxv.
Daniel Jacobowitz [Mon, 6 Nov 2006 21:50:32 +0000 (21:50 +0000)]
* server.c (handle_query): Correct error handling for read_auxv.

17 years ago * ppc-opc.c: Restore COM to mfcr wrongly removed 2003-07-04.
Alan Modra [Mon, 6 Nov 2006 00:46:07 +0000 (00:46 +0000)]
* ppc-opc.c: Restore COM to mfcr wrongly removed 2003-07-04.

17 years ago*** empty log message ***
gdbadmin [Mon, 6 Nov 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 5 Nov 2006 22:58:55 +0000 (22:58 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 5 Nov 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 4 Nov 2006 22:58:57 +0000 (22:58 +0000)]
daily update

17 years ago2006-11-04 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Sat, 4 Nov 2006 08:37:24 +0000 (08:37 +0000)]
2006-11-04  Vladimir Prus  <vladimir@codesourcery.com>

       * serial.c (serial_open): Strip leading spaces from program
       name when opening pipe.

17 years ago*** empty log message ***
gdbadmin [Sat, 4 Nov 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 3 Nov 2006 22:58:59 +0000 (22:58 +0000)]
daily update

17 years ago2006-11-03 Jim Blandy <jimb@codesourcery.com>
Jim Blandy [Fri, 3 Nov 2006 22:09:28 +0000 (22:09 +0000)]
2006-11-03  Jim Blandy  <jimb@codesourcery.com>

        * dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
        instead of frame_register.  Doc fix.

17 years agobfd/
Daniel Jacobowitz [Fri, 3 Nov 2006 00:58:10 +0000 (00:58 +0000)]
bfd/
* libbfd-in.h (_bfd_clear_contents): New prototype.
* reloc.c (_bfd_clear_contents): New.
* libbfd.h: Regenerated.

* elf32-arm.c (elf32_arm_final_link_relocate): Use
_bfd_clear_contents.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

* elfxx-ia64.c (elfNN_ia64_relocate_section): Set value to
zero for discarded symbols.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
ld/testsuite/
* ld-discard/zero-rel.d, ld-discard/zero-rel.s: New files.

17 years ago*** empty log message ***
gdbadmin [Fri, 3 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 2 Nov 2006 22:59:00 +0000 (22:59 +0000)]
daily update

17 years ago * dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
Daniel Jacobowitz [Thu, 2 Nov 2006 21:34:07 +0000 (21:34 +0000)]
* dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
(load_full_comp_unit): Take OBJFILE argument and use it.
(dwarf2_build_psymtabs_hard): Skip partial units.
(process_queue): Pass OBJFILE to load_full_comp_unit.  Check
type_hash for read in CUs.  Test psymtab for NULL.

17 years ago * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.
Daniel Jacobowitz [Thu, 2 Nov 2006 21:32:22 +0000 (21:32 +0000)]
* arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.

17 years ago [ bfd/ChangeLog ]
Thiemo Seufer [Thu, 2 Nov 2006 15:20:31 +0000 (15:20 +0000)]
[ bfd/ChangeLog ]
* elf-bfd.h (local_call_stubs): New member.
* elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros.
(mips_elf_calculate_relocation): Handle local mips16 call stubs.
(mips16_stub_section_p): Rename from mips_elf_stub_section_p, use
the new stub macros.
(_bfd_mips_elf_check_relocs): Handle call stubs for code which
mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark
used stubs with SEC_KEEP. Use the new stub macros.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips16-intermix.d, gas/mips/mips16-intermix.s: New
testcase.
* gas/mips/mips.exp: Run new testcase.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s,
ld-mips-elf/mips16-intermix.d: New testcase.
* ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.

17 years ago*** empty log message ***
gdbadmin [Thu, 2 Nov 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 1 Nov 2006 22:58:59 +0000 (22:58 +0000)]
daily update

17 years ago * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Correct
Daniel Jacobowitz [Wed, 1 Nov 2006 20:00:25 +0000 (20:00 +0000)]
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Correct
check for PLT usage.

17 years ago * elfxx-mips.c (mips_elf_merge_gots): Always use maxcnt.
Daniel Jacobowitz [Wed, 1 Nov 2006 16:07:46 +0000 (16:07 +0000)]
* elfxx-mips.c (mips_elf_merge_gots): Always use maxcnt.

17 years ago* tc-score.c (do16_rdrs): Handle not! instruction especially.
Nick Clifton [Wed, 1 Nov 2006 10:29:49 +0000 (10:29 +0000)]
* tc-score.c (do16_rdrs): Handle not! instruction especially.
* score-opc.h (score_opcodes): Delete modifier '0x'.
* gas/score/rD_rA.d: Correct not! and not.c instruction disassembly.
* gas/score/b.d: Correct b! and b instruction disassembly.

17 years ago*** empty log message ***
gdbadmin [Wed, 1 Nov 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 31 Oct 2006 22:59:01 +0000 (22:59 +0000)]
daily update

17 years ago * stabs.texinfo (Macro define and undefine): New node describing
Eli Zaretskii [Tue, 31 Oct 2006 22:38:27 +0000 (22:38 +0000)]
* stabs.texinfo (Macro define and undefine): New node describing
stabs for #define and #undef.

17 years ago2006-10-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 31 Oct 2006 20:21:57 +0000 (20:21 +0000)]
2006-10-30  Paul Brook  <paul@codesourcery.com>

binutils/
* objdump.c (disassemble_section): Set info->symtab_pos.
(disassemble_data): Set info->symtab and info->symtab_size.

include/
* dis-asm.h (disassemble_info): Add symtab, symtab_pos and
symtab_size.

opcodes/
* arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
(get_sym_code_type): New function.
(print_insn): Search for mapping symbols.

17 years agoImprove "help all".
Vladimir Prus [Tue, 31 Oct 2006 11:45:41 +0000 (11:45 +0000)]
Improve "help all".

17 years ago* tc-score.c (data_op2): Check invalid operands.
Nick Clifton [Tue, 31 Oct 2006 09:54:41 +0000 (09:54 +0000)]
* tc-score.c (data_op2): Check invalid operands.
  (my_get_expression): Const operand of some instructions can not be symbol in assembly.
  (get_insn_class_from_type): Handle instruction type Insn_internal.
  (do_macro_ldst_label): Modify inst.type.
  (Insn_PIC): Delete.
* score-inst.h (enum score_insn_type): Add Insn_internal.
* tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
* score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.

17 years ago * elf.c (elfcore_write_note): Pad note descriptor to 4-byte
Alan Modra [Tue, 31 Oct 2006 02:36:18 +0000 (02:36 +0000)]
* elf.c (elfcore_write_note): Pad note descriptor to 4-byte
boundary.  Tidy.  Comment.

17 years ago*** empty log message ***
gdbadmin [Tue, 31 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agobfd/
H.J. Lu [Mon, 30 Oct 2006 23:25:51 +0000 (23:25 +0000)]
bfd/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* elf-bfd.h (elf_obj_tdata): Add symbuf.
(_bfd_elf_section_already_linked): Add struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(bfd_elf_match_symbols_in_sections): Likewise.

* elf.c (assign_section_numbers): Updated to add
struct bfd_link_info *.
(bfd_elf_match_symbols_in_sections): Updated. Cache symbol
buffer if info->reduce_memory_overheads is false.

* elflink.c (match_group_member): Updated to add
struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(elf_link_input_bfd): Likewise.
(_bfd_elf_section_already_linked): Likewise.
(bfd_elf_final_link): Free symbol buffer if
info->reduce_memory_overheads is false.

* libbfd-in.h (_bfd_nolink_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* libbfd.h: Regenerated.

* linker.c (bfd_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* targets.c (bfd_target): Add struct bfd_link_info * to
_section_already_linked.
* bfd-in2.h: Regenerated.

include/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* bfdlink.h (bfd_link_info): Add reduce_memory_overheads.

ld/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* ld.h (args_type): Remove reduce_memory_overheads.

* ldlang.c (lang_map): Updated.
(section_already_linked): Likewise.
(print_input_section): Likewise.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.

17 years agodaily update
Alan Modra [Mon, 30 Oct 2006 22:59:02 +0000 (22:59 +0000)]
daily update

17 years ago * bfd-in2.h: Regenerate.
Alan Modra [Mon, 30 Oct 2006 07:44:11 +0000 (07:44 +0000)]
* bfd-in2.h: Regenerate.

17 years ago * bfd.c (bfd_error_type): Add bfd_error_on_input.
Alan Modra [Mon, 30 Oct 2006 07:41:17 +0000 (07:41 +0000)]
* bfd.c (bfd_error_type): Add bfd_error_on_input.
(input_bfd, input_error): New static vars.
(bfd_set_error): Handle bfd_error_on_input.
(bfd_errmsg): Likewise.
(bfd_perror): Simplify.
* archive.c (_bfd_write_archive_contents): Report errors on input.

17 years ago*** empty log message ***
gdbadmin [Mon, 30 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * elf.c (elfcore_write_note): Pad to 4-byte boundary.
Alan Modra [Sun, 29 Oct 2006 23:49:37 +0000 (23:49 +0000)]
* elf.c (elfcore_write_note): Pad to 4-byte boundary.

17 years agodaily update
Alan Modra [Sun, 29 Oct 2006 22:59:02 +0000 (22:59 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 29 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 28 Oct 2006 22:59:03 +0000 (22:59 +0000)]
daily update

17 years agoinclude/elf/
Richard Sandiford [Sat, 28 Oct 2006 10:13:49 +0000 (10:13 +0000)]
include/elf/
* mips.h (R_MIPS_GLOB_DAT): Define
(R_MIPS_max): Bump by 1.

bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
* elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
(elf_mips_howto_table_rela): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
(mips_elf64_howto_table_rela): Likewise.

17 years ago*** empty log message ***
gdbadmin [Sat, 28 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 27 Oct 2006 23:59:04 +0000 (23:59 +0000)]
daily update

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Oct 2006 23:00:35 +0000 (23:00 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.
        * COPYING.LIBGLOSS: Ditto.