external/binutils.git
22 years ago * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
Alan Modra [Fri, 25 Jan 2002 06:24:34 +0000 (06:24 +0000)]
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
unsigned overflow when new_offset < old_offset.

22 years ago*** empty log message ***
gdbadmin [Fri, 25 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 24 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-h8300.c (check_operand): Don't print a warning
Kazu Hirata [Thu, 24 Jan 2002 18:22:06 +0000 (18:22 +0000)]
* config/tc-h8300.c (check_operand): Don't print a warning
when a valid 24-bit address is given to a 16-bit address
operand.

22 years agofix typo
Nick Clifton [Thu, 24 Jan 2002 17:08:42 +0000 (17:08 +0000)]
fix typo

22 years agoNew Danish translation file.
Nick Clifton [Thu, 24 Jan 2002 15:20:00 +0000 (15:20 +0000)]
New Danish translation file.

22 years agoMerge in 5.1.1 tweeks.
Andrew Cagney [Thu, 24 Jan 2002 08:05:31 +0000 (08:05 +0000)]
Merge in 5.1.1 tweeks.

22 years agoApproved by msynder@redhat.com
Fred Fish [Thu, 24 Jan 2002 04:08:33 +0000 (04:08 +0000)]
Approved by msynder@redhat.com

2002-01-23  Fred Fish  <fnf@redhat.com>
* mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
stabstring on initial malloc.  Reallocing will copy it for us,
if necessary.

22 years ago2002-01-23 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 24 Jan 2002 03:44:10 +0000 (03:44 +0000)]
2002-01-23  Elena Zannoni  <ezannoni@redhat.com>

        * Makefile.in (hpread_h): Delete.
        (HFILES_NO_SRCDIR): Remove hpread.h.
        (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
        (hpread.o): Update dependencies.
        (hp-psymtab-read.o, hp-symtab-read.o): Remove.

        * hp-psymtab-read.c: Remove file.
        * hp-symtab-read.c: Remove file.
        * hpread.h: Remove file.

        * hpread.c: Merge all contents of hp-psymtab-read.c,
        hp-symtab-read.c and hpread.h into this file, as it was prior to
        January 1999.

        * config/pa/hpux11w.mh, config/pa/hpux11.mh,
        config/pa/hpux1020.mh, config/pa/hppaosf.mh,
        config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
        Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.

22 years agocopyright years
Alexandre Oliva [Thu, 24 Jan 2002 02:59:16 +0000 (02:59 +0000)]
copyright years

22 years ago2002-01-23 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 24 Jan 2002 02:58:24 +0000 (02:58 +0000)]
2002-01-23  Elena Zannoni  <ezannoni@redhat.com>

* ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
fill_gregset): Call gdbarch_tdep() just once, assign result to
variable and use that, instead of calling the function several
times.

