binutils-gdb.git
19 years ago*** empty log message ***
gdbadmin [Sun, 15 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
Mark Kettenis [Sat, 14 May 2005 20:21:03 +0000 (20:21 +0000)]
* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
* config/vax/obsd.mt (TDEPFILES): New file.

19 years ago* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
Mark Kettenis [Sat, 14 May 2005 19:46:10 +0000 (19:46 +0000)]
* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
gdb_byte instead of bfd_byte.

19 years ago* mips-tdep.c (mips_pseudo_register_read)
Mark Kettenis [Sat, 14 May 2005 19:43:18 +0000 (19:43 +0000)]
* mips-tdep.c (mips_pseudo_register_read)
(mips_pseudo_register_write): Change type of last argument to
`gdb_byte *'.
(mips_register_to_value, mips_value_to_register): Change type of
last argument to `gdb_byte *'.  Remove casts that are no longer
needed.
(mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf.
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o32_return_value): Use `const
gdb_byte *' for val and gdb_byte for valbuf.  Remove casts that
are no longer needed.
(mips_eabi_return_value, mips_n32n64_return_value)
(mips_o32_return_value, mips_o64_return_value): Change type of
readbuf and writebuf arguments to `gdb_byte *'.
(mips_read_fp_register_single): Change type of last argument to
`gdb_byte *'.  Use `gdb_byte *' for raw_buffer.
(mips_read_fp_register_double): Change type of last argument to
`gdb_byte *'.
(mips_print_fp_register): Use `gdb_byte *' for raw_buffer.  Remove
casts that are no longer needed.
(mips_print_register, print_gp_register_row): Use gdb_byte for
raw_buffer.  Remove casts that are no longer needed.
(mips_single_step_through_delay): Use gdb_byte for buf.
(mips_breakpoint_from_pc): Change return type to `const gdb_byte
*'.  Use gdb_byte for mips16_big_breakpoint, big_breakpoint,
pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint,
little_breakpoint, pmon_little_breakpoint and
idt_little_breakpoint.
(mips_integer_to_address): Use `gdb_byte *' for tmp.

19 years ago* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
Mark Kettenis [Sat, 14 May 2005 16:34:53 +0000 (16:34 +0000)]
* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.

19 years ago* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
Mark Kettenis [Sat, 14 May 2005 13:49:42 +0000 (13:49 +0000)]
* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
of basename.

19 years ago* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
Mark Kettenis [Sat, 14 May 2005 13:45:22 +0000 (13:45 +0000)]
* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
gdb_byte for buf.
(sparc32_pseudo_register_read, sparc32_pseudo_register_write):
Change type of last argument to `gdb_byte *'.  Remove casts that
are no longer needed.
(sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte
for buf.
(sparc_breakpoint_from_pc): Change return type to `const gdb_byte
*'.  Use gdb_byte for break_insn.
(sparc32_extract_return_value, sparc32_store_return_value): Change
type of last argument to `gdb_byte *'.  Use gdb_byte for buf.
(sparc32_return_value): Change type of readbuf and writebuf
arguments to `gdb_byte *'.
(sparc_software_single_step): Use gdb_byte for npc_save and
nnpc_save.
(sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for
buf.
(sparc32_supply_gregset, sparc32_collect_gregset)
(sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte
*' for regs.
* sparc64-tdep.c (sparc64_pseudo_register_read)
(sparc64_pseudo_register_write): Change type of last argument to
`gdb_byte *'.  Remove casts that are no longer needed.
(sparc64_store_floating_fields, sparc64_extract_floating_fields):
Change type of valbuf argument to `gfd_byte *'.
(sparc64_store_arguments): Use `gdb_byte *' for valbuf.  use
gdb_byte for buf.
(sparc64_extract_return_value, sparc64_store_return_value): Change
type of last argument to `gdb_byte *'.  Use gdb_byte for buf.
(sparc64_return_value): Change type of readbuf and writebuf
arguments to `gdb_byte *'.
(sparc64_supply_gregset, sparc64_collect_gregset)
(sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte
*' for regs.

19 years ago* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
Mark Kettenis [Sat, 14 May 2005 13:14:00 +0000 (13:14 +0000)]
* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
to `const gdb_byte *'.  Use gdb_byte for break_insn.
(m68k_register_to_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for from.
(m68k_value_to_register): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for to.
(m68k_extract_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.  Remove unnecessary cast.
(m68k_svr4_extract_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.
(m68k_store_return_value): Change type of last argument to
`gdb_byte *'.  Remove unnecessary cast.
(m68k_svr4_store_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.
(m68k_return_value, m68k_svr4_return_value): Change type of
readbuf and writebuf arguments to `gdb_byte *'.
(m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
(m68k_unwind_dummy_id): Use gdb_byte for buf.
(m68k_get_longjmp_target): Use `gdb_byte *' for buf.
* m68kbsd-tdep.c (m68kbsd_supply_fpregset)
(m68kbsd_supply_gregset): Use `gdb_byte *' for regs.

19 years ago* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
Mark Kettenis [Sat, 14 May 2005 11:50:36 +0000 (11:50 +0000)]
* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
`const gdb_byte *'.  Use gdb_byte for break_insn.
(m88k_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.  Use gdb_byte for buf.
(m88k_supply_gregset): Use `gdb_byte *' for regs.

19 years ago* vax-tdep.c (vax_return_value): Change type of readbuf and
Mark Kettenis [Sat, 14 May 2005 11:34:43 +0000 (11:34 +0000)]
* vax-tdep.c (vax_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.

19 years ago* amd64-tdep.c (amd64_return_value): Change type of readbuf and
Mark Kettenis [Sat, 14 May 2005 11:27:03 +0000 (11:27 +0000)]
* amd64-tdep.c (amd64_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.  Remove now redundant casts.
* i386-tdep.c (i386_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
(i386_pseudo_register_read, i386_pseudo_register_write): Change
type of last argument to `gdb_byte *'.
(i386_register_to_value, i386_value_to_register): Change type of
last argument to `gdb_byte *'.  Simplify function a bit.
* i387-tdep.h (i387_value_to_register, i387_register_to_value):
Change type of last argument to `gdb_byte *'.
* i387-tdep.c: Likewise.

19 years agoRemove XM_FILE.
Eli Zaretskii [Sat, 14 May 2005 10:13:23 +0000 (10:13 +0000)]
Remove XM_FILE.

19 years ago2005-05-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 14 May 2005 06:07:42 +0000 (06:07 +0000)]
2005-05-13  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (pseudo_register_read, pseudo_register_write)
(value_to_register, register_to_value, pointer_to_address)
(address_to_pointer, return_value, extract_return_value)
(store_return_value): Instead of a void pointer, use gdb_byte.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (unsigned_address_to_pointer)
(signed_pointer_to_address, address_to_signed_pointer)
(unsigned_pointer_to_address): Update.
* arch-utils.h (legacy_return_value):
* arch-utils.c (legacy_extract_return_value)
(legacy_return_value): Update.
* findvar.c (unsigned_pointer_to_address)
(signed_pointer_to_address, unsigned_address_to_pointer)
(address_to_signed_pointer): Update.

19 years agoinclude/elf/
Alan Modra [Sat, 14 May 2005 05:07:20 +0000 (05:07 +0000)]
include/elf/
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
bfd/
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
not DT_PPC_GLINK.
(ppc_elf_finish_dynamic_sections): Likewise.
binutils/
* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
DT_PPC_GLINK.

19 years ago 2005-05-13 Fred Fish <fnf@specifixinc.com>
Fred Fish [Sat, 14 May 2005 01:38:14 +0000 (01:38 +0000)]
2005-05-13  Fred Fish  <fnf@specifixinc.com>
* readelf.c: Fix a couple of obvious comment typos,
'debug_str' -> 'debug_ranges' and proecess' -> 'process'.

19 years agoFix obvious typo in comment.
Fred Fish [Sat, 14 May 2005 01:31:32 +0000 (01:31 +0000)]
Fix obvious typo in comment.

2005-05-13  Fred Fish  <fnf@specifixinc.com>
* libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest'
* libbfd.h: Rebuilt.

19 years ago * elf32-xtensa.c (xtensa_get_property_section_name): Add missing
Bob Wilson [Sat, 14 May 2005 00:26:06 +0000 (00:26 +0000)]
* elf32-xtensa.c (xtensa_get_property_section_name): Add missing
periods in linkonce_kind values.

19 years agodaily update
Alan Modra [Sat, 14 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

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

19 years ago2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 13 May 2005 18:35:55 +0000 (18:35 +0000)]
2005-05-13  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (dump_ia64_unwind): Get stamp with proper size.

19 years agoRevert accidentally committed change.
Jim Blandy [Fri, 13 May 2005 17:37:43 +0000 (17:37 +0000)]
Revert accidentally committed change.

19 years ago* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
Jim Blandy [Fri, 13 May 2005 17:36:43 +0000 (17:36 +0000)]
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.

19 years ago * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
Bob Wilson [Fri, 13 May 2005 17:35:17 +0000 (17:35 +0000)]
* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
message.
(xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.

19 years ago2005-05-13 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 13 May 2005 15:17:37 +0000 (15:17 +0000)]
2005-05-13  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (_initialize_cris_tdep): Improve help strings for
cris-version, cris-mode, and cris-dwarf2-cfi settings.

19 years ago2005-05-13 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 13 May 2005 12:26:54 +0000 (12:26 +0000)]
2005-05-13  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (usr_cmd_cris_version): Change type to int.
(cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
(struct gdbarch_tdep): Change type of cris_version to int.  Add
cris_mode.
(cris_mode, set_cris_mode): New functions.
(crisv32_single_step_through_delay): Read from NRP register instead
of ERP register in guru mode.
(cris_breakpoint_from_pc): Rename break_insn to break8_insn.
Add break15_insn, returned in guru mode.
(_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
cris-mode setting.
(cris_dump_tdep): Add dump of cris_mode.
(cris_gdbarch_init): Add cris_mode to search criteria for architecture.
Register the sigtramp frame sniffer only if not in guru mode.

19 years agoUpdate the address and telephone number of the FSF organization
Nick Clifton [Fri, 13 May 2005 08:04:31 +0000 (08:04 +0000)]
Update the address and telephone number of the FSF organization

19 years agodaily update
Alan Modra [Fri, 13 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 13 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Eli Zaretskii [Thu, 12 May 2005 21:38:38 +0000 (21:38 +0000)]
*** empty log message ***

19 years ago* sol-thread.c: Include "solib.h".
Mark Kettenis [Thu, 12 May 2005 21:36:08 +0000 (21:36 +0000)]
* sol-thread.c: Include "solib.h".
(sol_thread_attach): Use solib_add instead of SOLIB_ADD.
* Makefile.in (sol-thread.o): Update dependencies.

19 years ago * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
Eli Zaretskii [Thu, 12 May 2005 21:23:17 +0000 (21:23 +0000)]
* Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.

* go32-nat.c: Include top.h.  Update copyright years.
(init_go32_ops): Override the default value of gdbinit[] with
"gdb.ini".

* cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a
compile-time literal string GDBINIT_FILENAME.

* top.c (PATH_MAX): Define if not defined.
(gdbinit): Declare with a constant size PATH_MAX.

* config/i386/go32.mh (XM_FILE): Remove.

* config/i386/xm-go32.h: Remove file.

19 years ago* NEWS: Mention OpenBSD/mips64 as a new native configuration.
Mark Kettenis [Thu, 12 May 2005 21:19:09 +0000 (21:19 +0000)]
* NEWS: Mention OpenBSD/mips64 as a new native configuration.

19 years ago2005-05-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 May 2005 21:01:42 +0000 (21:01 +0000)]
2005-05-12  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF
against protected function when building executable.

19 years ago * observer.sh (texi) [DJGPP]: If the file name includes a colon,
Eli Zaretskii [Thu, 12 May 2005 20:38:51 +0000 (20:38 +0000)]
* observer.sh (texi) [DJGPP]: If the file name includes a colon,
convert it to the /dev/x/ form.

19 years ago* solib.h (CLEAR_SOLIB, SOLIB_ADD)
Mark Kettenis [Thu, 12 May 2005 20:21:18 +0000 (20:21 +0000)]
* solib.h (CLEAR_SOLIB, SOLIB_ADD)
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
(SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
(DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
comments.
* breakpoint.c: Include "solib.h".
(insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
solib_address.
(remove_solib_event_breakpoints, create_solib_event_breakpoint)
(disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib)
(re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
defined. If PC_SOLIB isn't defined, call solib_address.
(_initialize_breakpoint): Unconditionally install observer.
* corelow.c: Include "solib.h".
[SOLIB_ADD] (solib_add_stub): Remove prototype.
(core_close) [!CLEAR_SOLIB]: Call clear_solib.
(solib_add_stub) [!SOLIB_ADD] Call solib_add.
(core_open): Unconditionally call solib_add_stub.
* fork-child.c: Include "solib.h".
(fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
* infcmd.c: Include "solib.h".
(attach_command) [!SOLIB_ADD]: Call shlib_rescan.  Unconditionally
call re_enable_breakpoints_in_shlibs.
* infrun.c: Include "solib.h".
(SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
defined.
(stop_on_solib_events, show_stop_on_solib_events): Include
unconditionally.
(follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
(handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
[!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
(_initialize_infrun): Unconditionally add "stop_on_solib-events"
command.
* remote.c: Include "solib.h".
(remote_open_1): Unconditionally call no_shared_libraries.
[!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
* stack.c: Include "solib.h".
(print_frame) [!PC_SOLIB] Call shlib_for_pc.
* xcoffsolib.c (no_shared_libraries): Remove function.
* Makefile.in (SFILES): Add solib.c.
(ALLDEPFILES): Remove solib.c.
(COMMON_OBS): Add solib.o.
(breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
(remote.o, stack.o): Update dependencies.

19 years agomerge from gcc
DJ Delorie [Thu, 12 May 2005 20:00:35 +0000 (20:00 +0000)]
merge from gcc

19 years agoPR bootstrap/21230
DJ Delorie [Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)]
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.

19 years ago * cp-names.y: Renamed to ...
Daniel Jacobowitz [Thu, 12 May 2005 16:01:08 +0000 (16:01 +0000)]
* cp-names.y: Renamed to ...
* cp-name-parser.y: ... this.
* Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
cp-name-parser.y.
(test-cp-names.o): Renamed to test-cp-name-parser.o.
(test-cp-names): Renamed to test-cp-name-parser.
(clean, local-maintainer-clean): Update.
(cp-names.o): Renamed to cp-name-parser.o.

19 years ago * observer.sh: Use observer.tmp instead of observer.inc-tmp which
Eli Zaretskii [Thu, 12 May 2005 15:44:19 +0000 (15:44 +0000)]
* observer.sh: Use observer.tmp instead of observer.inc-tmp which
on 8+3 filesystems overwrites observer.inc.  Update copyright year
of the resultant file.

19 years ago * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
Eli Zaretskii [Thu, 12 May 2005 15:28:31 +0000 (15:28 +0000)]
* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
is_gnu_v3_mangled_ctor to avoid compiler warnings.

19 years ago * elf32-ppc.c (LWZU_0_X_11): Delete.
Alan Modra [Thu, 12 May 2005 15:24:51 +0000 (15:24 +0000)]
* elf32-ppc.c (LWZU_0_X_11): Delete.
(B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define.
(ppc_elf_select_plt_layout): Set .got flags too.  Formatting.
(ppc_elf_size_dynamic_sections): Allocate space for .glink branch
table.
(ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch
table.
(ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value.
Generate .glink branch table and updated stubs.

19 years agoAdd missing \n character to end of warning message created by the previous delta
Nick Clifton [Thu, 12 May 2005 14:09:23 +0000 (14:09 +0000)]
Add missing \n character to end of warning message created by the previous delta

19 years ago2005-05-12 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Thu, 12 May 2005 12:14:23 +0000 (12:14 +0000)]
2005-05-12  Orjan Friberg  <orjanf@axis.com>

* target.h (struct target_ops): Add insert_watchpoint,
remove_watchpoint, stopped_by_watchpoint, stopped_data_address function
pointers for hardware watchpoint support.
* linux-low.h (struct linux_target_ops): Ditto.
* linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint)
(linux_stopped_by_watchpoint, linux_stopped_data_address): New.  Add
to linux_target_ops.
* remote-utils.c (prepare_resume_reply): Add watchpoint information to
reply packet.
* server.c (main): Recognize 'Z' and 'z' packets.

19 years ago * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we
Eli Zaretskii [Thu, 12 May 2005 09:05:45 +0000 (09:05 +0000)]
* gdb.texinfo (Startup): Fix last change.  Treat gdb.ini like we
do with other non-standard names of init files.

19 years agoIf pointer_size has not been found then assume that it is 4 in order to
Nick Clifton [Thu, 12 May 2005 09:05:36 +0000 (09:05 +0000)]
If pointer_size has not been found then assume that it is 4 in order to
prevent a seg fault when process_extend_line_op attempts to read the line
data.

19 years ago * config/djgpp/config.sed: Adapt to latest Autoconf.
Eli Zaretskii [Thu, 12 May 2005 08:42:12 +0000 (08:42 +0000)]
* config/djgpp/config.sed: Adapt to latest Autoconf.

* config/djgpp/djconfig.sh: Add -Wpointer-arith and
-Wuninitialized to the build warnings.

19 years agoUpdate the address of the FSF organization
Nick Clifton [Thu, 12 May 2005 07:36:59 +0000 (07:36 +0000)]
Update the address of the FSF organization

19 years agoUpdate FSF addresses
Nick Clifton [Thu, 12 May 2005 07:32:09 +0000 (07:32 +0000)]
Update FSF addresses

19 years ago2005-05-11 Eli Zaretskii <eliz@gnu.org>
Ian Lance Taylor [Thu, 12 May 2005 03:45:53 +0000 (03:45 +0000)]
2005-05-11  Eli Zaretskii  <eliz@gnu.org>

* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
sys/stat.h.
(pex_init): Fix last argument to pex_init_common.
(pex_djgpp_exec_child): Remove leading underscore from _open,
_dup, _dup2, _close, and _spawnv/_spawnvp.  Replace `program',
which is undeclared, with `executable', which was unused.  Remove
unused variable `e'.  Fix casting of last arg to spawnv/spawnvp.
(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.

19 years ago * scripttempl/elfxtensa.sc: Sync up with elf.sc.
Bob Wilson [Thu, 12 May 2005 00:31:22 +0000 (00:31 +0000)]
    * scripttempl/elfxtensa.sc: Sync up with elf.sc.
        * emulparams/elf32xtensa.sh (PLT, GOT): Define.

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

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

19 years ago * ld-undefined/undefined.exp: xfail xtensa-*-*.
Bob Wilson [Wed, 11 May 2005 20:52:43 +0000 (20:52 +0000)]
    * ld-undefined/undefined.exp: xfail xtensa-*-*.

19 years ago * gdb.texinfo (Command Files): Move the description of the startup
Eli Zaretskii [Wed, 11 May 2005 15:47:49 +0000 (15:47 +0000)]
* gdb.texinfo (Command Files): Move the description of the startup
from here...
(Startup): ...to this new subsection of the Invocation chapter.
Rearrange the description of init files more logically and add a
cross-reference to "Command Files".  Document the special gdbinit
name for CISCO 68k.  Expand the description of what GDB does
during startup.
(History): Add index entry for HISTSIZE.

19 years ago * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
Alan Modra [Wed, 11 May 2005 14:10:59 +0000 (14:10 +0000)]
* readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
(get_dynamic_type): Call the above.

19 years ago * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
Alan Modra [Wed, 11 May 2005 14:10:37 +0000 (14:10 +0000)]
* config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.

19 years ago * ldgram.y: Add SPECIAL token.
Alan Modra [Wed, 11 May 2005 14:10:10 +0000 (14:10 +0000)]
* ldgram.y: Add SPECIAL token.
(sect_constraint): Handle SPECIAL.
* ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
(map_input_to_output_sections): Likewise.
* ldlex.l (SPECIAL): Define.
* emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
GOT, PLT, GOTPLT): Define.
* emultempl/ppc32elf.em (old_plt, old_got): New static vars.
(ppc_after_open): New function.
(PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
(PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
(PARSE_AND_LIST_OPTIONS): Document them.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
(LDEMUL_AFTER_OPEN): Define.
* scripttempl/elf.sc (PLT): Don't override existing define.
(DATA_GOT, SDATA_GOT): Define and use to enable alternate got
placement rather than using NO_SMALL_DATA.  Emit GOTPLT for RELRO_NOW.

19 years ago * reloc.c (BFD_RELOC_HI16_PCREL): Define.
Alan Modra [Wed, 11 May 2005 14:09:43 +0000 (14:09 +0000)]
* reloc.c (BFD_RELOC_HI16_PCREL): Define.
(BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL): Define.
* elf32-ppc.c (GLINK_PLTRESOLVE, GLINK_ENTRY_SIZE): Define.
(CROR_151515, CROR_313131): Delete.
(ADDIS_11_11, ADDI_11_11, SUB_11_11_30, ADD_0_11_11, ADD_11_0_11,
LWZ_0_4_30, MTCTR_0, LWZ_12_8_30, BCTR, ADDIS_11_30,
LWZU_0_X_11): Define.
(ppc_elf_howto_raw): Add R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI
and R_PPC_REL16_HA entries.
(ppc_elf_reloc_type_lookup): Convert new bfd reloc types.
(ppc_elf_addr16_ha_reloc): Also handle R_PPC_REL16_HA.
(struct ppc_elf_link_hash_table): Add glink, glink_pltresolve,
new_plt, and old_plt.
(ppc_elf_create_dynamic_sections): Create .glink section.
(ppc_elf_check_relocs): Set new_plt and old_plt.
(ppc_elf_select_plt_layout): New function.
(ppc_elf_tls_setup): Set plt output section elf type and flags.
(allocate_got): Handle differences between old and new got layout.
(allocate_dynrelocs): Likewise for plt.
(ppc_elf_size_dynamic_sections): Likewise.  Allocate memory for
.glink.  Don't allocate memory for old bss .plt.  Emit DT_PPC_GLINK.
(ppc_elf_relax_section): Rename ppc_info to htab.  Handle .glink
destination of R_PPC_PLTREL24 relocs.
(ppc_elf_relocate_section): Handle new relocs and changed destination
of R_PPC_PLTREL24.
(ppc_elf_finish_dynamic_symbol): Init new style plt and handle
differences in layout.
(ppc_elf_finish_dynamic_sections): Set DT_PPC_GLINK value.  Don't
put a blrl in new got.  Write glink contents.
* elf32-ppc.h (ppc_elf_select_plt_layout): Declare.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

19 years ago * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
Alan Modra [Wed, 11 May 2005 14:08:45 +0000 (14:08 +0000)]
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT) Adjust.
(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
(DT_PPC_GLINK): Define.

19 years ago * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
Eli Zaretskii [Wed, 11 May 2005 13:35:56 +0000 (13:35 +0000)]
* config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
Fix mappings for hilo-hazard-?.s.

19 years ago * elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
Andreas Schwab [Wed, 11 May 2005 09:23:43 +0000 (09:23 +0000)]
* elf32-i386.c (elf_i386_finish_dynamic_sections): Fix signedness
warning.

19 years agoFix a typo in bunzip2..
Eli Zaretskii [Wed, 11 May 2005 07:29:35 +0000 (07:29 +0000)]
Fix a typo in bunzip2..

19 years agoUpdate GDB versions and my email address.
Eli Zaretskii [Wed, 11 May 2005 07:26:26 +0000 (07:26 +0000)]
Update GDB versions and my email address.

19 years ago2005-05-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 11 May 2005 02:15:46 +0000 (02:15 +0000)]
2005-05-10  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (_bfd_elf_make_section_from_shdr): Only check debug
section if SEC_ALLOC isn't set.

19 years agomerge from gcc
DJ Delorie [Wed, 11 May 2005 02:10:00 +0000 (02:10 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Wed, 11 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

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

19 years agoUpdate the address and phone number of the FSF organization.
Nick Clifton [Tue, 10 May 2005 15:33:34 +0000 (15:33 +0000)]
Update the address and phone number of the FSF organization.

19 years agogas/
Michael Matz [Tue, 10 May 2005 15:10:08 +0000 (15:10 +0000)]
gas/
        * frags.c (frag_grow): Don't be too greedy in allocating memory.
        * config/tc-hppa.c (pa_block): Check arguments to .block[z].

gas/testsuite/
        * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for
        .block.

19 years ago * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.
Ulrich Weigand [Tue, 10 May 2005 13:48:59 +0000 (13:48 +0000)]
* linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions.
(the_low_target): Add new members.

19 years ago PR binutils/886
Hans-Peter Nilsson [Tue, 10 May 2005 12:32:23 +0000 (12:32 +0000)]
PR binutils/886
* config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
Handle label-without-colon before ordinary dot-pseudo as an
ordinary label.  Don't leak memory for label-without-colon alone
on a line.  Don't mmixal-munge operands for dot-pseudos.

19 years ago * gas/mmix/relax2.s: Drop ":" off label definitions.
Hans-Peter Nilsson [Tue, 10 May 2005 12:30:11 +0000 (12:30 +0000)]
* gas/mmix/relax2.s: Drop ":" off label definitions.

19 years agoUpdate the address and phone number of the FSF organization
Nick Clifton [Tue, 10 May 2005 10:21:13 +0000 (10:21 +0000)]
Update the address and phone number of the FSF organization

19 years agogas/
Jan Beulich [Tue, 10 May 2005 07:48:24 +0000 (07:48 +0000)]
gas/
2005-05-10  Jan Beulich  <jbeulich@novell.com>

* macro.c (get_any_string): Remove the two last parameters. Replace
references to the former expand parameter by using macro_alternate.
Simplify loop condition for checking for end-of-string.
(get_string): Remove redunant call to sb_skip_white.
(do_formals): Remove two last arguments to get_any_string.
(macro_expand): Likewise.
(expand_irp): Likewise.

19 years agogas/
Jan Beulich [Tue, 10 May 2005 07:45:11 +0000 (07:45 +0000)]
gas/
2005-05-10  Jan Beulich  <jbeulich@novell.com>

* read.c (s_macro): Move local variable 'local' to smaller scope.
Call sb_kill on it when done.

19 years ago * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
Alan Modra [Tue, 10 May 2005 02:27:38 +0000 (02:27 +0000)]
* scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
(DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
(GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END.  Place after
DATA_SEGMENT_RELRO_END in script.

19 years ago2005-05-09 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Tue, 10 May 2005 01:27:54 +0000 (01:27 +0000)]
2005-05-09  Kelley Cook  <kcook@gcc.gnu.org>

* configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.
* acinclude.m4: Don't sinclude accross.m4.
* config.in, configure, Makefile.in, doc/Makefile.in: Regenerate.

19 years ago2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 May 2005 01:07:30 +0000 (01:07 +0000)]
2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Don't use a removed section.

19 years ago2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 May 2005 01:06:04 +0000 (01:06 +0000)]
2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* ldmain.c (reloc_overflow): Use output_bfd if the symbol
is defined in the ABS section.

19 years agodaily update
Alan Modra [Tue, 10 May 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 10 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-05-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 9 May 2005 21:20:35 +0000 (21:20 +0000)]
2005-05-09  Andrew Cagney  <cagney@gnu.org>

Use gdb_byte in preference to bfd_byte.
* gdbarch.sh: Update.
* gdbarch.h, gdbarch.c: Re-generate.
* ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
* c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
* f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
* jv-valprint.c, language.c, language.h, m2-lang.c: Update.
* m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
* p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
* scm-lang.h, scm-valprint.c, target.c, target.h: Update.
* tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
* valprint.h, value.c, value.h: Update.

19 years ago * Makefile.am: Use a temporary file to build chew.
Daniel Jacobowitz [Mon, 9 May 2005 21:13:56 +0000 (21:13 +0000)]
* Makefile.am: Use a temporary file to build chew.
* Makefile.in: Regenerated.

19 years agoFix typos in ChangeLog
Mark Mitchell [Mon, 9 May 2005 21:07:02 +0000 (21:07 +0000)]
Fix typos in ChangeLog

19 years ago* vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
Mark Kettenis [Mon, 9 May 2005 20:00:40 +0000 (20:00 +0000)]
* vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
Use `gdb_byte *' for regs.
* vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
(vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
gdb_byte for buf.
(vax_breakpoint_from_pc): Change return type to `const gdb_byte
*'.  Use gdb_byte for break_insn.
(vax_skip_prologue): Use gdb_byte for op.

19 years ago* i387-tdep.c: Remove outdated comments.
Mark Kettenis [Mon, 9 May 2005 19:53:44 +0000 (19:53 +0000)]
* i387-tdep.c: Remove outdated comments.

19 years ago * readline/aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
Mark Mitchell [Mon, 9 May 2005 19:42:03 +0000 (19:42 +0000)]
* readline/aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
* readline/complete.c (pwd.h): Guard with HAVE_PWD_H.
(getpwent): Guard with HAVE_GETPWENT.
(rl_username_completion_function): Guard use of getpwent.
(endpwent): Likewise.
* readline/config.h.in (HAVE_FCNTL): New macro.
(HAVE_GETPWENT): Likewise.
(HAVE_GETPWNAM): Likewise.
(HAVE_GETPWUID): Likewise.
(HAVE_KILL): Likewise.
(HAVE_PWD_H): Likewise.
* readline/configure: Regenerated.
* readline/configure.in: Handle MinGW when cross compiling.  Check for
getpwnam, getpwent, getpwuid, kill, and pwd.h.
* readline/display.c (rl_clear_screen): Treat Windows like DOS.
(insert_some_chars): Likewise.
(delete_chars): Likewise.
* readline/shell.c (pwd.h): Guard with HAVE_PWD_H.
(getpwuid): Guard with HAVE_GETPWUID.
(sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H.
* readline/signals.c (rl_signal_handler): Don't use SIGALRM or
SIGQUIT if not defined.  Use "raise" if "kill" is not available.
(rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if
they are not defined.
(rl_clear_signals): Likewise.
* readline/tilde.c (pwd.h): Guard with HAVE_PWD_H.
(getpwuid): Guard declaration with HAVE_GETPWUID.
(getpwnam): Guard declaration with HAVE_GETPWNAM.
(tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.

19 years ago* defs.h: Unconditionally include <sys/types.h>.
Mark Kettenis [Mon, 9 May 2005 17:20:18 +0000 (17:20 +0000)]
* defs.h: Unconditionally include <sys/types.h>.

19 years agogas/
Jan Beulich [Mon, 9 May 2005 15:41:47 +0000 (15:41 +0000)]
gas/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (optimize_disp): Discard displacement entirely when zero and
not required by encoding constraints.

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

* gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will
actually be present in memory addressing.
* gas/i386/tlspic.[sd]: Likewise.

19 years ago2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 9 May 2005 14:20:52 +0000 (14:20 +0000)]
2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>

PR 936
* config/tc-sh64.c (sh64_fake_label): New.

* config/tc-sh64.h (TC_FAKE_LABEL): New.

* doc/internals.texi (TC_FAKE_LABEL): Document.

* write.c (TC_FAKE_LABEL): New.
(adjust_reloc_syms): Use it.
(write_object_file): Likewise.

19 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym.
Alan Modra [Mon, 9 May 2005 10:30:40 +0000 (10:30 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym.
(ppc64_elf_add_symbol_hook): Set has_dotsym.
(ppc64_elf_check_directives): Only process syms when has_dotsym.
(func_desc_adjust): Hide fake function descriptors when function
code entry is defined.
(adjust_opd_syms): Adjust for deleted_section becoming union field.

19 years agoUpdate the address of the FSF
Nick Clifton [Mon, 9 May 2005 06:55:25 +0000 (06:55 +0000)]
Update the address of the FSF

19 years agogas/
Jan Beulich [Mon, 9 May 2005 06:49:01 +0000 (06:49 +0000)]
gas/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_insn): Disallow use of prefix separator
and comma in Intel mode.

include/opcode/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add ht and hnt.

19 years agogas/
Jan Beulich [Mon, 9 May 2005 06:44:51 +0000 (06:44 +0000)]
gas/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
names to match ABI. Add more registers for 32-bit and 64-bit modes.
Make name array static and const. Adjust lookup to account for NULL
entries (standing for unused register numbers).

19 years agogas/
Jan Beulich [Mon, 9 May 2005 06:38:45 +0000 (06:38 +0000)]
gas/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_insn): Consider all matching instructions
when checking for string instruction after string-only prefix.

19 years ago * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
Daniel Jacobowitz [Mon, 9 May 2005 03:36:10 +0000 (03:36 +0000)]
* mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
section like .plt.

19 years ago * elfcode.h (elf_object_p): Add more sanity checks on elf header.
Alan Modra [Mon, 9 May 2005 03:35:38 +0000 (03:35 +0000)]
* elfcode.h (elf_object_p): Add more sanity checks on elf header.

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

19 years ago*** empty log message ***
gdbadmin [Mon, 9 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-05-08 Dave Korn <dave.korn@artimi.com>
Dave Korn [Sun, 8 May 2005 23:48:38 +0000 (23:48 +0000)]
2005-05-08  Dave Korn   <dave.korn@artimi.com>

* coff-tic80.c:  Undefine _CONST after system headers to prevent
clash with tic80-specific definition in include/coff/tic80.h