binutils-gdb.git
22 years ago* elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size of
Alexandre Oliva [Tue, 4 Dec 2001 10:48:58 +0000 (10:48 +0000)]
* elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size of
R_D10V_10_PCREL_L, R_D10V_10_PCREL_R, R_D10V_18,
R_D10V_18_PCREL.  Check 10_PCREL relocations as signed.
Disable pointless overflow checking of NONE and 32.

22 years ago2001-12-04 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Tue, 4 Dec 2001 10:33:57 +0000 (10:33 +0000)]
2001-12-04  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (cris_regnums): Add DCCR_REGNUM for completeness.
(cris_examine): Add comment about solib prologue parsing.
(bdap_prefix): Read offset with correct signedness and size.
(move_to_preg_op): Don't rely on register numbering for register size.
(none_reg_mode_move_from_preg_op): Ditto.

22 years ago * strings.c: Include config.h before bfd.h.
Jakub Jelinek [Tue, 4 Dec 2001 10:11:22 +0000 (10:11 +0000)]
* strings.c: Include config.h before bfd.h.
(file_off): New type.
(file_open): Define.
(print_strings): Use file_off instead of file_ptr.  Print addresses
which don't fit into long correctly.
(get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
available.
(strings_file): Use file_off instead of file_ptr.  Use file_open.
* configure.in: Check for getc_unlocked.
Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
be defined for it.
* configure: Rebuilt.
* config.h.in: Rebuilt.

22 years ago* d10v-dis.c (print_operand): Disregard OPERAND_SP in register
Alexandre Oliva [Tue, 4 Dec 2001 10:08:19 +0000 (10:08 +0000)]
* d10v-dis.c (print_operand): Disregard OPERAND_SP in register
predefined value.

22 years ago* config/tc-d10v.c (find_opcode): Reject SP operand if
Alexandre Oliva [Tue, 4 Dec 2001 10:07:03 +0000 (10:07 +0000)]
* config/tc-d10v.c (find_opcode): Reject SP operand if
OPERAND_NOSP flag is present.

22 years ago* d10v-opc.c (RSRC_NOSP): New macro.
Alexandre Oliva [Tue, 4 Dec 2001 10:06:50 +0000 (10:06 +0000)]
* d10v-opc.c (RSRC_NOSP): New macro.
(d10v_operands): Add it.
(d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w".

22 years ago* d10v.h (OPERAND_NOSP): New macro.
Alexandre Oliva [Tue, 4 Dec 2001 10:06:40 +0000 (10:06 +0000)]
* d10v.h (OPERAND_NOSP): New macro.

22 years agofix typo
Nick Clifton [Tue, 4 Dec 2001 09:46:41 +0000 (09:46 +0000)]
fix typo

22 years ago2001-12-04 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Tue, 4 Dec 2001 09:34:56 +0000 (09:34 +0000)]
2001-12-04  Orjan Friberg  <orjanf@axis.com>

* solib.c (solib_open): Make path relative if search for absolute path
failed.  If search for relative path in solib_search_path failed, fall
back to search for basename only.

22 years ago2001-12-03 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 4 Dec 2001 06:12:56 +0000 (06:12 +0000)]
2001-12-03  Martin M. Hunt  <hunt@redhat.com>

* serial.h: Add a note to serial_open.

* ser-tcp.c (tcp_open): Rewrite to use a non-blocking connect.
Allow UI and CLI to abort connect.  Instead of trying 15 times
with very long timeouts, just try one connect with a maximum timeout
of 15 seconds.

22 years ago2001-12-03 Eric Christopher <echristo@redhat.com>
Eric Christopher [Tue, 4 Dec 2001 00:51:33 +0000 (00:51 +0000)]
2001-12-03  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.

22 years ago * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
Alan Modra [Tue, 4 Dec 2001 00:10:40 +0000 (00:10 +0000)]
* ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.