22 years ago* config/tc-sh.c (sh_elf_suffix): Removed.
Alexandre Oliva [Thu, 24 Jan 2002 02:54:47 +0000 (02:54 +0000)]
* config/tc-sh.c (sh_elf_suffix): Removed.
(sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
sh_end_of_match, sh_parse_name): New functions.
(sh_elf_cons): Simplify.
(parse_exp): Reject misplaced PIC operands.
(md_undefined_symbol): Simplify.
(sh_fix_adjustable): Let @GOTOFF be adjusted.
(md_apply_fix3): Write @PLT and @GOTOFF addends in place.
(tc_gen_reloc): Move fixp subsy absolute value into addnumber.
Complain if subsy remains at the end.
* config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
(md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.

22 years ago* configure.host: Accept sparcv9 as alias for sparc64.
Alexandre Oliva [Thu, 24 Jan 2002 02:48:04 +0000 (02:48 +0000)]
* configure.host: Accept sparcv9 as alias for sparc64.
* configure.tgt: Likewise.

22 years ago*** empty log message ***
gdbadmin [Thu, 24 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 23 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
Richard Henderson [Wed, 23 Jan 2002 21:51:53 +0000 (21:51 +0000)]
    * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
        plt entries for undefweak symbols.

22 years agoRemove libgdb.texinfo
Andrew Cagney [Wed, 23 Jan 2002 21:08:19 +0000 (21:08 +0000)]
Remove libgdb.texinfo

22 years agoImport StrongARM and XScale target_configdirs from FSF GCC version.
Nick Clifton [Wed, 23 Jan 2002 16:40:51 +0000 (16:40 +0000)]
Import StrongARM and XScale target_configdirs from FSF GCC version.

22 years agoTidy up formatting of --help output.
Nick Clifton [Wed, 23 Jan 2002 16:12:56 +0000 (16:12 +0000)]
Tidy up formatting of --help output.

22 years agoAdd: bfd_elf32_ia64_hpux_big_vec, bfd_elf64_ia64_hpux_big_vec and
Nick Clifton [Wed, 23 Jan 2002 12:21:07 +0000 (12:21 +0000)]
Add: bfd_elf32_ia64_hpux_big_vec, bfd_elf64_ia64_hpux_big_vec and
bfd_elf32_h8300_vec to DEFAULT_VECTOR.

22 years agoAdd Danish translation
Nick Clifton [Wed, 23 Jan 2002 11:48:53 +0000 (11:48 +0000)]
Add Danish translation

22 years ago * elf64-ppc.c: Remove stale part of ABI comment.
Alan Modra [Wed, 23 Jan 2002 11:21:18 +0000 (11:21 +0000)]
* elf64-ppc.c: Remove stale part of ABI comment.
(NO_OPD_RELOCS): Define.
(ppc64_elf_check_relocs): Use it.
(ppc64_elf_relocate_section): Here too.
(build_one_stub): Don't point function syms at the stub.  Instead,
hijack plt.offset.
(ppc64_elf_relocate_section): Check whether REL24 relocs should
really go to the stub.  Make all dynamic relocs in opd against
locals.
(ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
plt.offset.

22 years agoFix xcalloc() calls so order of arguments is not reversed.
Kevin Buettner [Wed, 23 Jan 2002 06:24:20 +0000 (06:24 +0000)]
Fix xcalloc() calls so order of arguments is not reversed.

22 years ago2002-01-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 23 Jan 2002 04:00:55 +0000 (04:00 +0000)]
2002-01-22  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
modified version of obsolete sh_fetch_pseudo_register.
(sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
(sh4_register_read): New function.
(sh_pseudo_register_write): New function. Renamed and modified
version of obsolete sh_store_pseudo_register.
(sh_store_pseudo_register): Rename to sh_pseudo_register_write.
(sh4_register_write): New function.
(sh_gdbarch_init): Remove setting of gdbarch function
fetch_pseudo_register and store_pseudo_register. Remove setting of
register_convert_to_raw, register_convert_to_virtual,
register_convertible.
(sh_sh4_register_convertible): Delete. No longer needed. All is
taken care by architecture specific functions
register_read/register_write.
(sh_sh4_register_convert_to_virtual): Make static.
(sh_sh4_register_convert_to_raw): Ditto.

22 years agooops
Alexandre Oliva [Wed, 23 Jan 2002 02:01:54 +0000 (02:01 +0000)]
oops

22 years ago* gas/mn10300/basic.exp (run_list_test): New proc, from alpha.
Alexandre Oliva [Wed, 23 Jan 2002 01:53:01 +0000 (01:53 +0000)]
* gas/mn10300/basic.exp (run_list_test): New proc, from alpha.
* gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests.

22 years ago* config/tc-mn10300.c (xr_registers): Move `pc'...
Alexandre Oliva [Wed, 23 Jan 2002 01:52:18 +0000 (01:52 +0000)]
* config/tc-mn10300.c (xr_registers): Move `pc'...
(other_registers): ... here.

22 years ago*** empty log message ***
gdbadmin [Wed, 23 Jan 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 22 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * configure.in (variable detection): Use arrays of unspecified
Richard Henderson [Tue, 22 Jan 2002 22:32:35 +0000 (22:32 +0000)]
    * configure.in (variable detection): Use arrays of unspecified
        size instead of plain integers.

22 years ago[ include/opcode/ChangeLog ]
Graydon Hoare [Tue, 22 Jan 2002 21:45:36 +0000 (21:45 +0000)]
[ include/opcode/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

* cgen.h (CGEN_MAYBE_MULTI_IFLD): New structure.
(CGEN_OPERAND): Add CGEN_MAYBE_MULTI_IFLD field.

[ opcodes/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

* fr30-asm.c: Regenerate.
* fr30-desc.c: Likewise.
* fr30-desc.h: Likewise.
* fr30-dis.c: Likewise.
* fr30-ibld.c: Likewise.
* fr30-opc.c: Likewise.
* fr30-opc.h: Likewise.
* m32r-asm.c: Likewise.
* m32r-desc.c: Likewise.
* m32r-desc.h: Likewise.
* m32r-dis.c: Likewise.
* m32r-ibld.c: Likewise.
* m32r-opc.c: Likewise.
* m32r-opc.h: Likewise.
* m32r-opinst.c: Likewise.
* openrisc-asm.c: Likewise.
* openrisc-desc.c: Likewise.
* openrisc-desc.h: Likewise.
* openrisc-dis.c: Likewise.
* openrisc-ibld.c: Likewise.
* openrisc-opc.c: Likewise.
* openrisc-opc.h: Likewise.
* xstormy16-desc.c: Likewise.

[ cgen/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

* desc-cpu.scm (ifld-number-cache): Add.
(ifld-number): Add.
(gen-maybe-multi-ifld-of-op): Add.
(gen-maybe-multi-ifld): Add.
(gen-multi-ifield-nodes): Add.
(cgen-desc.c): Add call to gen-multi-ifield-nodes.

22 years agomerge from gcc
DJ Delorie [Tue, 22 Jan 2002 20:14:53 +0000 (20:14 +0000)]
merge from gcc

22 years agoInitialize the TYPE_FLOATFORMAT field of the h/w floating-point
Andrew Cagney [Tue, 22 Jan 2002 19:57:40 +0000 (19:57 +0000)]
Initialize the TYPE_FLOATFORMAT field of the h/w floating-point
builtin types.

22 years agoEliminate texinfo 3.12 hacks.
Andrew Cagney [Tue, 22 Jan 2002 17:15:57 +0000 (17:15 +0000)]
Eliminate texinfo 3.12 hacks.

22 years agoRemove->Remote
Andrew Cagney [Tue, 22 Jan 2002 16:58:30 +0000 (16:58 +0000)]
Remove->Remote

22 years agoUse texi2dvi instead of TEX/TEXINDEX.
Andrew Cagney [Tue, 22 Jan 2002 16:37:08 +0000 (16:37 +0000)]
Use texi2dvi instead of TEX/TEXINDEX.

22 years agoMove remote protocol specification to an appendix.
Andrew Cagney [Tue, 22 Jan 2002 16:25:57 +0000 (16:25 +0000)]
Move remote protocol specification to an appendix.

22 years ago * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
Corinna Vinschen [Tue, 22 Jan 2002 11:22:23 +0000 (11:22 +0000)]
* xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
parameter.  Set frameless flag if it exists and depended of
whether the scanned function is frameless or not.
(xstormy16_skip_prologue): If function is frameless, return
result of xstormy16_scan_prologue().
(xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
call.

22 years ago * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.
Richard Henderson [Tue, 22 Jan 2002 09:51:58 +0000 (09:51 +0000)]
    * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp.

22 years ago * emulparams/elf64alpha.sh (NOP): Use unop.
Richard Henderson [Tue, 22 Jan 2002 09:51:15 +0000 (09:51 +0000)]
    * emulparams/elf64alpha.sh (NOP): Use unop.

22 years ago * gas/alpha/unop.s, gas/alpha/unop.d: New test.
Richard Henderson [Tue, 22 Jan 2002 09:45:49 +0000 (09:45 +0000)]
    * gas/alpha/unop.s, gas/alpha/unop.d: New test.
        * gas/alpha/alpha.exp: Run it.

22 years ago * alpha-dis.c (print_insn_alpha): Also mask the base opcode for
Richard Henderson [Tue, 22 Jan 2002 09:44:09 +0000 (09:44 +0000)]
    * alpha-dis.c (print_insn_alpha): Also mask the base opcode for
        comparison.

22 years ago * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
Alan Modra [Tue, 22 Jan 2002 09:05:07 +0000 (09:05 +0000)]
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
TOC_BASE_OFF adjustment.

22 years agorun "make dep-am"; automake
Alan Modra [Tue, 22 Jan 2002 08:58:00 +0000 (08:58 +0000)]
run "make dep-am"; automake
regenerate po/POTFILES.in

22 years ago* config/obj-coff.c (obj_coff_init_stab_section): Make the
DJ Delorie [Tue, 22 Jan 2002 01:09:49 +0000 (01:09 +0000)]
* config/obj-coff.c (obj_coff_init_stab_section): Make the
stabstr_name allocation permanent, as it will be referenced from
the section hash.

22 years ago 2002-01-21 Fred Fish <fnf@redhat.com>
Fred Fish [Tue, 22 Jan 2002 01:05:06 +0000 (01:05 +0000)]
2002-01-21  Fred Fish  <fnf@redhat.com>
* gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
not caller.

22 years ago * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
Alan Modra [Tue, 22 Jan 2002 00:47:21 +0000 (00:47 +0000)]
* configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new
host defines.

22 years ago2002-01-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 22 Jan 2002 00:22:38 +0000 (00:22 +0000)]
2002-01-21  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
sh_sh4_register_byte, sh_sh4_register_raw_size,
sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
sh_store_pseudo_register, sh_do_pseudo_register): Call
gdbarch_tdep() just once, assign result to variable and use that,
instead of calling the function several times.

22 years agoFOOBAR, didn't ChangeLog UI_OUT removal.
Andrew Cagney [Tue, 22 Jan 2002 00:08:55 +0000 (00:08 +0000)]
FOOBAR, didn't ChangeLog UI_OUT removal.

22 years ago*** empty log message ***
gdbadmin [Tue, 22 Jan 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoAdd menu entries for ``Remote Debugging''.
Andrew Cagney [Mon, 21 Jan 2002 23:27:40 +0000 (23:27 +0000)]
Add menu entries for ``Remote Debugging''.

22 years ago* go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
Mark Kettenis [Mon, 21 Jan 2002 23:03:13 +0000 (23:03 +0000)]
* go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
macros instead of LAST_FPU_CTRL_REGNUM.
(store_register): Likewise.

22 years agodaily update
Alan Modra [Mon, 21 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * ld-cris: New testsuite directory.
Hans-Peter Nilsson [Mon, 21 Jan 2002 22:04:02 +0000 (22:04 +0000)]
* ld-cris: New testsuite directory.

22 years agoCorrect attribution
Hans-Peter Nilsson [Mon, 21 Jan 2002 22:00:00 +0000 (22:00 +0000)]
Correct attribution

22 years ago* infcmd.c (run_command): Check that the `exec' target layer's BFD
Jim Blandy [Mon, 21 Jan 2002 21:57:55 +0000 (21:57 +0000)]
* infcmd.c (run_command): Check that the `exec' target layer's BFD
is up-to-date before running the program, not just when a program
exits.

* testsuite/gdb.base/reread.exp: Check that GDB properly re-reads the
executable file when it changes while no inferior is running.

22 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
Hans-Peter Nilsson [Mon, 21 Jan 2002 21:57:48 +0000 (21:57 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:
Check for and emit error if sgot is NULL at this point.

22 years agoApproved by fnasser@redhat.com:
Fred Fish [Mon, 21 Jan 2002 20:25:18 +0000 (20:25 +0000)]
Approved by fnasser@redhat.com:

2002-01-21  Fred Fish  <fnf@redhat.com>
        * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
        optionally accept the "shlib events" variation.

22 years agoApproved by fnasser@redhat.com:
Fred Fish [Mon, 21 Jan 2002 20:12:36 +0000 (20:12 +0000)]
Approved by fnasser@redhat.com:

2002-01-21  Fred Fish  <fnf@redhat.com>
* arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
when we have found all instructions we are looking for.

22 years ago * ldlex.l: Use fread instead of read.
Andreas Jaeger [Mon, 21 Jan 2002 19:53:44 +0000 (19:53 +0000)]
* ldlex.l: Use fread instead of read.

22 years ago* gdb.texinfo (Remote): Move the sub-section ``The GDB remote
Andrew Cagney [Mon, 21 Jan 2002 18:56:05 +0000 (18:56 +0000)]
* gdb.texinfo (Remote): Move the sub-section ``The GDB remote
serial protocol'' from here.
(Remote Debugging): To here.  New chapter.

22 years ago* gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
Jim Blandy [Mon, 21 Jan 2002 18:46:33 +0000 (18:46 +0000)]
* gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
call `fflush' after every `printf', so that the output is produced
at predictable points, regardless of whatever buffering does (or
doesn't) take place.
* gdb.base/ending-run.exp: Adjust tests to expect output to appear
at different points.

22 years agobfd:
Jason Thorpe [Mon, 21 Jan 2002 18:17:28 +0000 (18:17 +0000)]
bfd:
* config.bfd (ia64*-*-netbsd*): New target.

gas:
* configure.in (ia64-*-netbsd*): New target.
* configure: Regenerate.

ld:
* configure.tgt (ia64-*-netbsd*): New target.

22 years ago* arm-tdep.c (arm_register_name): New function.
Richard Earnshaw [Mon, 21 Jan 2002 17:36:11 +0000 (17:36 +0000)]
* arm-tdep.c (arm_register_name): New function.
(arm_registers_names): Make static.
* config/arm/tm-arm.h (arm_register_names): Delete declaration.
(arm_register_name): Declare.
(REGISTER_NAME): Use it.

22 years ago2002-01-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 21 Jan 2002 17:19:09 +0000 (17:19 +0000)]
2002-01-21  H.J. Lu <hjl@gnu.org>

* emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
0.
* emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.

22 years agoRichard Earnshaw <rearnsha@arm.com>
Richard Earnshaw [Mon, 21 Jan 2002 16:27:42 +0000 (16:27 +0000)]
Richard Earnshaw  <rearnsha@arm.com>
and Kevin Buettner  <kevinb@redhat.com>
Convert arm targets to new FRAME interface.
* arm-tdep.c (struct frame_extra_info): Remove fsr.
(arm_frame_find_save_regs): Delete.
(arm_frame_init_saved_regs): New.
(arm_init_extra_frame_info): Alloacte saved_regs as required.
Allocate extra_info as required.  Convert all uses of fsr.regs
to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
to use extra_info.
(thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
(arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
(check_prologue_cache, save_prologue_cache): Likewise.
(_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
* config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
(FRAME_FIND_SAVED_REGS): Delete.
(arm_frame_find_saved_regs): Delete prototype.
(arm_frame_init_saved_regs): New prototype.
(FRAME_INIT_SAVED_REGS): Define.

22 years agocomment typo fixes
Alan Modra [Mon, 21 Jan 2002 14:03:27 +0000 (14:03 +0000)]
comment typo fixes

22 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
Alan Modra [Mon, 21 Jan 2002 12:15:07 +0000 (12:15 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and
is_func_descriptor fields.
(link_hash_newfunc): Init them.
(ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a
dot are candidates for plt entries.  When processing .opd relocs,
set function descriptor strings to point inside function code
string, and set new ppc_link_hash_entry fields.
(ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs.
(ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with
function descriptors.  It's now done in..
(func_desc_adjust): New.
(ppc64_elf_func_desc_adjust): New.
(define elf_backend_always_size_sections): Define.
(ppc64_elf_hide_symbol): New.
(define elf_backend_hide_symbol): Define.
(allocate_dynrelocs): Remove code looking up function descriptors
as that has been done earlier.
(ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash
table.
(ppc64_elf_finish_dynamic_symbol): Likewise.  Remove code looking
up function descriptor.
(build_one_stub): Look up the function code sym.  Check for
invalid plt offsets.
(ppc64_elf_relocate_section): Tweak calls to undefined weak syms.
Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.

22 years ago * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
Alan Modra [Mon, 21 Jan 2002 10:29:09 +0000 (10:29 +0000)]
* elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add
boolean param.
(_bfd_elf_link_hash_hide_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_hide_symbol.
(elf_fix_symbol_flags): Likewise.
(elf_link_assign_sym_version): Likewise. Use bfd_malloc rather
than bfd_alloc.
* elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param.
Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
(clobber_millicode_symbols): Adjust to suit new hide_symbol.
* elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param
and adjust to suit.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call
_bfd_elf_link_hash_hide_symbol rather than duplicating code.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.

22 years agoZap an IEEE_FLOAT.
Andrew Cagney [Mon, 21 Jan 2002 03:34:30 +0000 (03:34 +0000)]
Zap an IEEE_FLOAT.

22 years ago* infttrace.c: Include <sys/pstat.h>.
Andrew Cagney [Mon, 21 Jan 2002 01:27:01 +0000 (01:27 +0000)]
* infttrace.c: Include <sys/pstat.h>.
(child_pid_to_exec_file): Revamp.  Use pstat call to get the
exec file if the ttrace equivalent fails.

22 years ago * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
Hans-Peter Nilsson [Mon, 21 Jan 2002 00:20:58 +0000 (00:20 +0000)]
* doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
to @dots call.
<Detailed description, ARM options>: Ditto.
* doc/c-arm.texi (ARM Options): Ditto.

22 years ago*** empty log message ***
gdbadmin [Mon, 21 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 20 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
Andrew Cagney [Sun, 20 Jan 2002 22:44:44 +0000 (22:44 +0000)]
* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
(closeLogFile): Ditto.

22 years ago2002-01-20 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 20 Jan 2002 22:05:15 +0000 (22:05 +0000)]
2002-01-20  Michael Chastain  <mec@shout.net>

* top.c (print_gdb_version): Bump copyright year to 2002.

22 years ago* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
Andrew Cagney [Sun, 20 Jan 2002 21:47:27 +0000 (21:47 +0000)]
* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
Zannoni and Eli Zaretskii.

22 years agoCopyright year updates.
Daniel Jacobowitz [Sun, 20 Jan 2002 19:46:32 +0000 (19:46 +0000)]
Copyright year updates.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:42:04 +0000 (19:42 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* buildsym.c: Update copyright years.
* c-typeprint.c: Likewise.
* dwarf2read.c: Likewise.
* f-typeprint.c: Likewise.
* gdbtypes.c: Likewise.
* gdbtypes.h: Likewise.
* hp-symtab-read.c: Likewise.
* hpread.c: Likewise.
* mdebugread.c: Likewise.
* p-typeprint.c: Likewise.

22 years agoAssume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
Andrew Cagney [Sun, 20 Jan 2002 19:26:50 +0000 (19:26 +0000)]
Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:22:13 +0000 (19:22 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* gdb.c++/classes.exp: Update for improved v3 support and skipping
artificial methods/arguments.
* gdb.c++/derivation.exp: Likewise.
* gdb.c++/inherit.exp: Likewise.
* gdb.c++/method.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:20:16 +0000 (19:20 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* gdbtypes.h (struct cplus_struct_type): Add is_artificial to
member function fields.  Add accessor macro
TYPE_FN_FIELD_ARTIFICIAL.
* dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
* c-typeprint.c (c_type_print_base): Skip artificial member
functions.

22 years ago2002-01-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:14:59 +0000 (19:14 +0000)]
2002-01-20  Daniel Jacobowitz  <drow@mvista.com>

* f-typeprint.c: Delete unused function f_type_print_args.
* p-typeprint.c: Delete unused function pascal_type_print_args.

22 years ago2002-01-15 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 20 Jan 2002 19:12:23 +0000 (19:12 +0000)]
2002-01-15  Daniel Jacobowitz  <drow@mvista.com>

* gdbtypes.h (struct type): Fix whitespace.  Remove obsolete
comment.  Add ``artificial'' to ``union field_location''.

* dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.

* buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.
* hp-symtab-read.c (hpread_function_type): Likewise, instead of
initializing TYPE_FIELD_BITPOS to n (obsolete).
(hpread_doc_function_type): Likewise.
* hpread.c (hpread_function_type): Likewise.

22 years agoRemove assumption that there is a host.
Andrew Cagney [Sun, 20 Jan 2002 18:19:30 +0000 (18:19 +0000)]
Remove assumption that there is a host.

22 years agoEliminate IEEE_FLOAT.
Andrew Cagney [Sun, 20 Jan 2002 18:05:54 +0000 (18:05 +0000)]
Eliminate IEEE_FLOAT.

22 years ago (DJGPP Native): Fix overfull hboxes in examples. From Brian Youmans
Eli Zaretskii [Sun, 20 Jan 2002 11:59:38 +0000 (11:59 +0000)]
(DJGPP Native): Fix overfull hboxes in examples.  From Brian Youmans
<3diff@gnu.org>

22 years agoFix a typo.
Eli Zaretskii [Sun, 20 Jan 2002 11:45:22 +0000 (11:45 +0000)]
Fix a typo.

22 years ago * rluser.texinfo (Sample Init File): Prevent overfull hboxes.
Eli Zaretskii [Sun, 20 Jan 2002 11:27:37 +0000 (11:27 +0000)]
    * rluser.texinfo (Sample Init File): Prevent overfull hboxes.
        From Brian Youmans <3diff@gnu.org>.

22 years agoFix last change.
Eli Zaretskii [Sun, 20 Jan 2002 11:21:25 +0000 (11:21 +0000)]
Fix last change.

22 years ago * gdb.texinfo: Beautify copyright years; fix a typo.
Eli Zaretskii [Sun, 20 Jan 2002 11:18:28 +0000 (11:18 +0000)]
* gdb.texinfo: Beautify copyright years; fix a typo.

22 years ago2002-01-20 Jiri Smid <smid@suse.cz>
Andreas Jaeger [Sun, 20 Jan 2002 09:29:41 +0000 (09:29 +0000)]
2002-01-20  Jiri Smid  <smid@suse.cz>

* config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
* x86-64-linux-nat.c (x86_64_register_u_addr): New function.
* config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
* Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
x86-64-linux-nat.o): Fix dependencies.

22 years ago2002-01-20 Jiri Smid <smid@suse.cz>
Andreas Jaeger [Sun, 20 Jan 2002 09:10:27 +0000 (09:10 +0000)]
2002-01-20  Jiri Smid  <smid@suse.cz>

* configure.host, configure.tgt: Support x86-64.
* NEWS: Note new target x86-64.

22 years agoEliminate MALLOC_INCOMPATIBLE.
Andrew Cagney [Sun, 20 Jan 2002 04:23:29 +0000 (04:23 +0000)]
Eliminate MALLOC_INCOMPATIBLE.

22 years ago2002-01-20 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 20 Jan 2002 04:09:23 +0000 (04:09 +0000)]
2002-01-20  Ben Elliston  <bje@redhat.com>

* sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
the comment for this enumerator.

22 years agoZap empty host lynx header files.
Andrew Cagney [Sun, 20 Jan 2002 03:29:01 +0000 (03:29 +0000)]
Zap empty host lynx header files.

22 years ago* alpha-tdep.c (alpha_register_byte): New function.
Jason Thorpe [Sun, 20 Jan 2002 01:33:15 +0000 (01:33 +0000)]
* alpha-tdep.c (alpha_register_byte): New function.
(alpha_register_raw_size): Ditto.
(alpha_register_virtual_size): Ditto.
(alpha_skip_prologue_internal): Renamed from
alpha_skip_prologue.
(alpha_skip_prologue): New version that calls
alpha_skip_prologue_internal.
(alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
* config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
second argument from alpha_skip_prologue.
(REGISTER_BYTE): Use alpha_register_byte.
(REGISTER_RAW_SIZE): Use alpha_register_raw_size.
(REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
(FRAMELESS_FUNCTION_INVOCATION): Use
generic_frameless_function_invocation_not.
(FRAME_NUM_ARGS): Use frame_num_args_unknown.
(COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.

22 years agoZap empty or unused xm-*.h files.
Andrew Cagney [Sun, 20 Jan 2002 01:12:51 +0000 (01:12 +0000)]
Zap empty or unused xm-*.h files.

22 years agoUse MAXPATHLEN when no PATH_MAX.
Andrew Cagney [Sun, 20 Jan 2002 00:44:47 +0000 (00:44 +0000)]
Use MAXPATHLEN when no PATH_MAX.

22 years ago* alpha-tdep.c (alpha_call_dummy_words): New.
Jason Thorpe [Sun, 20 Jan 2002 00:23:10 +0000 (00:23 +0000)]
* alpha-tdep.c (alpha_call_dummy_words): New.
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
(CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(SIZEOF_CALL_DUMMY_WORDS): Define.