binutils-gdb.git
19 years ago * bfd/elf32-hppa.c (struct elf32_hppa_stub_hash_entry):
Dave Anglin [Mon, 27 Jun 2005 23:43:43 +0000 (23:43 +0000)]
* bfd/elf32-hppa.c (struct elf32_hppa_stub_hash_entry):
Use bh_root, and hh.
(struct elf32_hppa_link_hash_entry): Use eh, and hsh_cache.
(struct elf32_hppa_dyn_reloc_entry): Use hdh_next.
(struct elf32_hppa_link_hash_table): Use etab and bstab.
(stub_hash_newfunc): Use hh.
(hppa_link_hash_newfunc): Use hsh_cache.
(elf32_hppa_link_hash_table_create): Use etab, and bstab.
(elf32_hppa_link_hash_table_free): Use bstab.
(hppa_stub_name): Use eh.
(hppa_get_stub_entry): Use hh, hsh_entry, and hsh_cache.
(hppa_add_stub): Use bstab.
(hppa_type_of_stub): Use eh.
(hppa_build_one_stub): Use hh and bh_root.
(elf32_hppa_copy_indirect_symbol): Use hdh_next.
(elf32_hppa_check_relocs): Use eh, etab, and hdh_next.
(elf32_hppa_gc_sweep_hook): Use hdh_next.
(elf32_hppa_adjust_dynamic_symbol): Use hdh_next, and etab.
(allocate_plt_static): Use etab.
(allocate_dynrelocs): Use etab, and hdh_next.
(readonly_dynrelocs): Use hdh_next.
(elf32_hppa_size_dynamic_sections): Use etab, and hdh_next.
(get_local_syms): Use eh, bstab, and hh.
(elf32_hppa_size_stubs): Use eh, bstab, and hh.
(elf32_hppa_set_gp): Use etab.
(elf32_hppa_build_stubs): Use bstab.
(final_link_relocate): Use eh, bh_root.
(elf32_hppa_relocate_section): Use elf, etab.
(elf32_hppa_finish_dynamic_sections): Use etab.