22 years ago*** empty log message ***
gdbadmin [Tue, 4 Dec 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoRemoving, redundant with support of -b64
Tom Rix [Mon, 3 Dec 2001 23:19:06 +0000 (23:19 +0000)]
Removing, redundant with support of -b64

22 years ago * reloc.c (bfd_install_relocation): Correct reloc address test.
Alan Modra [Mon, 3 Dec 2001 23:16:20 +0000 (23:16 +0000)]
* reloc.c (bfd_install_relocation): Correct reloc address test.
(bfd_perform_relocation): Formatting fix.
* bfd-in2.h: Regenerate for 2001-12-02 reloc.c change.

22 years agoPass argc and argv to ldemul_choose_target.
Tom Rix [Mon, 3 Dec 2001 23:15:28 +0000 (23:15 +0000)]
Pass argc and argv to ldemul_choose_target.
Support -b64 in AIX

22 years agodaily update
Alan Modra [Mon, 3 Dec 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
Jim Blandy [Mon, 3 Dec 2001 21:53:16 +0000 (21:53 +0000)]
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.

22 years agoInclude solib.h.
Kevin Buettner [Mon, 3 Dec 2001 21:17:49 +0000 (21:17 +0000)]
Include solib.h.

22 years ago2001-12-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 3 Dec 2001 19:30:39 +0000 (19:30 +0000)]
2001-12-03  Michael Snyder  <msnyder@redhat.com>

* symtab.c (search_symbols): Make sure alloca size is big enough.

22 years agoprune m68k targets down to just m68k-elf
Andrew Cagney [Mon, 3 Dec 2001 19:21:44 +0000 (19:21 +0000)]
prune m68k targets down to just m68k-elf

22 years ago* s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
Jim Blandy [Mon, 3 Dec 2001 18:48:54 +0000 (18:48 +0000)]
* s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
orig_sp if it's not initialized.

22 years agoImport new turkish translations from Translation Project's website.
Nick Clifton [Mon, 3 Dec 2001 10:46:36 +0000 (10:46 +0000)]
Import new turkish translations from Translation Project's website.

22 years ago * elf32-hppa.c (hppa_get_stub_entry): Remove debug message that
Alan Modra [Mon, 3 Dec 2001 08:42:38 +0000 (08:42 +0000)]
* elf32-hppa.c (hppa_get_stub_entry): Remove debug message that
happens to trigger on undefined symbols.
(final_link_relocate): Return bfd_reloc_undefined for undefined
stubs.
(elf32_hppa_relocate_section): Don't say we can't handle a reloc
if we have already warned about an undefined symbol.

22 years ago2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Mon, 3 Dec 2001 08:41:10 +0000 (08:41 +0000)]
2001-11-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* findvar.c (locate_var_value): Specify in which register a register
variable is stored.

22 years ago2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Mon, 3 Dec 2001 08:19:01 +0000 (08:19 +0000)]
2001-11-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (mappings): Correct position of XMM registers,
based on FXSAVE instruction structure.

