binutils-gdb.git
19 years ago * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
David S. Miller [Thu, 21 Apr 2005 22:04:04 +0000 (22:04 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
(sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
(sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
sparc32_linux_sigtramp_frame_cache,
sparc32_linux_sigtramp_frame_this_id,
sparc32_linux_sigtramp_frame_prev_register,
sparc32_linux_sigtramp_frame_unwind,
sparc32_linux_sigtramp_frame_sniffer): Delete.
(sparc32_linux_init_abi): Register new tramp unwinders.  Kill
register of old sigtramp sniffer.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
function.
(sparc64_linux_rt_sigframe): New tramp frame.
(sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
sparc64_linux_sigtramp_frame_cache,
sparc64_linux_sigtramp_frame_this_id,
sparc64_linux_sigtramp_frame_prev_register,
sparc64_linux_sigtramp_frame_unwind,
sparc64_linux_sigtramp_frame_sniffer): Delete.
(sparc64_linux_init_abi): Register new tramp unwinders.  Kill
register of old sigtramp sniffer.
Makefile.in (sparc64-linux-tdep.o): Update dependencies.
(sparc-linux-tdep.o): Likewise.

19 years ago* ser-base.c: Include "gdb_string.h".
Mark Kettenis [Thu, 21 Apr 2005 21:23:25 +0000 (21:23 +0000)]
* ser-base.c: Include "gdb_string.h".
* Makefile.in (ser-base.o): Update dependencies.

19 years ago * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
Christian Groessler [Thu, 21 Apr 2005 20:03:57 +0000 (20:03 +0000)]
* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
array.

19 years ago * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
David S. Miller [Thu, 21 Apr 2005 19:38:20 +0000 (19:38 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
signal return stub symbol names, __restore and __restore_rt are
the i386 symbol names not the sparc ones.
(sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
as where the offsets were obtained from.
* sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
LINUX64_RT_SIGTRAMP_INSN1): New defines.
(sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
sparc64_linux_sigtramp_frame_cache,
sparc64_linux_sigtramp_frame_this_id,
sparc64_linux_sigtramp_frame_prev_register,
sparc64_linux_sigtramp_frame_sniffer): New functions.
(sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
(sparc64_linux_init_abi): Register sigtramp frame sniffer.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.

19 years ago * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
Andreas Schwab [Thu, 21 Apr 2005 12:19:55 +0000 (12:19 +0000)]
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove
unsigned from type of dynamic_interpreter.
* elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove
casts again.

19 years ago * elf.c (assign_section_numbers): Fix comment.
Andreas Schwab [Thu, 21 Apr 2005 12:13:37 +0000 (12:13 +0000)]
* elf.c (assign_section_numbers): Fix comment.

19 years ago * som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
Jerome Guitton [Thu, 21 Apr 2005 10:47:49 +0000 (10:47 +0000)]
* som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
for struct som_exec_auxhdr fields.

19 years agoUpdate to ISO-C90 and fix formatting
Nick Clifton [Thu, 21 Apr 2005 07:45:39 +0000 (07:45 +0000)]
Update to ISO-C90 and fix formatting

19 years ago * configure.ac: On MinGW, define USE_WIN32API and link with
Mark Mitchell [Thu, 21 Apr 2005 05:34:33 +0000 (05:34 +0000)]
* configure.ac: On MinGW, define USE_WIN32API and link with
-lws2_32.
* ser-tcp.c (<winsock2.h>): Include, for Windows.
(ETIMEDOUT): Define, for Windows.
(ioctl): Likewise.
(closesocket): Define, for POSIX.
(net_open): Adjust for differences in socket functions between
Windows and UNIX.
(net_close): Likweise.
(net_read_prim): New function.
(net_write_prim): Likewise.
(_initialize_ser_tcp): Initialize winsock.  Fill in read_prim and
write_prim.
* ser-unix.h (ser_unix_readcchar): Remove.
(ser_unix_read_prim): Declare.
(ser_unix_write_prim): Likewise.
* ser-unix.c (generic_readchar): Move to ser-base.c.
(ser_unix_wait_for): Likewise.
(do_unix_readchar): Likewise.
(ser_unix_readchar): Likewise.
(_initialize_ser_hardwire): Initialize read_prim and write_prim.
(ser_unix_read_prim): New function.
(ser_unix_write_prim): Likewise.
* ser-base.h (generic_readchar): Declare.
(ser_base_readchar): Likewise.
* ser-base.c (<winsock2.h>): Include, for windows.
(fd_event): Use the read primitive specified by the serial
interface.
(ser_base_wait_for): Moved from ser-unix.c
(do_ser_base_read_char): Likewise.
(generic_readchar): Likewise.
(ser_base_readchar): Likewise.
(ser_base_write): Use the write primitive specified by the serial
interface.
* ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
ser_unix_readchar.  Initialize read_prim and write_prim.
* serial.c (struct serial_ops): Add read_prim and write_prim.
* configure: Regenerate.

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

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

19 years agoadded missing header file #include "libiberty.h" to psim.c
Manoj Iyer [Wed, 20 Apr 2005 22:33:08 +0000 (22:33 +0000)]
added missing header file #include "libiberty.h" to psim.c

2005-04-20  Manoj Iyer  <manjo@austin.ibm.com>

     * psim.c: Added libiberty.h header file.

19 years agoadded missing header file libiberty.h to psim.c
Manoj Iyer [Wed, 20 Apr 2005 22:30:30 +0000 (22:30 +0000)]
added missing header file libiberty.h to psim.c

19 years agoInsert a blank like after header
Manoj Iyer [Wed, 20 Apr 2005 22:28:52 +0000 (22:28 +0000)]
Insert a blank like after header

19 years agoInserting a blank line to changelog
Manoj Iyer [Wed, 20 Apr 2005 22:27:40 +0000 (22:27 +0000)]
Inserting a blank line to changelog

19 years ago * readelf.c (display_debug_frames): Use data factor for
Daniel Jacobowitz [Wed, 20 Apr 2005 18:43:16 +0000 (18:43 +0000)]
* readelf.c (display_debug_frames): Use data factor for
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.

19 years ago * elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning.
David S. Miller [Wed, 20 Apr 2005 18:39:26 +0000 (18:39 +0000)]
* elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning.
(_bfd_sparc_elf_link_hash_table_create): Likewise.
(allocate_dynrelocs): Likewise.

19 years ago2005-04-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 20 Apr 2005 17:40:01 +0000 (17:40 +0000)]
2005-04-20  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-aout.h (S_IS_EXTERN): Removed.
* config/obj-bout.h (S_IS_EXTERN): Likewise.
* config/obj-coff.h (S_IS_EXTERN): Likewise.
* symbols.c (S_IS_EXTERN): Likewise.
* symbols.h (S_IS_EXTERN): Likewise.

* config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
S_IS_EXTERNAL.
* config/tc-d10v.c (md_apply_fix3): Likewise.
* config/tc-ia64.c (ia64_fix_adjustable): Likewise.
* config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
* config/tc-m32r.c (m32r_fix_adjustable): Likewise.
* config/tc-mmix.c (mmix_adjust_symtab): Likewise.
* config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
(shmedia_md_convert_frag): Likewise.
* symbols.c (print_symbol_value_1): Likewise.
* write.c (write_object_file): Likewise.

19 years ago(get_aligned_diff): Change type of branch_align to offsetT so that its
Nick Clifton [Wed, 20 Apr 2005 15:27:02 +0000 (15:27 +0000)]
(get_aligned_diff): Change type of branch_align to offsetT so that its
signedness matches that of target_size.

19 years agounsigned32 and unsigned64 is multiply defined in sim-types.h.
Manoj Iyer [Wed, 20 Apr 2005 15:21:37 +0000 (15:21 +0000)]
unsigned32 and unsigned64 is multiply defined in sim-types.h.

2005-04-20  Manoj Iyer  <manjo@austin.ibm.com>
* sim-types.h: Changed unsigned32 and unsigned64 to signed32
and signed64 for __ALPHA__.

19 years ago * configure.in: Fix the check for basename declaration. Add check
Jerome Guitton [Wed, 20 Apr 2005 15:00:15 +0000 (15:00 +0000)]
* configure.in: Fix the check for basename declaration. Add check
for declarations of ftello, ftello64, fseeko, fseeko64.
* configure: Regenerate.
* config.in: Ditto.
* sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.

19 years agoUse HAVE_LONG_LONG to check if compiler supports long long instead of using __GNU__.
Manoj Iyer [Wed, 20 Apr 2005 14:43:55 +0000 (14:43 +0000)]
Use HAVE_LONG_LONG to check if compiler supports long long instead of using __GNU__.

2005-04-18  Manoj Iyer  <manjo@austin.ibm.com>
* configure.ac: Added check for long long.
* config.in: Regenerated.
* configure: Regenerated.
* words.h: Modified logic to check for HAVE_LONG_LONG instead of
__GNUC__, added config.h header file.

19 years ago(macro): Use sprintf_vma to convert a > 32 bit number into a readable string.
Nick Clifton [Wed, 20 Apr 2005 14:35:40 +0000 (14:35 +0000)]
(macro): Use sprintf_vma to convert a > 32 bit number into a readable string.
(load_register): Likewise.

19 years ago * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
Andreas Schwab [Wed, 20 Apr 2005 13:29:45 +0000 (13:29 +0000)]
* config/tc-ia64.c (specify_resource): Initialize all of tmpl.

19 years agogas/testsuite/
Jan Beulich [Wed, 20 Apr 2005 12:28:00 +0000 (12:28 +0000)]
gas/testsuite/
2005-04-20  Jan Beulich  <jbeulich@novell.com>

* gas/elf/struct.s: Adjust to not get into alignment issues.
* gas/elf/struct.d: Adjust for the above and the test's name.

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

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

19 years ago2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 19 Apr 2005 21:29:46 +0000 (21:29 +0000)]
2005-04-19  H.J. Lu  <hongjiu.lu@intel.com>

* objdump.c (dump_section_header): Skip linker created section.

19 years ago * elfxx-sparc.c: New file.
David S. Miller [Tue, 19 Apr 2005 21:26:30 +0000 (21:26 +0000)]
* elfxx-sparc.c: New file.
* elfxx-sparc.h: New file.
* Makefile.in (BFD32_BACKENDS): Add elfxx-sparc.lo
(BFD32_BACKENDS_CFILES): Add elfxx-sparc.c
(elfxx-sparc.lo): New rule.
(elf32-sparc.lo): Add elfxx-sparc.h dependency.
(elf64-sparc.lo): Likewise.
* configure.in (bfd_elf32_sparc_vec): Add elfxx-sparc.lo
(bfd_elf64_sparc_vec): Likewise.
* configure: Regenerate.
* elf32-sparc.c: Remove common code now in elfxx-sparc.c
* elf64-sparc.c: Likewise, also use elf64_sparc_*() naming
which is more consistent with elf32-sparc.c

19 years ago * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
David S. Miller [Tue, 19 Apr 2005 19:45:10 +0000 (19:45 +0000)]
* config/tc-sparc.c (md_assemble): If sparc_ip gives us a
NULL insn, exit early.  Remove now spurious NULL checks.
(sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
to NULL and exit.

19 years agomerge from gcc
DJ Delorie [Tue, 19 Apr 2005 19:09:30 +0000 (19:09 +0000)]
merge from gcc

19 years ago * elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.
Daniel Jacobowitz [Tue, 19 Apr 2005 18:33:20 +0000 (18:33 +0000)]
* elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.
(mips_elf_create_local_got_entry): Check h->root.forced_local.

19 years ago2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 19 Apr 2005 18:11:11 +0000 (18:11 +0000)]
2005-04-19  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/padlock.d: Updated.

19 years agogas/
Jan Beulich [Tue, 19 Apr 2005 15:05:09 +0000 (15:05 +0000)]
gas/
2005-04-19  Jan Beulich  <jbeulich@novell.com>

* symbols.h (symbol_find_base): Remove prototype.
* symbols.c (save_symbol_name): Remove code section conditional upon
STRIP_UNDERSCORE.
(symbol_find): Remove.
(symbol_find_base): Rename to symbol_find.
* subsegs.c (section_symbol): Replace use of symbol_find_base with
symbol_find.
* config/obj-coff.c (tag_insert): Remove code section conditional
upon STRIP_UNDERSCORE.
(obj_coff_def): Likewise.
(obj_coff_endef): Replace use of symbol_find_base with symbol_find.
(coff_frob_symbol): Likewise.
(yank_symbols): Likewise.
(c_section_symbol): Likewise.
* config/obj-coff.h (DO_NOT_STRIP): Remove.
* config/tc-arm.c (symbol_locate): Remove code section conditional
upon STRIP_UNDERSCORE.
* config/tc-h8300.h (DO_NOT_STRIP): Remove.
* config/tc-h8500.h (DO_NOT_STRIP): Remove.
* config/tc-sh.h (DO_NOT_STRIP): Remove.
* config/tc-w65.h (DO_NOT_STRIP): Remove.
* config/tc-z8k.h (DO_NOT_STRIP): Remove.

19 years ago * config/tc-ia64.c (md_assemble): Fix error message for wrong
Andreas Schwab [Tue, 19 Apr 2005 14:44:15 +0000 (14:44 +0000)]
* config/tc-ia64.c (md_assemble): Fix error message for wrong
access to application registers.

testsuite/:
* gas/ia64/invalid-ar.l: Adapt to changed error message.

19 years agogas/
Jan Beulich [Tue, 19 Apr 2005 07:23:05 +0000 (07:23 +0000)]
gas/
2005-04-19  Jan Beulich  <jbeulich@novell.com>

* config/te-sysv32.h: Remove.
* Makefile.am (TARG_ENV_HFILES): Remove reference to
config/te-sysv32.h.
* Makefile.in (TARG_ENV_HFILES): Likewise.

19 years agogas/
Jan Beulich [Tue, 19 Apr 2005 06:46:49 +0000 (06:46 +0000)]
gas/
2005-04-19  Jan Beulich  <jbeulich@novell.com>

PR/847
* config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
length symbols.

19 years ago * c-lang.c (c_create_fundamental_type): Comment fix.
Ben Elliston [Tue, 19 Apr 2005 05:58:24 +0000 (05:58 +0000)]
* c-lang.c (c_create_fundamental_type): Comment fix.

19 years agobfd/
Alan Modra [Tue, 19 Apr 2005 05:44:55 +0000 (05:44 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_check_relocs): Don't bother with
dynamic relocs in non-SEC_ALLOC sections.
(ppc_elf_gc_sweep_hook): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
ld/testsuite/
* ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs.

19 years ago * ppc-opc.c (RTO): Define.
Alan Modra [Tue, 19 Apr 2005 04:50:37 +0000 (04:50 +0000)]
* ppc-opc.c (RTO): Define.
(powerpc_opcodes <tlbsx, tlbsx., tlbre>): Combine PPC403 and BOOKE
entries to suit PPC440.

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

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

19 years agodos2unix
Michael Snyder [Mon, 18 Apr 2005 23:37:51 +0000 (23:37 +0000)]
dos2unix

19 years ago2005-04-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 18 Apr 2005 23:15:00 +0000 (23:15 +0000)]
2005-04-18  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
* mn10300-prologue.c: Remove.
* mn10300-tdep.h: Add enums from mn10300-prologue.c.
Remove prototypes.
* config/mn10300/mn10300.mt: Remove mn10300-prologue module.

19 years agogas/ChangeLog:
Mark Kettenis [Mon, 18 Apr 2005 20:59:20 +0000 (20:59 +0000)]
gas/ChangeLog:
* config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
include/opcode/ChangeLog:
* i386.h: Insert hyphens into selected VIA PadLock extensions.
Add xcrypt-ctr.  Provide aliases without hyphens.
opcodes/ChangeLog:
* i386-dis.c: Insert hyphens into selected VIA PadLock extensions.
Add xcrypt-ctr.

19 years ago2005-04-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 18 Apr 2005 19:38:17 +0000 (19:38 +0000)]
2005-04-18  Michael Snyder  <msnyder@redhat.com>

* config/mn10300/mn10300.mt: Add mn10300-prologue module.

19 years ago2005-04-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 18 Apr 2005 19:34:19 +0000 (19:34 +0000)]
2005-04-18  Michael Snyder  <msnyder@redhat.com>

* ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.

19 years ago* config/tc-mips.c (normalize_constant_expr): Don't check for
Maciej W. Rozycki [Mon, 18 Apr 2005 14:16:10 +0000 (14:16 +0000)]
* config/tc-mips.c (normalize_constant_expr): Don't check for
HAVE_32BIT_GPRS.
(check_absolute_expr): Only call normalize_constant_expr() if
HAVE_32BIT_GPRS.
(mips_ip): Likewise.

* config/tc-mips.c (check_absolute_expr): Fix formatting.

19 years agogas/
Jan Beulich [Mon, 18 Apr 2005 13:35:46 +0000 (13:35 +0000)]
gas/
2005-04-18  Jan Beulich  <jbeulich@novell.com>

* macro.c (free_token): New, freeing all the memory associated with a
macro.
(do_formals): Move initializers to ...
(define_macro): ... here.
(delete_macro): Convert passed in name to lower case. Warn when
purging macro that doesn't exist. Use hash_jam instead of hash_delete.

gas/testsuite/
2005-04-18  Jan Beulich  <jbeulich@novell.com>

* gas/macros/purge.[ls]: New.
* gas/macros/macros.exp: Run new test.

19 years ago(Backtrace): Describe 'bt full'.
Nick Roberts [Mon, 18 Apr 2005 13:30:11 +0000 (13:30 +0000)]
(Backtrace): Describe 'bt full'.

19 years ago*** empty log message ***
Nick Roberts [Mon, 18 Apr 2005 13:28:22 +0000 (13:28 +0000)]
*** empty log message ***

19 years ago(WMAC, WMADD): Move casts from the LHS of an assignment operator to the RHS.
Nick Clifton [Mon, 18 Apr 2005 12:17:51 +0000 (12:17 +0000)]
(WMAC, WMADD): Move casts from the LHS of an assignment operator to the RHS.
(WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to indicate an
unsigned long long constant.

19 years ago(xcoff64_core_p): Fix compile time warning assigning a value to return_value.
Nick Clifton [Mon, 18 Apr 2005 12:10:57 +0000 (12:10 +0000)]
(xcoff64_core_p): Fix compile time warning assigning a value to return_value.

19 years ago2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 18 Apr 2005 03:13:49 +0000 (03:13 +0000)]
2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>

PR 855
* elf.c (_bfd_elf_copy_private_section_data): Don't copy linker
created group data.

19 years ago2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 18 Apr 2005 03:12:51 +0000 (03:12 +0000)]
2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>

PR 855
* elf.c (setup_group): Properly handle zero group count.

19 years ago * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
Hans-Peter Nilsson [Mon, 18 Apr 2005 03:08:46 +0000 (03:08 +0000)]
* cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
implemented.  In call to create_map, pad length argument to 8k.

19 years agodaily update
Alan Modra [Mon, 18 Apr 2005 00:00:04 +0000 (00:00 +0000)]
daily update

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

19 years ago* config/nm-bsd.h: Remove file.
Mark Kettenis [Sun, 17 Apr 2005 22:22:47 +0000 (22:22 +0000)]
* config/nm-bsd.h: Remove file.

19 years ago* hppabsd-nat.c: Update copyright year. Include "target.h" and
Mark Kettenis [Sun, 17 Apr 2005 22:20:20 +0000 (22:20 +0000)]
* hppabsd-nat.c: Update copyright year.  Include "target.h" and
"inf-ptrace.h".
(hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
made static.
(hppabsd_store_registers): Renamed from store_inferior_registers;
made static.
(_initialize_hppabsd_nat): New function and prototype.
* config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Remove.
* Makefile.in (hppabsd-nat.o): Update dependencies.

19 years ago2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 17 Apr 2005 14:33:06 +0000 (14:33 +0000)]
2005-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* objdump.c (dump_section_header): Support SEC_GROUP.

19 years ago* som.c (hppa_som_reloc, som_mkobject, som_is_space)
Mark Kettenis [Sun, 17 Apr 2005 12:45:30 +0000 (12:45 +0000)]
* som.c (hppa_som_reloc, som_mkobject, som_is_space)
(som_is_subspace, compare_subspaces, som_compute_checksum)
(som_build_and_write_symbol_table, som_slurp_symbol_table): New
protoypes.
(hppa_som_reloc, compare_syms, compare_subspaces)
(som_print_symbol, som_get_section_contents)
(som_set_section_contents): Remove space after 'void *'.
(som_bfd_print_private_bfd_data): Use %lx to print longs.
(som_bfd_merge_private_bfd_data)
(som_bfd_copy_private_header_data, som_bfd_set_private_flags): New
defines.

19 years ago* pa64solib.c, pa64solib.h: Remove files.
Mark Kettenis [Sun, 17 Apr 2005 10:24:15 +0000 (10:24 +0000)]
* pa64solib.c, pa64solib.h: Remove files.
* Makefile.in (pa64solib_h): Remove variable
(pa64solib.o): Remove dependency.

19 years agodaily update
Alan Modra [Sun, 17 Apr 2005 00:00:05 +0000 (00:00 +0000)]
daily update

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

19 years ago* ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
Mark Kettenis [Sat, 16 Apr 2005 22:12:09 +0000 (22:12 +0000)]
* ppcobsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
(ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
made static.
(ppcobsd_store_registers): Renamed from store_inferior_registers;
made static.
(_initialize_ppcobsd_nat): Construct and add target vector.
* config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Remove.
* Makefile.in (ppcobsd-nat.o): Update dependencies.

19 years agomerge from gcc
DJ Delorie [Sat, 16 Apr 2005 21:49:14 +0000 (21:49 +0000)]
merge from gcc

19 years ago* ppcobsd-tdep.c: Include "floatformat.h".
Mark Kettenis [Sat, 16 Apr 2005 21:37:02 +0000 (21:37 +0000)]
* ppcobsd-tdep.c: Include "floatformat.h".
(ppcobsd_init_abi): Set long_double_bit and long_double_format.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.

19 years ago* ppcobsd-tdep.c: Fix typo in comment.
Mark Kettenis [Sat, 16 Apr 2005 21:08:21 +0000 (21:08 +0000)]
* ppcobsd-tdep.c: Fix typo in comment.
(_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
bfd_arch_rs6000 too.

19 years ago(Mode Options): Fix typo.
Nick Roberts [Sat, 16 Apr 2005 20:56:20 +0000 (20:56 +0000)]
(Mode Options): Fix typo.
(GDB/MI): Describe how to invoke GDB/MI.

19 years ago*** empty log message ***
Nick Roberts [Sat, 16 Apr 2005 20:54:31 +0000 (20:54 +0000)]
*** empty log message ***

19 years ago (Debugging Output): Document "set/show debug
Eli Zaretskii [Sat, 16 Apr 2005 14:27:50 +0000 (14:27 +0000)]
(Debugging Output): Document "set/show debug
solib-frv".  Fix "set/show debugvarobj".
(Set Breaks): Add index entry for "hardware breakpoints".
(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
and "set/show usehardbreakpoints".
(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
monitor-prompt", "set/show monitor-warnings", "pmon".
(ARM): Document "rdilogfile", "rdilogenable", "set/show
rdiromatzero", "set/show rdiheartbeat".
(PowerPC): Document SDS-specific commands "set/show sdstimeout",
"sds".
(Embedded Processors): Document the "sim" command.
(Remote): Document the "remote" command.
(DJGPP Native): Document the "info serial" command.
(Threads): Document "maint info sol-threads".
(Files): Document "nosharedlibrary", "add-symbol-file-from-memory".
(Set Breaks): Improve indexing.
(Command Syntax): Add a reference to dont-repeat.
(Define): Document "dont-repeat".
(TUI Commands): Document "tabset".
(WinCE): New subsection.  Document "set/show remotedirectory",
"set/show remoteupload", "set/show remoteaddhost".

19 years ago (M32R/D): Document "sdireset", "sdistatus", "debug_chaos",
Eli Zaretskii [Sat, 16 Apr 2005 12:03:31 +0000 (12:03 +0000)]
(M32R/D): Document "sdireset", "sdistatus", "debug_chaos",
"use_debug_dma",
"use_mon_code", "use_ib_break", "use_dbt_break".
(Debugging Output): Improve wording.
(Set Breaks): Add index entry for "hardware breakpoints".
(Renesas ICE): Document "e7000", "ftplogin", "ftpload", "drain",
and "set/show usehardbreakpoints".
(MIPS Embedded): Document "se/show syn-garbage-limit", "set/show
monitor-prompt", "set/show monitor-warnings", "pmon".

19 years agoFix typos.
Eli Zaretskii [Sat, 16 Apr 2005 09:14:28 +0000 (09:14 +0000)]
Fix typos.

19 years ago * gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all
Eli Zaretskii [Sat, 16 Apr 2005 08:44:34 +0000 (08:44 +0000)]
* gdb.texinfo (OS Information): Renamed from Auxiliary Vector; all
references changed.  Add descriptgion of "info udot".
(Files): Document "set/show stop-on-solib-events".
(M32R/D): Document "set/show download-path", "set/show
board-address", "set/show server-address", "upload", "tload".
(Maintenance Commands): Improve indexing.
(Target Commands): Document "set/show hash", "set/show debug
monitor".
(SVR4 Process Information): Document "info pidlist" and "info
meminfo".  Document "set/show procfs-tarce" and "set/show
procfs-file".  Document "proc-trace-*" and "proc-untrace-*".
(Symbols, The Print Command with Objective-C): Improve indexing.
(Objective-C): Add references to "info classes" and "info
selectors".
(Debugging Output): Improve wording.

19 years ago(debug_apply_rela_addends): Remove redundant %s from printf string.
Nick Clifton [Sat, 16 Apr 2005 07:43:56 +0000 (07:43 +0000)]
(debug_apply_rela_addends): Remove redundant %s from printf string.

19 years agomerge from gcc
DJ Delorie [Sat, 16 Apr 2005 01:05:05 +0000 (01:05 +0000)]
merge from gcc

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

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

19 years agoDelete unused variables.
Kevin Buettner [Fri, 15 Apr 2005 21:16:09 +0000 (21:16 +0000)]
Delete unused variables.

19 years ago * remote.c (remote_get_thread_local_address): Throw a more
Kevin Buettner [Fri, 15 Apr 2005 20:55:56 +0000 (20:55 +0000)]
* remote.c (remote_get_thread_local_address): Throw a more
meaningful exception when remote target doesn't have support
for the qGetTLSAddr packet.

19 years agoAdd remote TLS support.
Kevin Buettner [Fri, 15 Apr 2005 19:58:59 +0000 (19:58 +0000)]
Add remote TLS support.

19 years ago* config/tc-mips.c (normalize_constant_expr): Fix formatting.
Maciej W. Rozycki [Fri, 15 Apr 2005 19:16:44 +0000 (19:16 +0000)]
* config/tc-mips.c (normalize_constant_expr): Fix formatting.

19 years ago * remote.c (add_packet_config_cmd): Delete unused variables.
Kevin Buettner [Fri, 15 Apr 2005 17:44:53 +0000 (17:44 +0000)]
* remote.c (add_packet_config_cmd): Delete unused variables.

19 years agoEliminate calls to deprecated_show_value_hack(). This also eliminates the
Kevin Buettner [Fri, 15 Apr 2005 17:13:23 +0000 (17:13 +0000)]
Eliminate calls to deprecated_show_value_hack().  This also eliminates the
printing of redundant information.

19 years ago (MIPS): Improve documentation of heuristic-fence-post. Document
Eli Zaretskii [Fri, 15 Apr 2005 16:43:54 +0000 (16:43 +0000)]
(MIPS): Improve documentation of heuristic-fence-post.  Document
"set/show mips abi", "set/show mips saved-gpreg-size", "set/show
mips stack-arg-size", "set/show mips mask-address", "set/show mips
remote-mips64-transfers-32bit-regs", "set/show debug mips".
(ARM): Document ARM-specific commands.
(AVR): New section.  Document "info io_registers".
(CRIS): New section.  Document "set/show cris-version" and
"set/show cris-dwarf2-cfi".
(HPPA): New section.  Document "set/show debug hppa" and "maint
print unwind".
(Netrino): New subsection.  Document "set/show debug nto-debug".
(Super-H): New section.  Document the "regs" command.

19 years ago * bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
Julian Brown [Fri, 15 Apr 2005 16:37:47 +0000 (16:37 +0000)]
* bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
* bfd/bfd-in2.h: Regenerate.
* bfd/elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'.
(elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx.
(bfd_elf32_arm_set_target_relocs): Handle use_blx.
(elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22
relocations if requested to.
(allocate_dynrelocs): Don't count size of omitted Thumb stubs based on
use_blx rather than symbian_p.
(elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if
use_blx is in effect.
(elf32_arm_symbian_link_hash_table_create): Enable use_blx by default
for SymbianOS.
* ld/ld.texinfo: Document --use-blx.
* ld/emultempl/armelf.em (use_blx): New variable.
(arm_elf_create_output_section_statements): Communicate value of
use_blx to bfd.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
(PARSE_AND_LIST_OPTIONS): Add --use-blx option.
(PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.

19 years agoIssue an error message when attmepting to copy an empty input file.
Nick Clifton [Fri, 15 Apr 2005 16:28:52 +0000 (16:28 +0000)]
Issue an error message when attmepting to copy an empty input file.

19 years ago * gdb.texinfo (ARM): Document ARM-specific commands.
Eli Zaretskii [Fri, 15 Apr 2005 12:37:57 +0000 (12:37 +0000)]
* gdb.texinfo (ARM): Document ARM-specific commands.

19 years ago *gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp".
Eli Zaretskii [Fri, 15 Apr 2005 12:09:49 +0000 (12:09 +0000)]
*gdb.texinfo (Debugging Output): Document "set/show debug lin-lwp".

19 years ago * gdb.texinfo (Hurd Native): New subsection, documents
Eli Zaretskii [Fri, 15 Apr 2005 11:53:52 +0000 (11:53 +0000)]
* gdb.texinfo (Hurd Native): New subsection, documents
Hurd-specific commands.

19 years agoUse fprintf_vma to print vma values.
Nick Clifton [Fri, 15 Apr 2005 11:47:47 +0000 (11:47 +0000)]
Use fprintf_vma to print vma values.

19 years agogas/
Jan Beulich [Fri, 15 Apr 2005 11:38:59 +0000 (11:38 +0000)]
gas/
2005-04-15  Jan Beulich  <jbeulich@novell.com>

* config/obj-elf.c (obj_elf_struct): New.
(elf_pseudo_table). Use it for .offset and .struct.

gas/testsuite/
2005-04-15  Jan Beulich  <jbeulich@novell.com>

* gas/elf/struct.[sd]: New.
* gas/elf/elf.exp: Run new test.

19 years ago * configure.ac: Add explicit sh64 case.
Corinna Vinschen [Fri, 15 Apr 2005 08:15:52 +0000 (08:15 +0000)]
* configure.ac: Add explicit sh64 case.
* configure: Regenerate.
* sh64/configure.ac: New file.
* sh64/configure.in: Remove.
* sh64/configure: Regenerate.
* sh64/defs-media.h (sem_fields): Add missing sfmt_ldhil member.
* sh64/sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
(sim_create_inferior): Ditto.

19 years ago * MAINTAINERS: Change sh64-elf state to non-broken.
Corinna Vinschen [Fri, 15 Apr 2005 08:01:15 +0000 (08:01 +0000)]
* MAINTAINERS: Change sh64-elf state to non-broken.
* Makefile.in: Fix dependencies for sh64-tdep.o.
* configure.tgt: Add sh64-*-elf case.
* sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
* sh64-tdep.c: Rework to replace all deprecated mechanisms with
modern methods.
* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
* config/sh/sh64.mt: Resurrect.

19 years ago * gas/all/assign.s: New.
Alan Modra [Fri, 15 Apr 2005 06:06:42 +0000 (06:06 +0000)]
* gas/all/assign.s: New.
* gas/all/assign.d: New.
* gas/all/gas.exp: Run it.

19 years ago * ld-d10v/default_layout.d: Update for unused section removal.
Alan Modra [Fri, 15 Apr 2005 06:02:54 +0000 (06:02 +0000)]
* ld-d10v/default_layout.d: Update for unused section removal.

19 years agoInclude Sterling Augustine as author of previous change.
Bob Wilson [Fri, 15 Apr 2005 04:19:46 +0000 (04:19 +0000)]
Include Sterling Augustine as author of previous change.

19 years ago * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
Bob Wilson [Fri, 15 Apr 2005 04:15:02 +0000 (04:15 +0000)]
    * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
        than the section alignment.

19 years ago PR ld/815
Alan Modra [Fri, 15 Apr 2005 03:42:46 +0000 (03:42 +0000)]
PR ld/815
* elflink.c (elf_smash_syms): Clear undef.next if it's not being
used as a list pointer.