19 years ago2005-06-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 27 Jun 2005 21:08:10 +0000 (21:08 +0000)]
2005-06-27  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): Remove
the extra `;'.

19 years ago * gdbtypes.c (get_discrete_bounds): Fix a comment typo.
Wu Zhou [Mon, 27 Jun 2005 08:38:13 +0000 (08:38 +0000)]
* gdbtypes.c (get_discrete_bounds): Fix a comment typo.

19 years ago*** empty log message ***
gdbadmin [Mon, 27 Jun 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 27 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sun, 26 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 26 Jun 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* sol-thread.c (sol_thread_xfer_memory): Change type of second
Mark Kettenis [Sat, 25 Jun 2005 12:49:01 +0000 (12:49 +0000)]
* sol-thread.c (sol_thread_xfer_memory): Change type of second
argument to `gdb_byte *'.
(sol_thread_xfer_partial): Change type of readbuf and writebuf
arguments to `gdb_byte *'.

19 years ago* mips-tdep.c (mips_xfer_register, mips_o32_return_value)
Mark Kettenis [Sat, 25 Jun 2005 11:58:35 +0000 (11:58 +0000)]
* mips-tdep.c (mips_xfer_register, mips_o32_return_value)
(mips_integer_to_address): Use gdb_byte instead of bfd_byte.

19 years ago* ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
Mark Kettenis [Sat, 25 Jun 2005 11:54:29 +0000 (11:54 +0000)]
* ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
<machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(ppcobsd_supply_pcb): New function.
(_initialize_ppcobsd_nat): Enable libkvm interface.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

19 years ago*** empty log message ***
gdbadmin [Sat, 25 Jun 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 25 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
Mark Kettenis [Fri, 24 Jun 2005 21:15:38 +0000 (21:15 +0000)]
* config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

19 years ago* ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
Mark Kettenis [Fri, 24 Jun 2005 21:11:39 +0000 (21:11 +0000)]
* ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
<machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
(ppcobsd_supply_pcb): New function.
(_initialize_ppcobsd_nat): Enable libkvm interface.
* Makefile.in (ppcobsd-nat.o): Update dependencies.

19 years ago * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
Corinna Vinschen [Fri, 24 Jun 2005 08:12:32 +0000 (08:12 +0000)]
* i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.

19 years agodaily update
Alan Modra [Fri, 24 Jun 2005 00:00:11 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 24 Jun 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/m68k-parse.h: Use ISO C90.
Ben Elliston [Thu, 23 Jun 2005 11:40:29 +0000 (11:40 +0000)]
* config/m68k-parse.h: Use ISO C90.
* config/m68k-parse.y: Likewise.
* config/tc-m68k.h: Likewise.

19 years ago * ld-elfweak/size_foo.c (foo): Fix warning about implicit return
Andreas Schwab [Thu, 23 Jun 2005 11:36:22 +0000 (11:36 +0000)]
* ld-elfweak/size_foo.c (foo): Fix warning about implicit return
type.

19 years ago * m68k-dis.c: Use ISC C90.
Ben Elliston [Thu, 23 Jun 2005 11:18:26 +0000 (11:18 +0000)]
* m68k-dis.c: Use ISC C90.
* m68k-opc.c: Formatting fixes.

19 years ago * gdb_ptrace.h: Fix typos when checking for PT_ATTACH. Reported
Andreas Schwab [Thu, 23 Jun 2005 09:21:45 +0000 (09:21 +0000)]
* gdb_ptrace.h: Fix typos when checking for PT_ATTACH.  Reported
by Chad Harrington <harrington.chad@gmail.com>.

19 years ago2005-06-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 23 Jun 2005 07:34:15 +0000 (07:34 +0000)]
2005-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (stagefeedback): Come after profile.
Define profiledbootstrap target.
* Makefile.tpl (profiledbootstrap): Remove.
(stageprofile-end): Zap stagefeedback.
(stagefeedback-start): Copy all .gcda files, not only GCC's.
* Makefile.in: Regenerate.

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

19 years ago*** empty log message ***
gdbadmin [Thu, 23 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* remote.c (extended_remote_restart): Pass buffer in call to
Mark Kettenis [Wed, 22 Jun 2005 11:42:54 +0000 (11:42 +0000)]
* remote.c (extended_remote_restart): Pass buffer in call to
xsnprintf instead of a pointer to the buffer.

19 years ago(History) Rename "Command History".
Nick Roberts [Wed, 22 Jun 2005 06:20:00 +0000 (06:20 +0000)]
(History) Rename "Command History".
(Command History): Move node "Server Prefix" from section on
Annotations here.

19 years ago*** empty log message ***
Nick Roberts [Wed, 22 Jun 2005 06:15:43 +0000 (06:15 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 22 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 22 Jun 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-06-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 21 Jun 2005 14:34:42 +0000 (14:34 +0000)]
2005-06-21  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: List GDB's Steering Committee as responsible for
GDB's maintenance.

19 years ago * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.
Dave Anglin [Tue, 21 Jun 2005 13:53:55 +0000 (13:53 +0000)]
* bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.
(hppa_stub_hash_entry): Define.
(stub_hash_newfunc): Rename variables.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_link_hash_table_free): Likewise.
(hppa_stub_name): Likewise.
(hppa_get_stub_entry): Likewise.
(hppa_add_stub): Likewise.
(hppa_type_of_stub): Likewise.
(hppa_build_one_stub): Likewise.
(hppa_size_one_stub): Likewise.
(elf32_hppa_create_dynamic_sections): Likewise.
(elf32_hppa_copy_indirect_symbol): Likewise.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_gc_mark_hook): Likewise.
(elf32_hppa_gc_sweep_hook): Likewise.
(elf32_hppa_grok_psinfo): Likewise.
(elf32_hppa_hide_symbol): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(allocate_dynrelocs): Likewise.
(clobber_millicode_symbols): Likewise.
(readonly_dynrelocs): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(get_local_syms): Likewise.
(elf32_hppa_size_stubs): Likewise.
(hppa_record_segment_addr): Likewise.
(final_link_relocate): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.

19 years ago* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
Mark Kettenis [Tue, 21 Jun 2005 11:58:39 +0000 (11:58 +0000)]
* inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
and writebuf arguments to `gdb_byte *'.