22 years ago*** empty log message ***
gdbadmin [Mon, 3 Dec 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agommalloc() -> xmmalloc()
Andrew Cagney [Sun, 2 Dec 2001 22:43:59 +0000 (22:43 +0000)]
mmalloc() -> xmmalloc()

22 years agomfree() -> xmfree().
Andrew Cagney [Sun, 2 Dec 2001 22:38:23 +0000 (22:38 +0000)]
mfree() -> xmfree().

22 years agomrealloc() -> xmrealloc().
Andrew Cagney [Sun, 2 Dec 2001 22:08:47 +0000 (22:08 +0000)]
mrealloc() -> xmrealloc().

22 years ago* Makefile.in (simops.h, table.c): Delete targets.
Andrew Cagney [Sun, 2 Dec 2001 19:27:29 +0000 (19:27 +0000)]
* Makefile.in (simops.h, table.c): Delete targets.
(tmp-gencode, gencode.o, gencode): Delete targets.
(simops.h): New file.
($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h.
* gencode.c: Delete file.

22 years ago* i386-tdep.c (i386go32_frame_saved_pc): New function.
Andrew Cagney [Sun, 2 Dec 2001 18:29:08 +0000 (18:29 +0000)]
* i386-tdep.c (i386go32_frame_saved_pc): New function.
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
(FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.

22 years ago * elf32-mips.c (NEWABI_P): New define.
Thiemo Seufer [Sun, 2 Dec 2001 13:27:45 +0000 (13:27 +0000)]
* elf32-mips.c (NEWABI_P): New define.
(USE_REL): Remove, replaced by
(elf_backend_may_use_rel_p): New define.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_mips_howto_table): Rename to elf_mips_howto_table_rel.
Fix some relocation definitions.
(elf_mips_howto_table_rela): New RELA relocation definitions for
NewABI support.
(mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel.
(bfd_elf32_bfd_reloc_type_lookup): Likewise.
(mips_rtype_to_howto): Likewise.
(_bfd_mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_object_p): Typo.
(elf_backend_sign_extend_vma): Reordered together with many other
defines nearby to resemble the order of declaration in the header
file.

22 years ago * coff-mips.c (mips_bfd_reloc_type_lookup): Replace
Thiemo Seufer [Sun, 2 Dec 2001 13:14:48 +0000 (13:14 +0000)]
* coff-mips.c (mips_bfd_reloc_type_lookup): Replace
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
* pe-mips.c (mips_bfd_reloc_type_lookup): Likewise.
* elf32-mips.c (mips_reloc_map): Likewise. Replace
BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
* elf64-mips.c (mips_reloc_map): Likewise.
* reloc.c (BFD_RELOC_MIPS_GPREL): Remove.
(BFD_RELOC_MIPS_GPREL32): Remove.
* config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
by BFD_RELOC_GPREL16.
(load_address): Likewise.
(macro): Likewise.
(md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
BFD_RELOC_GPREL32.
(s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
(tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
*config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.

22 years agoDelete HOST_BYTE_ORDER.
Andrew Cagney [Sun, 2 Dec 2001 02:57:18 +0000 (02:57 +0000)]
Delete HOST_BYTE_ORDER.

22 years ago*** empty log message ***
gdbadmin [Sun, 2 Dec 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoZap sony news (m68k) and ISI (m68k) targets.
Andrew Cagney [Sat, 1 Dec 2001 23:06:47 +0000 (23:06 +0000)]
Zap sony news (m68k) and ISI (m68k) targets.

22 years agodaily update
Alan Modra [Sat, 1 Dec 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agoZap zap.
Andrew Cagney [Sat, 1 Dec 2001 22:49:21 +0000 (22:49 +0000)]
Zap zap.

22 years agoZap the ultra series of a29k host and target.
Andrew Cagney [Sat, 1 Dec 2001 22:34:11 +0000 (22:34 +0000)]
Zap the ultra series of a29k host and target.

22 years agoZap Sun's i386i.
Andrew Cagney [Sat, 1 Dec 2001 22:19:30 +0000 (22:19 +0000)]
Zap Sun's i386i.

22 years agoZap all but ns32k-netbsd NS32k targets and hosts.
Andrew Cagney [Sat, 1 Dec 2001 22:02:03 +0000 (22:02 +0000)]
Zap all but ns32k-netbsd NS32k targets and hosts.

22 years agoZap harris target and host.
Andrew Cagney [Sat, 1 Dec 2001 21:11:41 +0000 (21:11 +0000)]
Zap harris target and host.

22 years agoZap some older PPC targets.
Andrew Cagney [Sat, 1 Dec 2001 21:01:58 +0000 (21:01 +0000)]
Zap some older PPC targets.

22 years agoZap a29k.
Andrew Cagney [Sat, 1 Dec 2001 19:34:37 +0000 (19:34 +0000)]
Zap a29k.

22 years agoOops, Delete tic80, really.
Andrew Cagney [Sat, 1 Dec 2001 19:17:56 +0000 (19:17 +0000)]
Oops, Delete tic80, really.

22 years agoDelete tic80 target.
Andrew Cagney [Sat, 1 Dec 2001 19:10:00 +0000 (19:10 +0000)]
Delete tic80 target.

22 years agoFrom Mark Peek.
Andrew Cagney [Sat, 1 Dec 2001 18:56:36 +0000 (18:56 +0000)]
From Mark Peek.
* ppc-spr-table: Add SDA and PIR.

23 years agoAdd assembly-source tests for s390-ibm-linux.
Jim Blandy [Sat, 1 Dec 2001 01:13:27 +0000 (01:13 +0000)]
Add assembly-source tests for s390-ibm-linux.
* gdb.asm/s390.inc: New file.
* gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
the S/390 architecture.
* gdb.asm/configure: Regenerated.

23 years agoAdd cross platform SVR4 shared library support for PowerPC.
Kevin Buettner [Sat, 1 Dec 2001 00:25:08 +0000 (00:25 +0000)]
Add cross platform SVR4 shared library support for PowerPC.

23 years ago*** empty log message ***
gdbadmin [Sat, 1 Dec 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* gdb.texinfo (Overlays): New chapter, documenting GDB's
Jim Blandy [Fri, 30 Nov 2001 23:03:09 +0000 (23:03 +0000)]
* gdb.texinfo (Overlays): New chapter, documenting GDB's
overlay support.  Add to top-level menu.

23 years agodaily update
Alan Modra [Fri, 30 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

23 years agoDefine SVR4 link map offset fetcher for Linux/ARM.
Kevin Buettner [Fri, 30 Nov 2001 20:27:09 +0000 (20:27 +0000)]
Define SVR4 link map offset fetcher for Linux/ARM.

23 years agoFix typo.
Michael Snyder [Fri, 30 Nov 2001 18:53:06 +0000 (18:53 +0000)]
Fix typo.

23 years ago * values.c (value_primitive_field): Add embedded_offset to the
Daniel Jacobowitz [Fri, 30 Nov 2001 17:47:51 +0000 (17:47 +0000)]
    * values.c (value_primitive_field): Add embedded_offset to the
        address of structure members.
        * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
        attempting to access vtable pointer.  Set using_enc_p if we cast.
        (gnuv3_virtual_fn_field): Call value_cast with structure rather than
        structure pointer.  Cast to base type before attempting to access
        vtable pointer.

23 years ago2001-11-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Nov 2001 15:50:56 +0000 (15:50 +0000)]
2001-11-30  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): New.
(elf_link_add_object_symbols): Call elf_add_default_symbol ()
to create an indirect symbol from the default for the symbol
with the default version if needed.

23 years ago2001-11-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Nov 2001 15:41:17 +0000 (15:41 +0000)]
2001-11-30  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (build_vers_lib): Preserve the library
order.

23 years ago2001-11-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Nov 2001 08:07:34 +0000 (08:07 +0000)]
2001-11-29  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (build_vers_lib): Support linking against
more than one libraries.
Add "vers20a" and "vers20" tests for common symbols.

* ld-elfvers/vers20.c: New.
* ld-elfvers/vers20.dsym: New.
* ld-elfvers/vers20.map: New.
* ld-elfvers/vers20.ver: New.
* ld-elfvers/vers20a.ver: New.

23 years ago2001-11-29 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 30 Nov 2001 02:14:08 +0000 (02:14 +0000)]
2001-11-29  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.

* ppc-tdep.h (PPC_GPLAST_REGNUM): Define.

* ppc-linux-nat.c: Include ppc-tdep.h.
(ppc_register_u_addr): Don't use the static array regmap[],
dynamically define the mapping instead.
(supply_gregset): Ditto.
(fill_gregset): Ditto.
(COPY_REG): Delete macro defintion.
(regmap): Delete array.

23 years ago*** empty log message ***
gdbadmin [Fri, 30 Nov 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Thu, 29 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

23 years agoTighten up GDB's support for returning structs by value.
Jim Blandy [Thu, 29 Nov 2001 22:24:42 +0000 (22:24 +0000)]
Tighten up GDB's support for returning structs by value.
* s390-tdep.c (s390_use_struct_convention): New function.
(s390_gdbarch_init): Register it as the S/390's
USE_STRUCT_CONVENTION method.  Register
generic_cannot_extract_struct_value_address as our
EXTRACT_STRUCT_VALUE_ADDRESS method.
* arch-utils.c (generic_cannot_extract_struct_value_address): New
function.
* arch-utils.h: Add corresponding prototype.

23 years ago2001-11-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 29 Nov 2001 18:51:21 +0000 (18:51 +0000)]
2001-11-29  H.J. Lu <hjl@gnu.org>

* bucomm.c (make_tempname): Revert the changes made on
2001-11-14 and 2001-11-12. They won't work with directories.

23 years ago* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
Alexandre Oliva [Thu, 29 Nov 2001 18:23:11 +0000 (18:23 +0000)]
* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
prefix `+'.

23 years agoCopyright 2001
Alexandre Oliva [Thu, 29 Nov 2001 18:08:13 +0000 (18:08 +0000)]
Copyright 2001

23 years ago* config/tc-d10v.c (find_opcode): Reject non-SP operand if
Alexandre Oliva [Thu, 29 Nov 2001 18:04:12 +0000 (18:04 +0000)]
* config/tc-d10v.c (find_opcode): Reject non-SP operand if
flags requires SP.

23 years ago* d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
Alexandre Oliva [Thu, 29 Nov 2001 18:04:00 +0000 (18:04 +0000)]
* d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
(RSRC_SP): New macro.
(d10v_operands): Add it.
(d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.

23 years ago* d10v.h (OPERAND_SP): New macro.
Alexandre Oliva [Thu, 29 Nov 2001 18:03:50 +0000 (18:03 +0000)]
* d10v.h (OPERAND_SP): New macro.

23 years ago* values.c (value_being_returned): Make error message a proper
Jim Blandy [Thu, 29 Nov 2001 17:37:38 +0000 (17:37 +0000)]
* values.c (value_being_returned): Make error message a proper
sentence.

23 years ago2001-11-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 29 Nov 2001 17:34:07 +0000 (17:34 +0000)]
2001-11-29  H.J. Lu <hjl@gnu.org>

* binutils-all/objcopy.exp (strip_test): Add strip on archive.

23 years agoPass CC_FOR_TARGET and CFLAGS_FOR_TARGET to runtest in environment.
Nick Clifton [Thu, 29 Nov 2001 17:00:58 +0000 (17:00 +0000)]
Pass CC_FOR_TARGET and CFLAGS_FOR_TARGET to runtest in environment.

23 years ago* dwarf2read.c (read_attribute_value): New function to handle DW_FORM_indirect
Keith Walker [Thu, 29 Nov 2001 13:19:06 +0000 (13:19 +0000)]
* dwarf2read.c (read_attribute_value): New function to handle DW_FORM_indirect
(read_attribute): uses read_attribute_value

23 years ago * MAINTAINERS (write-after-approval): Add my entry.
Keith Walker [Thu, 29 Nov 2001 11:34:03 +0000 (11:34 +0000)]
    * MAINTAINERS (write-after-approval):  Add my entry.

23 years agoDo not overwite the core signal if it has already been set by another thread.
Nick Clifton [Thu, 29 Nov 2001 10:34:01 +0000 (10:34 +0000)]
Do not overwite the core signal if it has already been set by another thread.

23 years agoRemove case sensitivity in register names.
Nick Clifton [Thu, 29 Nov 2001 09:41:34 +0000 (09:41 +0000)]
Remove case sensitivity in register names.

23 years ago* s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
Jim Blandy [Thu, 29 Nov 2001 05:02:37 +0000 (05:02 +0000)]
* s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
save the return address register, assume that the return address
is still in there.

23 years ago* Import GNU gettext 0.10.35.
Ben Elliston [Thu, 29 Nov 2001 03:38:59 +0000 (03:38 +0000)]
* Import GNU gettext 0.10.35.

23 years agotouch all source to ease import
Ben Elliston [Thu, 29 Nov 2001 03:20:34 +0000 (03:20 +0000)]
touch all source to ease import

23 years ago * objcopy.c (setup_section): Preserve SEC_RELOC when
Mike Stump [Thu, 29 Nov 2001 00:51:58 +0000 (00:51 +0000)]
* objcopy.c (setup_section): Preserve SEC_RELOC when
--set-section-flags is used.

23 years ago*** empty log message ***
gdbadmin [Thu, 29 Nov 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Wed, 28 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

23 years agoclarify obvious fix.
Andrew Cagney [Wed, 28 Nov 2001 22:47:30 +0000 (22:47 +0000)]
clarify obvious fix.

23 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Jim Blandy [Wed, 28 Nov 2001 21:56:40 +0000 (21:56 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.

23 years agoWhen build != host, create libiberty for the build machine.
DJ Delorie [Wed, 28 Nov 2001 19:55:01 +0000 (19:55 +0000)]
When build != host, create libiberty for the build machine.

* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
CONFIG_ARGUMENTS.
(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
New variables.
(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
and rules.
(all.normal): Depend on ALL_BUILD_MODULES.
(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
(all-build-libiberty): Depend on configure-build-libiberty.

* configure: Calculate and substitute proper value for
ALL_BUILD_MODULES.
* configure.in: Create the build subdirectory.
Calculate and substitute TARGET_CONFIGARGS (formerly
CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).

23 years ago * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.
Jakub Jelinek [Wed, 28 Nov 2001 19:15:14 +0000 (19:15 +0000)]
* elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.
(elf64_alpha_relocate_section): Translate local_got_entries
for STT_SECTION symbol to SHF_MERGE section the first time
we see it.
* elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add
sec_merge_done.
(get_local_sym_hash): New, extracted from get_dyn_sym_info.
(get_dyn_sym_info): Use it.
(elfNN_ia64_relocate_section): Translate local dyn entries
for STT_SECTION symbol to SHF_MERGE section the first time
we see it.

        * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used
        in reloc if it has non-zero addend.
        * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check.
        * config/tc-sparc.c (md_apply_fix3): Likewise.

23 years agoAdd .cvsignore files to skip .gmo files
Nick Clifton [Wed, 28 Nov 2001 18:57:14 +0000 (18:57 +0000)]
Add .cvsignore files to skip .gmo files

23 years ago * as.c (parse_args): Call md_after_parse_args if defined.
Andreas Schwab [Wed, 28 Nov 2001 17:00:46 +0000 (17:00 +0000)]
* as.c (parse_args): Call md_after_parse_args if defined.
* config/tc-ia64.h (md_after_parse_args): Define.
* config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs.
* doc/internals.texi (CPU backend): Document md_after_parse_args.

23 years ago* s390-tdep.c: Get frame chains and saved pc values properly from
Jim Blandy [Wed, 28 Nov 2001 03:40:50 +0000 (03:40 +0000)]
* s390-tdep.c: Get frame chains and saved pc values properly from
dummy frames.
(s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
saved PC from the dummy frame's registers.
(s390_frame_chain): Same for the saved SP.
(s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
set correctly.

23 years ago* s390-tdep.c (s390_frame_chain): Remember that the SP's element
Jim Blandy [Wed, 28 Nov 2001 03:36:36 +0000 (03:36 +0000)]
* s390-tdep.c (s390_frame_chain): Remember that the SP's element
of the frame's saved_regs array is special.

23 years agomerge from gcc
DJ Delorie [Wed, 28 Nov 2001 02:11:49 +0000 (02:11 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Wed, 28 Nov 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agodaily update
Alan Modra [Tue, 27 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

23 years ago* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
Jim Blandy [Tue, 27 Nov 2001 22:48:26 +0000 (22:48 +0000)]
* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
longer used.

23 years ago* s390-tdep.c (register_names): Call the general-purpose registers
Jim Blandy [Tue, 27 Nov 2001 22:19:55 +0000 (22:19 +0000)]
* s390-tdep.c (register_names): Call the general-purpose registers
`r0' -- `r15', and the floating-point registers `f0' -- `f15', to
match the assembly language.

23 years ago2001-11-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 27 Nov 2001 19:06:07 +0000 (19:06 +0000)]
2001-11-27  H.J. Lu <hjl@gnu.org>

* emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
* emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
* emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.

* scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
is not empty.
(SDATA): Likewise.
(REL_SDATA): Likewise.
(REL_SBSS): Likewise.
(REL_SDATA2): Likewise.
(REL_SBSS2): Likewise.
(SBSS2): Define if ${NO_SMALL_DATA} is not empty.
(SDATA2): Likewise.

23 years ago2001-11-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 27 Nov 2001 19:03:27 +0000 (19:03 +0000)]
2001-11-27  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't
ELF.

23 years agofix white space.
Christopher Faylor [Tue, 27 Nov 2001 05:16:39 +0000 (05:16 +0000)]
fix white space.

23 years ago* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
Christopher Faylor [Tue, 27 Nov 2001 05:15:58 +0000 (05:15 +0000)]
* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
* win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended
registers if HAVE_SSE_REGS is defined.
(mappings array): Add offset of extended registers.
(thread_rec): Use new CONTEXT_DEBUGGER_DR macro.

23 years ago * NEWS: Updated.
Tom Tromey [Tue, 27 Nov 2001 04:15:09 +0000 (04:15 +0000)]
* NEWS: Updated.
* event-loop.c (start_event_loop): Call
after_char_processing_hook.
* event-top.h (after_char_processing_hook): Declare.
* event-top.c (rl_callback_read_char_wrapper): Call
after_char_processing_hook.
(after_char_processing_hook): New global.
* top.c (operate_saved_history): New global.
(gdb_rl_operate_and_get_next): New function.
(init_main): Add the operate-and-get-next defun.
(gdb_rl_operate_and_get_next_completion): New function.