OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago2005-08-15 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 15 Aug 2005 15:01:39 +0000 (15:01 +0000)]
2005-08-15  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_howto_table_1): Make R_ARM_PLT32 the same as
R_ARM_PC24.

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

18 years ago*** empty log message ***
gdbadmin [Mon, 15 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * hppa-dis.c (print_insn_hppa): Don't print '%' before register names.
Dave Anglin [Sun, 14 Aug 2005 01:15:34 +0000 (01:15 +0000)]
* hppa-dis.c (print_insn_hppa): Don't print '%' before register names.
Use "rp" instead of "%r2" in "b,l" insns.

18 years ago PR ld/1135
Dave Anglin [Sun, 14 Aug 2005 01:01:32 +0000 (01:01 +0000)]
PR ld/1135
* elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for
.plt, .dlt, .sdata, .sbss and .tbss.

18 years ago*** empty log message ***
gdbadmin [Sun, 14 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years ago* solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
Mark Kettenis [Sat, 13 Aug 2005 22:37:08 +0000 (22:37 +0000)]
* solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
appropriate.

18 years ago* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
Mark Kettenis [Sat, 13 Aug 2005 22:31:30 +0000 (22:31 +0000)]
* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
instead of 8.
* m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
"tramp-frame.h".
(m68kobsd_sigtramp_cache_init): New function.
(m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.

18 years ago* inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
Mark Kettenis [Sat, 13 Aug 2005 22:23:35 +0000 (22:23 +0000)]
* inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
code...
(inf_ptrace_post_startup_inferior): ...here.  New function.
(inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Move code...
(inf_ptrace_post_attach): ...here.
(inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set
to_post_startup_inferior and to_post_attch.

18 years ago* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
Mark Kettenis [Sat, 13 Aug 2005 22:12:24 +0000 (22:12 +0000)]
* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.

18 years ago* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
Mark Kettenis [Sat, 13 Aug 2005 22:09:06 +0000 (22:09 +0000)]
* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
"__sighndlr".

18 years ago* i386-linux-nat.c (fetch_register, store_register)
Mark Kettenis [Sat, 13 Aug 2005 22:03:46 +0000 (22:03 +0000)]
* i386-linux-nat.c (fetch_register, store_register)
(supply_gregset, fill_gregset): Remove redundant casts.

18 years ago*** empty log message ***
gdbadmin [Sat, 13 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years ago * s390-dis.c (print_insn_s390): Print unsigned operands with %u.
Martin Schwidefsky [Fri, 12 Aug 2005 18:03:03 +0000 (18:03 +0000)]
* s390-dis.c (print_insn_s390): Print unsigned operands with %u.
* s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109.
(main): Likewise.
* s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates
and 4 bit optional masks.
(INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD,
INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats.
(MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD,
MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise.
(s390_opformats): Likewise.
* s390-opc.txt: Add new instructions for cpu type z9-109.

18 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
Martin Schwidefsky [Fri, 12 Aug 2005 18:02:38 +0000 (18:02 +0000)]
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.

18 years ago2005-08-12 Kris Warkentin <kewarken@qnx.com>
Kris Warkentin [Fri, 12 Aug 2005 17:28:57 +0000 (17:28 +0000)]
2005-08-12  Kris Warkentin  <kewarken@qnx.com>

    * i386-nto-tdep.c (i386nto_init_abi): Don't set gdbarch skip
      trampoline code hook.
    * nto-procfs.c (procfs_post_attach): Call solib_create_inferior_hook
      instead of  SOLIB_CREATE_INFERIOR_HOOK.
      (procfs_create_inferior): Ditto.
    * config/tm-nto.h: Don't define SKIP_TRAMPOLINE_CODE.

18 years agotoplevel:
Paolo Bonzini [Fri, 12 Aug 2005 14:22:33 +0000 (14:22 +0000)]
toplevel:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Replace NCN_STRICT_CHECK_TOOL with
NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
Look for alternate names of the target cc and c++

config:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
NCN_STRICT_CHECK_TARGET_TOOL): Remove.
(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,

18 years ago2005-08-12 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Fri, 12 Aug 2005 11:45:26 +0000 (11:45 +0000)]
2005-08-12  Dmitry Diky  <diwil@spec.ru>

* elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust relocations
referenced by .section + DISPLACEMENT.

18 years ago*** empty log message ***
gdbadmin [Fri, 12 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 12 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago PR exp/1978
Andreas Schwab [Thu, 11 Aug 2005 13:45:40 +0000 (13:45 +0000)]
PR exp/1978
* valarith.c (value_binop): Fix result type for the shift
operators.

18 years agodaily update
Alan Modra [Thu, 11 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 11 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoFix linker error found when compiling glibc with a mismatched gcc.
Jim Wilson [Wed, 10 Aug 2005 23:33:39 +0000 (23:33 +0000)]
Fix linker error found when compiling glibc with a mismatched gcc.
* dwarf2.c (scan_unit_for_symbols, case DT_AT_location): Verify that
DW_OP_addr is only opcode in location before using it.

18 years ago2005-08-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 10 Aug 2005 04:32:49 +0000 (04:32 +0000)]
2005-08-09  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_final_link): Reset gp.

18 years ago * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
Dave Anglin [Wed, 10 Aug 2005 02:51:52 +0000 (02:51 +0000)]
* hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
New defines.

18 years agodaily update
Alan Modra [Wed, 10 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 10 Aug 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* sparc64obsd-tdep.c: Tweak comments.
Mark Kettenis [Tue, 9 Aug 2005 19:32:59 +0000 (19:32 +0000)]
* sparc64obsd-tdep.c: Tweak comments.
(sparc64obsd_sigreturn_offset): Add offset for new OpenBSD 3.8
signal trampoline.

18 years ago * lib/mi-support.exp (mi_gdb_load): Fix typo.
Corinna Vinschen [Tue, 9 Aug 2005 19:00:16 +0000 (19:00 +0000)]
* lib/mi-support.exp (mi_gdb_load): Fix typo.

18 years ago2005-08-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Aug 2005 16:35:45 +0000 (16:35 +0000)]
2005-08-09  Andrew Cagney  <cagney@gnu.org>

* linux-nat.h (linux_proc_xfer_memory): Change type of "myaddr" a
"gdb_byte" pointer.
* linux-nat.c (linux_proc_xfer_memory): Update.
(get_signo): Cast signo to a "gdb_byte" pointer.
* i386-linux-nat.c (child_resume): Make "buf" a gdb_byte, delete
redundant casts.
(child_resume): Cast eflags to a "gdb_byte" pointer.

18 years agoOops - omitted by accident from the previous msp430 patch
Nick Clifton [Tue, 9 Aug 2005 08:57:34 +0000 (08:57 +0000)]
Oops - omitted by accident from the previous msp430 patch

18 years ago(xcoff64_core_p): Constify return_value variable. Also, do not use core_hdr
Nick Clifton [Tue, 9 Aug 2005 08:56:36 +0000 (08:56 +0000)]
(xcoff64_core_p): Constify return_value variable.  Also, do not use core_hdr
macro as it evaluates to a cast of an lvalue which is no longer supported by
GCC 4.0.

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

18 years ago*** empty log message ***
gdbadmin [Tue, 9 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
Mark Kettenis [Mon, 8 Aug 2005 20:59:19 +0000 (20:59 +0000)]
* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
instead of 8.
* m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
"tramp-frame.h".
(m68kobsd_sigtramp_cache_init): New function.
(m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.

18 years agoAdd support for msp430x21xx variants
Nick Clifton [Mon, 8 Aug 2005 17:08:02 +0000 (17:08 +0000)]
Add support for msp430x21xx variants

18 years agoPR 1147
Nick Clifton [Mon, 8 Aug 2005 11:06:16 +0000 (11:06 +0000)]
PR 1147
elf32-arm.c (bfd_elf32_close_and_cleanup): Define.
  (elf32_arm_close_and_cleanup): New function - walk over the sections in the
    bfd that is being closed removing them from the list of recorded sections.
  (unrecord_section_via_map_over_sections): New helper function.
  (record_section_with_arm_elf_section_data): Call bfd_malloc instead of
    bfd_alloc.  Remove unneeded abfd parameter.
  (elf32_arm_new_section_hook): Do not pass bfd to record_section_with_arm_elf_section_data.
elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not already
  defined by the target.

18 years ago2005-08-08 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 8 Aug 2005 09:21:05 +0000 (09:21 +0000)]
2005-08-08  Paolo Bonzini  <bonzini@gnu.org>

* configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find
them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target
tools; remove code to manually set them.
(Target tools): Look in the environment for them.
* Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine.
(AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc
build directory.
(CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET,
CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET,
CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET,
USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New.
(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE,
RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete.
* configure: Regenerate.
* Makefile.in: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Mon, 8 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years agoReviewed and approved by Nick Clifton <nickc@redhat.com>
Fred Fish [Sun, 7 Aug 2005 14:47:02 +0000 (14:47 +0000)]
Reviewed and approved by Nick Clifton  <nickc@redhat.com>

2005-08-05  Fred Fish  <fnf@specifix.com>
* dwarf2.c (read_rangelist): Use addr_size instead of offset_size
to determine how many bytes to read from each rangelist entry.

18 years ago*** empty log message ***
gdbadmin [Sun, 7 Aug 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years agodaily update
Alan Modra [Sat, 6 Aug 2005 00:00:11 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 6 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoReviewed and approved by Mark Kettenis <mark.kettenis@xs4all.nl>
Fred Fish [Fri, 5 Aug 2005 21:08:54 +0000 (21:08 +0000)]
Reviewed and approved by Mark Kettenis <mark.kettenis@xs4all.nl>

2005-08-02  Fred Fish  <fnf@specifix.com>
* defs.h (parse_frame_specification): Remove prototype.
* stack.c (parse_frame_specification): Add prototype and
make function static.
(frame_info): Move common code outside if..then..else.

18 years ago * hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%".
Dave Anglin [Fri, 5 Aug 2005 17:52:06 +0000 (17:52 +0000)]
* hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%".

18 years agobfd/
H.J. Lu [Fri, 5 Aug 2005 13:52:11 +0000 (13:52 +0000)]
bfd/

2005-08-05  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_hide_symbol): New.
* bfd-in2.h: Regenerated.

ld/

2005-08-05  H.J. Lu  <hongjiu.lu@intel.com>

* ld.texinfo: Document PROVIDE_HIDDEN.

* ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
(exp_provide): Add and set hidden.

* ldexp.h (etree_type): Add hidden to assign.

* ldgram.y (PROVIDE_HIDDEN): New.
* ldlex.l (PROVIDE_HIDDEN): Likewise.

* scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
symbols.

18 years ago*** empty log message ***
gdbadmin [Fri, 5 Aug 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 5 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.
Dave Anglin [Thu, 4 Aug 2005 17:15:07 +0000 (17:15 +0000)]
* hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.
(PF_HP_CODE_DEPR, PF_HP_MODIFY_DEPR, PF_HP_LAZYSWAP_DEPR): New
deprecated defines.
(DT_HP_EPLTREL, DT_HP_EPLTRELSZ, DT_HP_FILTERED, DT_HP_FILTER_TLS,
DT_HP_COMPAT_FILTERED, DT_HP_LAZYLOAD, DT_HP_BIND_NOW_COUNT, DT_PLT,
DT_PLT_SIZE, DT_DLT, DT_DLT_SIZE, DT_HP_BIND_DEPTH_FIRST, DT_HP_GST,
DT_HP_SHLIB_FIXED, DT_HP_MERGE_SHLIB_SEG, DT_HP_NODELETE, DT_HP_GROUP,
DT_HP_PROTECT_LINKAGE_TABLE, PT_HP_OPT_ANNOT, PT_HP_HSL_ANNOT,
PT_HP_STACK, PT_HP_CORE_UTSNAME, NT_HP_COMPILER, NT_HP_COPYRIGHT,
NT_HP_VERSION, NT_HP_SRCFILE_INFO, NT_HP_LINKER, NT_HP_INSTRUMENTED,
NT_HP_UX_OPTIONS): Define.

18 years ago2005-08-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Aug 2005 14:49:55 +0000 (14:49 +0000)]
2005-08-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_merge_symbol): When mixing a
large common symbol and a normal common symbol, always turn
the large common symbol into a normal one.

18 years agobfd/
Alan Modra [Thu, 4 Aug 2005 06:22:08 +0000 (06:22 +0000)]
bfd/
* elf32-ppc.c (struct elf_linker_section): Replace sym_val field
with sym.
(ppc_elf_relocate_section): Adjust for above.
(create_sdata_sym): New function.
(ppc_elf_create_linker_section): Call it.
(ppc_elf_check_relocs): Correct has_sda_refs and non_got_refs.
Create sdata syms for all SDA relocs.
(ppc_elf_adjust_dynamic_symbol): Don't special case _SDA_BASE_
and _SDA2_BASE_.
(ppc_elf_set_sdata_syms): Delete.
* elflink.c (bfd_elf_size_dynamic_sections): Don't create DT_INIT
and DT_FINI tags unless associated section has input.
(bfd_elf_set_symbol, _bfd_elf_provide_symbol): Delete.
(_bfd_elf_provide_section_bound_symbols): Delete.
* bfd-in.h (_bfd_elf_provide_symbol): Delete.
(_bfd_elf_provide_section_bound_symbols): Delete.
* bfd-in2.h: Regenerate.
ld/
* ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
* ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
(struct ld_emulation_xfer_struct): Remove do_assignments field.
* ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
* emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
(SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
* emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
* emultempl/armcoff.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/elf32.em: Likewise.
(gld*_provide_bound_symbols): Delete.
(gld*_provide_init_fini_syms): Delete.
(gld*_before_allocation): Don't call ldemul_do_assignments.
* emultempl/ppc32elf.em (ppc_do_assignments): Delete.
(LDEMUL_DO_ASSIGNMENTS): Delete.
* scripttempl/elf.sc: Provide init/fini syms.  Add SBSS_START_SYMBOLS,
SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.

18 years ago2005-08-02 Bob Rossi <bob@brasko.net>
Bob Rossi [Thu, 4 Aug 2005 01:52:31 +0000 (01:52 +0000)]
2005-08-02  Bob Rossi  <bob@brasko.net>

       * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
       (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
       Change tests to inferior-tty-set/show.
       * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
       (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
       * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
       inferior.  Use mi_gdb_test to get GDB and Inferior output.
       * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
       descriptor.
       (mi_inferior_tty_name): Add inferior PTY file name.
       (mi_gdb_start): Add INFERIOR_PTY parameter.
       (mi_gdb_test): Add IPATTERN parameter.

18 years agobfd/
Alan Modra [Thu, 4 Aug 2005 01:19:05 +0000 (01:19 +0000)]
bfd/
* elflink.c (fix_syms, _bfd_elf_fix_excluded_sec_syms): Move to..
* linker.c (fix_syms, _bfd_fix_excluded_sec_syms): ..here.
* bfd-in.h (_bfd_fix_excluded_sec_syms): Rename.
* bfd-in2.h: Regenerate.
ld/
* ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
(finish_default): New function.
* ldemul.h (finish_default): Declare.
* emultempl/aix.em (gld*_before_allocation): Call
before_allocation_default rather than strip_excluded_output_sections.
(ld_*_emulation): Init finish field to finish_default.
* emultempl/armcoff.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.

18 years ago2005-08-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Aug 2005 00:39:02 +0000 (00:39 +0000)]
2005-08-03  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got
only if it isn't NULL.

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

18 years ago*** empty log message ***
gdbadmin [Thu, 4 Aug 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years agobfd/
H.J. Lu [Wed, 3 Aug 2005 16:30:32 +0000 (16:30 +0000)]
bfd/

2005-08-03  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_howto_table): Undo the overflow change for
R_386_PC16 made on 2005-07-18.

* elf64-x86-64.c (x86_64_elf_howto_table): Undo the overflow
change for R_X86_64_PC16 made on 2005-07-18.

ld/testsuite/

2005-08-03  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/pcrel16.d: Updated.
* ld-i386/pcrel16.s: Likewise.
* ld-x86-64/pcrel16.d: Likewise.

18 years ago * hppa.h: Update copyright dates.
Dave Anglin [Wed, 3 Aug 2005 15:08:52 +0000 (15:08 +0000)]
* hppa.h: Update copyright dates.

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

18 years ago*** empty log message ***
gdbadmin [Wed, 3 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove hgot. Use
Alan Modra [Tue, 2 Aug 2005 23:32:52 +0000 (23:32 +0000)]
* elf32-ppc.c (struct ppc_elf_link_hash_table): Remove hgot.  Use
elf.hgot throughout file.

18 years ago * elf32-ppc.c (ppc_elf_size_dynamic_sections): Correct value of
Alan Modra [Tue, 2 Aug 2005 23:09:16 +0000 (23:09 +0000)]
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Correct value of
_GLOBAL_OFFSET_TABLE_ for > 32k GOT.

18 years ago * elfxx-ia64.c (struct elfNN_ia64_allocate_data): Add only_got.
Andreas Schwab [Tue, 2 Aug 2005 19:58:11 +0000 (19:58 +0000)]
* elfxx-ia64.c (struct elfNN_ia64_allocate_data): Add only_got.
(elfNN_ia64_relax_section): Reallocate .rela.got when .got has
changed.
(allocate_dynrel_entries): Look only at GOT relocations when
only_got is true.
(elfNN_ia64_size_dynamic_sections): Set only_got to false before
calling allocate_dynrel_entries.

18 years ago * interp.c (strswaplen): Add one for '\0' delimiter.
Joern Rennecke [Tue, 2 Aug 2005 16:17:59 +0000 (16:17 +0000)]
* interp.c (strswaplen): Add one for '\0' delimiter.

18 years ago2005-08-02 Bob Rossi <bob@brasko.net>
Bob Rossi [Tue, 2 Aug 2005 14:21:01 +0000 (14:21 +0000)]
2005-08-02   Bob Rossi  <bob@brasko.net>

* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
parameter to mi_gdb_test.
* lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.

18 years agoPR 1147
Nick Clifton [Tue, 2 Aug 2005 08:17:45 +0000 (08:17 +0000)]
PR 1147
* elf32-arm.c (struct _arm_elf_section_data): Turn into a typedef and make the
  mapcount field unsigned.
(struct section_list): New: Used to keep track of which sections have an
  _arm_elf_section_data structure.
(record_section_with_arm_elf_section_data): New function.
(get_arm_elf_section_data): New function.
(unrecord_section_with_arm_elf_section_data): New function.
(elf32_arm_output_symbol_hook): Use get_arm_elf_section_data.
(elf32_arm_new_section_hook): Call record_section_with_arm_elf_section_data.
(elf32_arm_write_section): Use get_arm_elf_section_data and
  unrecord_section_with_arm_elf_section_data.

18 years ago * value.c (value_contents_writeable): Use value_contents_raw.
Daniel Jacobowitz [Tue, 2 Aug 2005 03:13:50 +0000 (03:13 +0000)]
* value.c (value_contents_writeable): Use value_contents_raw.

18 years ago Suggested by Shaun Jackman <sjackman@gmail.com>:
Daniel Jacobowitz [Tue, 2 Aug 2005 03:02:05 +0000 (03:02 +0000)]
Suggested by Shaun Jackman <sjackman@gmail.com>:
* defs.h (print_transfer_performance): Update prototype.
* m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday
for print_transfer_performance.
* remote-m32r-sdi.c (m32r_load): Likewise.
* symfile.c (generic_load): Likewise.
(report_transfer_performance): Create a dummy struct timeval.
(print_transfer_performance): Use a more accurate measure
of performance.

18 years ago*** empty log message ***
gdbadmin [Tue, 2 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 2 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agoReviewed/approved by Daniel Jacobowitz <dan@codesourcery.com>
Fred Fish [Mon, 1 Aug 2005 18:32:51 +0000 (18:32 +0000)]
Reviewed/approved by Daniel Jacobowitz  <dan@codesourcery.com>

2005-08-01  Fred Fish  <fnf@specifix.com>
* stack.c (parse_frame_specification_1): Remove use of obsolete
SETUP_ARBITRARY_FRAME macro.

18 years agoReviewed/approved by Daniel Jacobowitz <drow@false.org>
Fred Fish [Mon, 1 Aug 2005 18:31:28 +0000 (18:31 +0000)]
Reviewed/approved by Daniel Jacobowitz <drow@false.org>

2005-08-01  Fred Fish  <fnf@specifix.com>
* gdb.texinfo (SETUP_ARBITRARY_FRAME): Remove obsolete reference.

18 years ago * elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension
Richard Sandiford [Mon, 1 Aug 2005 11:59:31 +0000 (11:59 +0000)]
* elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension
of MIPS32 and MIPS64r2 as an extension of MIPS32r2.

18 years ago * dwarf2-frame.c (read_signed_leb128): Handle values that do not
Daniel Jacobowitz [Mon, 1 Aug 2005 04:06:27 +0000 (04:06 +0000)]
* dwarf2-frame.c (read_signed_leb128): Handle values that do not
fit in 32 bits.
* dwarf2read.c (read_signed_leb128): Likewise.

18 years ago From Josef Ezra <jezra@emc.com>:
Daniel Jacobowitz [Mon, 1 Aug 2005 03:41:34 +0000 (03:41 +0000)]
From Josef Ezra <jezra@emc.com>:
* tracepoint.c (stringify_collection_list): Correct pointer
arithmetic.

18 years ago Suggested by Vladimir Prus <ghost@cs.msu.su>:
Daniel Jacobowitz [Mon, 1 Aug 2005 03:32:32 +0000 (03:32 +0000)]
Suggested by Vladimir Prus <ghost@cs.msu.su>:
* infrun.c (handle_inferior_event): Check for line information in
undebuggable functions.

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

18 years ago*** empty log message ***
gdbadmin [Mon, 1 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * gdb.mi/mi-var-child.c (do_children_tests): Initialize
Daniel Jacobowitz [Sun, 31 Jul 2005 22:10:53 +0000 (22:10 +0000)]
* gdb.mi/mi-var-child.c (do_children_tests): Initialize
struct_declarations.
* gdb.mi/mi-var-child.exp: Step over the initialization of
struct_declarations.

18 years ago * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
Daniel Jacobowitz [Sun, 31 Jul 2005 21:24:25 +0000 (21:24 +0000)]
* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
* gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
* gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
* gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
file.

18 years agoFrom Kaveh R. Ghazi <ghazi@caip.rutgers.edu>:
Daniel Jacobowitz [Sun, 31 Jul 2005 20:56:26 +0000 (20:56 +0000)]
From  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>:
gdb/
* cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add
ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF.
* complaints.c (vcomplaint): Likewise.
* defs.h (xvasprintf, xstrvprintf, verror, vfatal)
(internal_verror, internal_vwarning, vwarning)
(deprecated_query_hook, deprecated_warning_hook)
(deprecated_readline_begin_hook): Likewise.
* disasm.c (fprintf_disasm): Likewise.
* exceptions.c (throw_it): Likewise.
* exceptions.h (throw_verror, throw_vfatal): Likewise.
* mi/mi-interp.c (mi_interp_query_hook): Likewise.
* mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
* tui/tui-hooks.c (tui_query_hook): Likewise.
* tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt):
Likewise.
* ui-out.c (default_field_fmt, default_message, uo_field_fmt)
(uo_message): Likewise.
* ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype)
(message_ftype): Likewise.
* utils.c (vfprintf_maybe_filtered, internal_vproblem)
(defaulted_query, printchar): Likewise.
gdb/gdbserver/
* server.h (error, fatal, warning): Add ATTR_FORMAT.

18 years ago * elflink.c (elf_gc_sweep): Set dynsymcount to correct value.
David Daney [Sun, 31 Jul 2005 06:14:15 +0000 (06:14 +0000)]
* elflink.c (elf_gc_sweep):  Set dynsymcount to correct value.

18 years ago*** empty log message ***
gdbadmin [Sun, 31 Jul 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

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

18 years ago*** empty log message ***
gdbadmin [Sat, 30 Jul 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Ignore _gp_disp
David Daney [Fri, 29 Jul 2005 23:24:01 +0000 (23:24 +0000)]
* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook):  Ignore _gp_disp
if it is in the *ABS* section.

18 years ago2005-07-29 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 29 Jul 2005 17:39:39 +0000 (17:39 +0000)]
2005-07-29  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_PC12.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and
pop.
(do_t_addr): Implement 32-bit variant.
(do_t_push_pop): Make some errors warnings.  Handle single register
32-bit case.
(insns): Use tCE for adr.
(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12.
(md_apply_fix): Ditto.
gas/testsuite/
* gas/arm/thumb32.d: Fix expected output for writeback addressing
modes.  Add single high reg push/pop test.
* gas/asm/thumb32.s: Add single high reg push/pop test.
opcodes/
* arm-dis.c: Fix disassebly of thumb2 writeback addressing modes.

18 years ago2005-07-29 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 29 Jul 2005 17:28:33 +0000 (17:28 +0000)]
2005-07-29  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c (BFD_RELOC_ARM_T32_IMM12): Add.
* bfd-in2.h: Regeenrate.
* libbfd.h: Regenerate.
gas/
* config/tc-arm.c (parse_tb): New function.
(enum operand_parse_code): Add OP_TB.
(parse_operands): Handle OP_TB.
(do_t_add_sub_w, do_t_tb): New functions.
(insns): Add entries for addw, subw, tbb and tbh.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12.
gas/testsuite/
* gas/arm/thumb32.s: Add tests for addw, subw, tbb and tbh.
* gas/arm/thumb32.d: Ditto.
opcodes/
* arm-dis.c (thumb32_opc): Fix addressing mode for tbh.
(print_insn_thumb32): Fix decoding of thumb2 'I' operands.

18 years ago* peXXigen.c (pe_print_edata): Compute the size of the export table from the
Nick Clifton [Fri, 29 Jul 2005 14:07:01 +0000 (14:07 +0000)]
* peXXigen.c (pe_print_edata): Compute the size of the export table from the
  size field in the DataDictionary and not the size of the section.  Some
  linkers embed the export table inside a larger section.

18 years ago * elf-bfd.h (struct elf_backend_data): Add action_discarded.
Alan Modra [Fri, 29 Jul 2005 02:46:04 +0000 (02:46 +0000)]
* elf-bfd.h (struct elf_backend_data): Add action_discarded.
(enum action_discarded): Move from..
* elflink.c (enum action_discarded): ..here.
(_bfd_elf_default_action_discarded): Rename from elf_action_discarded.
Remove target specific section checks.
(elf_link_input_bfd): Adjust.
* elfxx-target.h (elf_backend_action_discarded): Define.
(elfNN_bed): Init new field.
* bfd-in.h (_bfd_elf_default_action_discarded): Declare.
* bfd-in2.h: Regenerate.
* elf-hppa.h (elf_hppa_action_discarded): New function.
* elf32-hppa.c (elf_backend_action_discarded): Define.
* elf64-hppa.c (elf_backend_action_discarded): Define.
* elf32-ppc.c (ppc_elf_action_discarded): New function.
(elf_backend_action_discarded): Define.

18 years ago*** empty log message ***
gdbadmin [Fri, 29 Jul 2005 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

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

18 years ago PR gas/336
Dave Anglin [Thu, 28 Jul 2005 20:32:21 +0000 (20:32 +0000)]
PR gas/336
  * hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb
and pitlb.

19 years ago*** empty log message ***
gdbadmin [Thu, 28 Jul 2005 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***