19 years ago * MAINTAINERS (Write After Approval): Add myself.
Wu Zhou [Tue, 21 Jun 2005 08:36:30 +0000 (08:36 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

19 years ago* hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
Mark Kettenis [Tue, 21 Jun 2005 05:32:00 +0000 (05:32 +0000)]
* hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
"value.h" and "elf/common.h".
(hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
(hppabsd_find_global_pointer): New function.
(hppabsd_init_abi): Set TDEP->find_global_pointer to
hppabsd_find_global_pointer.
* Makefile.in (hppabsd-tdep.o): Update dependencies.

19 years agoIndex: include/ChangeLog
Geoffrey Keating [Tue, 21 Jun 2005 00:28:25 +0000 (00:28 +0000)]
Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.

19 years agodaily update
Alan Modra [Tue, 21 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 21 Jun 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agogas/
H.J. Lu [Mon, 20 Jun 2005 23:18:39 +0000 (23:18 +0000)]
gas/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* config/tc-i386.c (md_assemble): Don't call optimize_disp on
movabs.
(optimize_disp): Optimize only if possible. Don't use 64bit
displacement on non-constants and do same on constants if
possible.

gas/testsuite/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386/x86_64.s: Add absolute 64bit addressing tests for mov.
* i386/x86_64.s: Updated.

include/opcode/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386.h (i386_optab): Update comments for 64bit addressing on
mov. Allow 64bit addressing for mov and movq.

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 20 Jun 2005 18:12:11 +0000 (18:12 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1025
* elf-m10300.c (mn10300_elf_check_relocs): Handle indirect
symbol.
* elf32-arm.c (elf32_arm_check_relocs): Likewise.
* elf32-avr.c (elf32_avr_check_relocs): Likewise.
* elf32-cris.c (cris_elf_check_relocs): Likewise.
* elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
* elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
* elf32-fr30.c (fr30_elf_check_relocs): Likewise.
* elf32-frv.c (elf32_frv_check_relocs): Likewise.
* elf32-i370.c (i370_elf_check_relocs): Likewise.
* elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_check_relocs): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-mcore.c (mcore_elf_check_relocs): Likewise.
* elf32-ms1.c (ms1_elf_check_relocs): Likewise.
* elf32-msp430.c (elf32_msp430_check_relocs): Likewise.
* elf32-openrisc.c (openrisc_elf_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_check_relocs): Likewise.
* elf32-s390.c (elf_s390_check_relocs): Likewise.
* elf32-sh.c (sh_elf_check_relocs): Likewise.
* elf32-v850.c (v850_elf_check_relocs): Likewise.
* elf32-vax.c (elf_vax_check_relocs): Likewise.
* elf64-mmix.c (mmix_elf_check_relocs): Likewise.
* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
* elf64-s390.c (elf_s390_check_relocs): Likewise.
* elf64-sh64.c (sh_elf64_check_relocs): Likewise.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 20 Jun 2005 13:06:27 +0000 (13:06 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1022
* elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect
symbol.

19 years ago2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 20 Jun 2005 12:59:49 +0000 (12:59 +0000)]
2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1025:
* elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

19 years ago(test_stack_locals_listing): Remove test for -stack-select-frame without
Nick Roberts [Mon, 20 Jun 2005 03:38:20 +0000 (03:38 +0000)]
(test_stack_locals_listing): Remove test for -stack-select-frame without
arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.

19 years ago*** empty log message ***
Nick Roberts [Mon, 20 Jun 2005 03:37:15 +0000 (03:37 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
gdbadmin [Mon, 20 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 20 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
Mark Kettenis [Sun, 19 Jun 2005 21:25:47 +0000 (21:25 +0000)]
* hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
(unwind_command): Use %lx to print pointer.

19 years ago* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
Mark Kettenis [Sun, 19 Jun 2005 20:08:37 +0000 (20:08 +0000)]
* remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
Change type of second argument to`gdb_byte *'.

19 years ago(GDB/MI Stack Manipulation):
Nick Roberts [Sun, 19 Jun 2005 03:16:32 +0000 (03:16 +0000)]
(GDB/MI Stack Manipulation):
Re-instate -stack-info-frame with example.  Say that it gets
info on selected frame, not current frame.

19 years ago*** empty log message ***
Nick Roberts [Sun, 19 Jun 2005 03:14:46 +0000 (03:14 +0000)]
*** empty log message ***

19 years ago(mi_cmds): Replace entry for -stack-info-frame.
Nick Roberts [Sun, 19 Jun 2005 03:12:39 +0000 (03:12 +0000)]
(mi_cmds): Replace entry for -stack-info-frame.
Make it use mi_cmd_stack_info_frame

19 years ago(mi_cmd_stack_info_frame): New declaration.
Nick Roberts [Sun, 19 Jun 2005 03:12:15 +0000 (03:12 +0000)]
(mi_cmd_stack_info_frame): New declaration.

19 years ago(mi_cmd_stack_info_frame): New function.
Nick Roberts [Sun, 19 Jun 2005 03:11:47 +0000 (03:11 +0000)]
(mi_cmd_stack_info_frame): New function.

19 years ago*** empty log message ***
gdbadmin [Sun, 19 Jun 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 19 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago* hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
Mark Kettenis [Sat, 18 Jun 2005 22:03:41 +0000 (22:03 +0000)]
* hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
can't find the bounds of the current function.  Wrap some long
lines in the process.

19 years ago* regcache.c (regcache_raw_supply, regcache_raw_collect): Change
Mark Kettenis [Sat, 18 Jun 2005 15:22:55 +0000 (15:22 +0000)]
* regcache.c (regcache_raw_supply, regcache_raw_collect): Change
type of last argument back to `void *'.
* regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.

19 years ago2005-06-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 18 Jun 2005 13:23:06 +0000 (13:23 +0000)]
2005-06-18  H.J. Lu  <hongjiu.lu@intel.com>

* reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and
BFD_RELOC_X86_64_GOTPC32.
* bfd-in2.h: Regenerated.

19 years ago(Backtrace): Document that free-standing environments do not need
Eli Zaretskii [Sat, 18 Jun 2005 13:12:04 +0000 (13:12 +0000)]
(Backtrace): Document that free-standing environments do not need
to have a `main' function.

19 years ago(Machine Code): Document possible problems with locations in
Eli Zaretskii [Sat, 18 Jun 2005 12:54:36 +0000 (12:54 +0000)]
(Machine Code): Document possible problems with locations in
shared libraries.

19 years ago(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.
Eli Zaretskii [Sat, 18 Jun 2005 12:40:48 +0000 (12:40 +0000)]
(Files): Add more indexing for solib-absolute-prefix and --with-sysroot.

19 years ago(Files): Document the possibility of loading unlinked object files.
Eli Zaretskii [Sat, 18 Jun 2005 12:36:06 +0000 (12:36 +0000)]
(Files): Document the possibility of loading unlinked object files.

19 years ago(Threads): Add an @cindex entry for "thread apply".
Eli Zaretskii [Sat, 18 Jun 2005 12:18:25 +0000 (12:18 +0000)]
(Threads): Add an @cindex entry for "thread apply".

19 years ago(Output Formats): More detailed description of the `c' format.
Eli Zaretskii [Sat, 18 Jun 2005 12:10:55 +0000 (12:10 +0000)]
(Output Formats): More detailed description of the `c' format.
(Memory): List explicitly all the formats supported by `x'.

19 years ago(Server): Clarify that `file' should be used before connecting to the server.
Eli Zaretskii [Sat, 18 Jun 2005 11:39:36 +0000 (11:39 +0000)]
(Server): Clarify that `file' should be used before connecting to the server.
(Files): Add an xref to the above description.

19 years ago(GDB/MI Stack Manipulation): Remove reference to
Nick Roberts [Sat, 18 Jun 2005 03:01:48 +0000 (03:01 +0000)]
(GDB/MI Stack Manipulation): Remove reference to
-stack-info-frame.

19 years ago*** empty log message ***
Nick Roberts [Sat, 18 Jun 2005 02:51:55 +0000 (02:51 +0000)]
*** empty log message ***

19 years ago(mi_cmds): Remove entry for -stack-info-frame.
Nick Roberts [Sat, 18 Jun 2005 02:49:50 +0000 (02:49 +0000)]
(mi_cmds): Remove entry for -stack-info-frame.

19 years ago(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
Nick Roberts [Sat, 18 Jun 2005 02:49:18 +0000 (02:49 +0000)]
(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth):
Don't test for stack.
(mi_cmd_stack_select_frame): Make the argument mandatory.
Don't test for stack.

19 years agoCorrect a typo.
Daniel Jacobowitz [Sat, 18 Jun 2005 00:56:23 +0000 (00:56 +0000)]
Correct a typo.

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

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

19 years ago * elf.c (bfd_section_from_shdr): Kill bogus warning.
Jakub Jelinek [Fri, 17 Jun 2005 15:48:25 +0000 (15:48 +0000)]
* elf.c (bfd_section_from_shdr): Kill bogus warning.

19 years ago * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
Jakub Jelinek [Fri, 17 Jun 2005 13:39:56 +0000 (13:39 +0000)]
* elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
symbol, relocation, group or versym sections.

* coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
is NULL.
* peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address
doesn't point into the section.

19 years ago * elf/external.h (GRP_ENTRY_SIZE): Define.
Jakub Jelinek [Fri, 17 Jun 2005 13:37:26 +0000 (13:37 +0000)]
* elf/external.h (GRP_ENTRY_SIZE): Define.

* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
(process_section_headers): Use it.
(process_relocs): Don't crash if symsec is not SHT_SYMTAB
or SHT_DYNSYM.
(process_version_sections): Use sizeof (Elf_External_Versym)
instead of sh_entsize.

19 years agobfd/
Jan Beulich [Fri, 17 Jun 2005 08:03:59 +0000 (08:03 +0000)]
bfd/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
and BFD_RELOC_X86_64_GOTPC32.
* libbfd.h (bfd_reloc_code_real_names): Likewise.
* elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
and R_X86_64_GOTPC32.
(elf64_x86_64_info_to_howto): Adjust bounding relocation type.
(elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.

gas/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
aborting.
(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
convert 8-byte pc-relative relocations.
(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
(i386_validate_fix): Likewise.
(x86_cons): Also handle quad values in 64-bit mode.
(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
to pc-relative variant. Also check for BFD_RELOC_64_PCREL.

gas/testsuite/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative
relocation. Add insns for all widths of non-pc-relative relocations.
* gas/i386/x86-64-pcrel.d: Adjust.

include/elf/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* x86-64.h (elf_x86_64_reloc_type): Adjust comment for
R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
R_X86_64_GOTPC32.

19 years ago * gdb.fortran/array_element.f: New file.
Wu Zhou [Fri, 17 Jun 2005 05:18:12 +0000 (05:18 +0000)]
* gdb.fortran/array_element.f: New file.
* gdb.fortran/array_element.exp: New testcase.

19 years ago * linux-low.c (linux_wait, linux_send_signal): Don't test
Daniel Jacobowitz [Fri, 17 Jun 2005 04:01:05 +0000 (04:01 +0000)]
* linux-low.c (linux_wait, linux_send_signal): Don't test
an unsigned long variable for > 0 if it could be MAX_ULONG.
* server.c (myresume): Likewise.
* target.c (set_desired_inferior): Likewise.

19 years ago * remote.c (set_thread, remote_thread_alive): Replace sprintf
Wu Zhou [Fri, 17 Jun 2005 03:53:15 +0000 (03:53 +0000)]
* remote.c (set_thread, remote_thread_alive): Replace sprintf
call with xsnprintf.
(remote_threads_extra_info, extended_remote_restart)
(remote_check_symbols, store_register_using_P)
(compare_sections_command): Ditto.

19 years ago * remote.c (set_thread, remote_thread_alive): Replace sprintf
Wu Zhou [Fri, 17 Jun 2005 03:42:24 +0000 (03:42 +0000)]
* remote.c (set_thread, remote_thread_alive): Replace sprintf
call with xsnprintf.
(remote_threads_extra_info, extended_remote_restart)
(remote_check_symbols, store_register_using_P)
(compare_sections_command): Ditto.

19 years ago * gencode.c (tab): Avoid lvalue casts. Suggested by
Daniel Jacobowitz [Fri, 17 Jun 2005 03:13:07 +0000 (03:13 +0000)]
* gencode.c (tab): Avoid lvalue casts.  Suggested by
Ralf Corsepius <ralf.corsepius@rtems.org>.

19 years agodaily update
Alan Modra [Fri, 17 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 17 Jun 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
David Ung [Thu, 16 Jun 2005 17:01:12 +0000 (17:01 +0000)]
* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
instructions to the table; seb/seh/sew/zeb/zeh/zew.

19 years ago* mips.igen: New mips16e model and include m16e.igen.
David Ung [Thu, 16 Jun 2005 15:15:49 +0000 (15:15 +0000)]
* mips.igen: New mips16e model and include m16e.igen.
(check_u64): Add mips16e tag.
* m16e.igen: New file for MIPS16e instructions.
* configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
models.
* configure: Regenerate.

19 years ago* MAINTAINERS (Write After Approval): Add self.
David Ung [Thu, 16 Jun 2005 15:04:39 +0000 (15:04 +0000)]
* MAINTAINERS (Write After Approval): Add self.

19 years agoAdd quotes to avoid a null test expression.
Nick Clifton [Thu, 16 Jun 2005 09:46:10 +0000 (09:46 +0000)]
Add quotes to avoid a null test expression.

19 years agorename.c (simple_copy): Only define if it is going to be used.
Nick Clifton [Thu, 16 Jun 2005 09:18:19 +0000 (09:18 +0000)]
rename.c (simple_copy): Only define if it is going to be used.
  (smart_rename): Mark the preserve_dates parameter as possibly being unused.

resres.c (write_res_data): Prevent a potential compile time warning by casting
  the return value from fwrite.

19 years ago* archive.c: Include "libiberty.h".
Mark Kettenis [Thu, 16 Jun 2005 08:05:39 +0000 (08:05 +0000)]
* archive.c: Include "libiberty.h".

19 years ago*** empty log message ***
gdbadmin [Thu, 16 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 16 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoFix my e-mail address in previous commit.
Mark Kettenis [Wed, 15 Jun 2005 16:35:28 +0000 (16:35 +0000)]
Fix my e-mail address in previous commit.

19 years ago* hppa-hpux-nat.c (hppa_hpux_fetch_register)
Mark Kettenis [Wed, 15 Jun 2005 16:34:27 +0000 (16:34 +0000)]
* hppa-hpux-nat.c (hppa_hpux_fetch_register)
  (hppa_hpux_store_register): Add casts in extract_unsigned_integer
  and store_usigned_integer calls.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 15 Jun 2005 16:23:54 +0000 (16:23 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Contribute Morpho ms1 on behalf of Red Hat
        * ms1-asm.c, ms1-desc.c, ms1-dis.c, ms1-ibld.c, ms1-opc.c,
        ms1-opc.h: New files, Morpho ms1 target.

        2004-05-14  Stan Cox  <scox@redhat.com>

        * disassemble.c (ARCH_ms1): Define.
        (disassembler): Handle bfd_arch_ms1

        2004-05-13  Michael Snyder  <msnyder@redhat.com>

        * Makefile.am, Makefile.in: Add ms1 target.
        * configure.in: Ditto.

19 years ago2005-06-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 15 Jun 2005 15:33:07 +0000 (15:33 +0000)]
2005-06-15  Dave Brolley  <brolley@redhat.com>

        Contributed by Red Hat.
        * ms1.cpu: New file.  Written by Nick Clifton, Stan Cox.
        * ms1.opc: New file.  Written by Stan Cox.

19 years ago* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by the
Nick Clifton [Wed, 15 Jun 2005 08:22:45 +0000 (08:22 +0000)]
* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by the
  GreenHills toolchain can be assimilated.

19 years ago * som.c (som_find_inliner_info): New.
Dave Anglin [Wed, 15 Jun 2005 00:16:10 +0000 (00:16 +0000)]
* som.c (som_find_inliner_info): New.

19 years agodaily update
Alan Modra [Wed, 15 Jun 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 15 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.ac: Simplify and improve check for socklen_t.
Mark Kettenis [Tue, 14 Jun 2005 21:36:29 +0000 (21:36 +0000)]
* configure.ac: Simplify and improve check for socklen_t.
* configure, config.in: Regenerate.

19 years ago PR libgcj/19877:
Tom Tromey [Tue, 14 Jun 2005 20:27:38 +0000 (20:27 +0000)]
PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
is set but not 'no'.