external/binutils.git
24 years agoUlf Carlsson's patches:
Alan Modra [Thu, 11 May 2000 01:55:11 +0000 (01:55 +0000)]
Ulf Carlsson's patches:
Include *-*-linux* in svr4pic tests
Test weak symbol handling.

24 years ago(md_estimate_size_before_relax): Use the external version of
Alan Modra [Thu, 11 May 2000 01:48:09 +0000 (01:48 +0000)]
(md_estimate_size_before_relax): Use the external version of
the relocation for weak symbols.

24 years ago2000-05-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 11 May 2000 00:36:17 +0000 (00:36 +0000)]
2000-05-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * solib.c (symbol_add_stub): Remember the index and the name of
        the section with the lowest address. Use this data (instead of
        data from .text) to pass info into symbol_file_add.

        * elfread.c (record_minimal_symbol_and_info): Use the section
        where the symbol lives to get the index, instead of guessing.

24 years ago2000-05-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 10 May 2000 23:12:35 +0000 (23:12 +0000)]
2000-05-10  H.J. Lu  <hjl@gnu.org>

* ldlang.c (open_input_bfds): Don't load the same file within
a group again if the whole archive has been loaded already.

24 years ago2000-05-10 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 10 May 2000 20:07:25 +0000 (20:07 +0000)]
2000-05-10  Michael Snyder  <msnyder@seadog.cygnus.com>
Make Sparc a Multi-Arch target.  Discard PARAMS macro (require ANSI).
* sparc-tdep.c: include arch-utils.h.
(SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
(GDB_TARGET_IS_SPARC64): make into a runtime test.
(struct frame_extra_info): Define, use instead of the macro.
(Many places): Use alloca instead of statically allocated buffers
that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
(sparc_extract_struct_value_address): Accept a pointer arg instead
of an array sized by REGISTER_BYTES.
(examine_prologue): Accept a pointer to an array of CORE_ADDR,
instead of the defunct struct frame_saved_regs.  Recognize new
Sparc64 store instructions as part of the prologue.  Ignore the
destination of a frame store when parsing the prologue (so long
as it's on the stack).
(sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
(sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
instead of the defunct struct frame_saved_regs.
(supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
supply_register.  Provide 4-byte offset to compensate for diff
between size of the prgreg_t elements on a 64-bit host and size
of the registers for a 32-bit target.  Fill all inaccessible regs
with zero so they won't keep being requested again and again.
(fill_gregset): Handle 32/64 size difference between registers
and prgreg_t.  Handle as many new 64-bit regs as possible.
(supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
(sparc_push_arguments): Rename to sparc32_push_arguments.
Copy arguments into registers as well as onto stack, so that the
CALL_DUMMY (code pushed onto the target stack) is not required.
(sparc_extract_return_value): Rename to sparc32_extract_return_value.
(sparc_store_return_value): Use memset instead of bzero.
Use write_register_gen instead of write_register_bytes.
(sparclet_store_return_value): New function.
(_initialize_sparc_tdep): Call register_gdbarch_init to activate
the gdbarch multi-architecture system.
(sp64_push_arguments): Rename to sparc64_push_arguments.
Extend to store arguments in general registers as well as on stack.
(sparc64_extract_return_value): Rename to sp64_extract_return_value.
Use as a private function, to be called by the new external function
sparc64_extract_return_value.
(sparclet_extract_return_value): New function.
(sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
sparc64_register_name, sparc_print_extra_frame_info,
sparclite_register_name, sparclet_register_name,
sparc_push_return_address, sparc64_use_struct_convention,
sparc32_store_struct_return, sparc64_store_struct_return,
sparc32_register_virtual_type, sparc64_register_virtual_type,
sparc32_register_size, sparc64_register_size,
sparc32_register_byte, sparc64_register_byte,
sparc_gdbarch_skip_prologue, sparc_convert_to_virtual,
sparc_convert_to_raw, sparc_frame_init_saved_regs,
sparc_frame_address, sparc_gdbarch_fix_call_dummy,
sparc_coerce_float_to_double, sparc_call_dummy_address,
sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
sparc_return_value_on_stack): New functions supporting multi-arch.
(sparc_gdbarch_init): New function; initialize multi-arch.
(struct gdbarch_tdep): Define, use for private multi-arch data.
* config/sparc/tm-sparc.h: Move definitions around, enclose with
#ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
definitions.  Add enums for register names, to help debugging gdb.
This header file must work for non-multi-arch and for multi-arch.
* config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration.  Also add
AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
Define GDB_MULTI_ARCH.
* config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
* config/sparc/tm-sparclite.h: Ditto.
* config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
* sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
avoid using deprecated REGISTER_NAMES macro.
* Makefile.in: Let sparc-tdep.c depend on arch-utils.h.

24 years ago* ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
Geoffrey Keating [Wed, 10 May 2000 19:42:25 +0000 (19:42 +0000)]
* ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
also available in common mode when powerpc syntax is being used.

24 years ago2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 10 May 2000 17:38:16 +0000 (17:38 +0000)]
2000-05-08  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
        * gdbarch.c, gdbarch.h: Regenerate.
        * core-regset.c: Change FP0_REGNUM to a runtime test.
        * procfs.c: Ditto.
        * sun3-nat.c: Ditto.
        * sparc-tdep.c: Ditto.

        * i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
        * ptx4-nat.c: Ditto.

        * sol-thread.c (sol_thread_create_inferior): only add the thread
        to the thread list if it is not already in there.
        (prototypes for thread_db func ptrs): pretty up formatting.

24 years ago * gdb.texinfo: Proofreading changes from Brian Youmans.
Eli Zaretskii [Tue, 9 May 2000 08:24:34 +0000 (08:24 +0000)]
* gdb.texinfo: Proofreading changes from Brian Youmans.

24 years agoUnwind info bug fixes from David Mosberger.
Jim Wilson [Tue, 9 May 2000 01:54:37 +0000 (01:54 +0000)]
Unwind info bug fixes from David Mosberger.
* config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
frame size in units of 16 bytes, as required per SW Conventions manual.
(output_unw_records): Output info-block header as a dword to get
byte-order right.

24 years agoFix some nits shown up by objcopy.
Alan Modra [Tue, 9 May 2000 00:43:44 +0000 (00:43 +0000)]
Fix some nits shown up by objcopy.

24 years ago* merge from internal tree
Frank Ch. Eigler [Mon, 8 May 2000 23:07:39 +0000 (23:07 +0000)]
* merge from internal tree

2000-04-14  Gary Thomas  <gthomas@redhat.com>

* v850.igen: Define 'br *' as illegal since this is the only
way to provide a breakpoint on some v850 family processors.

24 years ago2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Mon, 8 May 2000 22:34:38 +0000 (22:34 +0000)]
2000-05-08  Michael Snyder  <msnyder@seadog.cygnus.com>

        * sol-thread.c (sol_thread_create_inferior): only add the thread
        to the thread list if it is not already in there.
        (prototypes for thread_db func ptrs): pretty up formatting.

24 years ago2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Mon, 8 May 2000 22:18:05 +0000 (22:18 +0000)]
2000-05-08  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdb.base/interrupt.exp: Make "pass" message say "send"
        rather than "send_gdb" (for consistancy).

24 years ago * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
Eli Zaretskii [Mon, 8 May 2000 15:13:30 +0000 (15:13 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
        with the version name.

24 years ago * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
Eli Zaretskii [Mon, 8 May 2000 15:06:27 +0000 (15:06 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
        with the version name.

* config/djgpp/djconfig.sh: Use more warning switches.

* config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
        @V@ placebo.

24 years ago(print_insn_tic54x): Declare.
Alan Modra [Mon, 8 May 2000 11:01:40 +0000 (11:01 +0000)]
(print_insn_tic54x): Declare.

24 years agoMichael Sokolov's 68000 patches + assorted compiler warning fixes.
Alan Modra [Mon, 8 May 2000 10:24:06 +0000 (10:24 +0000)]
Michael Sokolov's 68000 patches + assorted compiler warning fixes.

24 years agoFix breakage from 2000-03-31 bfd/srec.c change.
Alan Modra [Mon, 8 May 2000 10:11:19 +0000 (10:11 +0000)]
Fix breakage from 2000-03-31 bfd/srec.c change.

24 years agoFix coredump discovered running m68k testsuite.
Alan Modra [Mon, 8 May 2000 10:00:27 +0000 (10:00 +0000)]
Fix coredump discovered running m68k testsuite.

24 years agoKill compiler warnings with ATTRIBUTE_UNUSED.
Alan Modra [Mon, 8 May 2000 07:22:54 +0000 (07:22 +0000)]
Kill compiler warnings with ATTRIBUTE_UNUSED.

24 years ago* trad-core.c (trad_unix_core_file_p): Return
Alan Modra [Mon, 8 May 2000 06:57:39 +0000 (06:57 +0000)]
* trad-core.c (trad_unix_core_file_p): Return
bfd_error_wrong_format rather than bfd_error_file_truncated.

24 years agoDataDirectory virtual address is relative. Fix to suit.
Alan Modra [Mon, 8 May 2000 05:52:58 +0000 (05:52 +0000)]
DataDirectory virtual address is relative.  Fix to suit.

24 years ago(setup_section): Add const and gettext calls for err.
Alan Modra [Mon, 8 May 2000 04:28:06 +0000 (04:28 +0000)]
(setup_section): Add const and gettext calls for err.

24 years agoMove some of the MIPS n32 ABI configuration options into the mips
Andrew Cagney [Mon, 8 May 2000 02:53:04 +0000 (02:53 +0000)]
Move some of the MIPS n32 ABI configuration options into the mips
multi-arch vector.

24 years ago* procfs.c (PROCFS_TRACE): Delete definition.
Andrew Cagney [Sun, 7 May 2000 23:09:45 +0000 (23:09 +0000)]
* procfs.c (PROCFS_TRACE): Delete definition.
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.

24 years agoTypo correction, again from Brian Youmans.
Eli Zaretskii [Sun, 7 May 2000 10:57:54 +0000 (10:57 +0000)]
Typo correction, again from Brian Youmans.

24 years ago * gdbmi.texinfo: Lots of typos and grammar fixes from Brian
Eli Zaretskii [Sun, 7 May 2000 10:55:24 +0000 (10:55 +0000)]
* gdbmi.texinfo: Lots of typos and grammar fixes from Brian
        Youmans <3diff@flib.gnu.ai.mit.edu>.

24 years agoSupport for tic54x target.
Timothy Wall [Sat, 6 May 2000 17:14:34 +0000 (17:14 +0000)]
Support for tic54x target.

24 years ago * xcoff.h: Rename to xcoff-target.h
Clinton Popetz [Sat, 6 May 2000 01:47:18 +0000 (01:47 +0000)]
* xcoff.h: Rename to xcoff-target.h
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h
* coff-rs6000.c: Ditto.
* coff64-rs6000.c: Ditto.
* coff-pmac.c: Ditto.
* Makefile.in: Regenerate.

24 years agobfd:
Clinton Popetz [Sat, 6 May 2000 01:41:50 +0000 (01:41 +0000)]
bfd:
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.

include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.

24 years ago2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 5 May 2000 21:50:23 +0000 (21:50 +0000)]
2000-04-28  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gdb.base/break.exp: When compiled with -O2 optimization,
        gdb may not stop at the first line of main, due to code motion.

24 years ago2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 5 May 2000 20:56:10 +0000 (20:56 +0000)]
2000-05-05  Michael Snyder  <msnyder@seadog.cygnus.com>

        * procfs.c: Cleanup of procfs tracing.  Move defines and
        prototypes to proc-utils.h
        * proc-utils.h: Define tracing macros.  Declare trace functions.
        * proc-api.c: Make procfs tracing a runtime option.
        (prepare_to_trace): New function, abstracted out of several
        places.  Open a trace file if one is required.
        (ioctl_with_trace, write_with_trace, open_with_trace,
        close_with_trace, wait_with_trace, lseek_with_trace):
        Report errno if an error occurs in a system call.
        (write_with_trace): Make 2nd arg void *, to agree with write.

24 years ago2000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 5 May 2000 19:09:27 +0000 (19:09 +0000)]
2000-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

         * elfread.c (elf_symtab_read): The calculation of 'offset'
         must be done for each symbol, not just once. The index
         used must be the index of the section where 'sym' resides,
         not .text.

24 years ago2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 5 May 2000 18:29:33 +0000 (18:29 +0000)]
2000-05-05  Michael Snyder  <msnyder@seadog.cygnus.com>

        * procfs.c (many functions): change int cmd; to long cmd;
        Solaris /proc API calls this parameter a long, and requires it
        for 64-bit hosts (where sizeof(long) != sizeof(int)).  UnixWare
        calls it an int, but on existing UnixWare hosts, int and long
        are the same size.  So long it must be.  If a future UnixWare
        version has problems with this, we'll have to use autoconf.
        * proc-api.c (write_with_trace): use long instead of int.

24 years ago2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 5 May 2000 18:14:27 +0000 (18:14 +0000)]
2000-05-03  Michael Snyder  <msnyder@seadog.cygnus.com>

        * solib.c (elf_locate_base, info_sharedlibrary_command):
        Look at the bfd to determine if it is elf32 or elf64, rather
        than using an ifdef.  This makes it runtime teststable and
        multi-arch.

24 years ago2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 5 May 2000 18:12:53 +0000 (18:12 +0000)]
2000-05-04  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
        * bfd-in.h: Prototype bfd_elf_get_arch_size.
        * bfd-in2.h: Prototype bfd_elf_get_arch_size.

24 years ago* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
Mark Kettenis [Thu, 4 May 2000 19:25:57 +0000 (19:25 +0000)]
* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
already defined.

24 years ago* infrun.c (handle_inferior_event): Add missing call to keep_going
Mark Kettenis [Thu, 4 May 2000 17:32:49 +0000 (17:32 +0000)]
* infrun.c (handle_inferior_event): Add missing call to keep_going
and missing return when handling an ordinary signal from the
inferior.

24 years agoElena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 4 May 2000 16:52:34 +0000 (16:52 +0000)]
Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
        SECT_OFF_RODATA): Define as functions of OBJFILE.  Add
        sect_index_text, sect_index_data, sect_index_rodata,
        sect_index_bss to objfile structure.
        * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
        SECT_OFF_RODATA): Remove.
        * objfiles.c (allocate_objfile): Initialize
        sect_index_{text,data,bss,rodata} to -1, for error detection.

        * symfile.c (default_symfile_offsets): Initialize
        sect_index_{text,data,bss,rodata} from bfd information.
        * xcoffread.c (xcoff_symfile_offsets): Ditto.
        * somread.c (som_symfile_offsets): Initialize
        sect_index_{text,data,bss,rodata}.

        * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
        hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
        mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
        remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
        stabsread.c, symfile.c, xcoffread.c:
        Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
        current objfile.

        * xcoffread.c: Add new field objfile to find_targ_sec_arg.

24 years agoRemove more defunct macros.
Andrew Cagney [Thu, 4 May 2000 14:16:51 +0000 (14:16 +0000)]
Remove more defunct macros.

24 years agoFix thinko in 2000-05-02 change.
Alan Modra [Thu, 4 May 2000 12:45:43 +0000 (12:45 +0000)]
Fix thinko in 2000-05-02 change.

24 years agoCleanups. Zap unused macros.
Andrew Cagney [Thu, 4 May 2000 11:10:22 +0000 (11:10 +0000)]
Cleanups.  Zap unused macros.

24 years ago2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
H.J. Lu [Thu, 4 May 2000 06:38:33 +0000 (06:38 +0000)]
2000-05-03  Martin v. Löwis  <loewis@informatik.hu-berlin.de>

* elflink.h (elf_link_add_object_symbols): Reset dynindx for
hidden and internal symbols.
(elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
visibility.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
assign a PLT or GOT entry to symbols with hidden and
internal visibility.

24 years agoJust mention current year in printed copyright message.
Alan Modra [Thu, 4 May 2000 03:53:00 +0000 (03:53 +0000)]
Just mention current year in printed copyright message.

24 years ago* ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
J.T. Conklin [Wed, 3 May 2000 22:25:08 +0000 (22:25 +0000)]
* ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
vector unit operands.
(VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
unit instruction formats.
(PPCVEC): New macro, mask for vector instructions.
(powerpc_operands): Add table entries for above operand types.
(powerpc_opcodes): Add table entries for vector instructions.

* ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Prepend 'v' when printing vector registers.

24 years ago* config/tc-ppc.c (pre_defined_registers): Add entries for vector
J.T. Conklin [Wed, 3 May 2000 22:23:01 +0000 (22:23 +0000)]
* config/tc-ppc.c (pre_defined_registers): Add entries for vector
unit registers.
(md_parse_option): Recognize -m7400.

24 years ago* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
J.T. Conklin [Wed, 3 May 2000 22:19:45 +0000 (22:19 +0000)]
* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
(PPC_OPERAND_VR): New operand flag for vector registers.

24 years agoInsert missing entry
Daniel Berlin [Wed, 3 May 2000 21:55:28 +0000 (21:55 +0000)]
Insert missing entry

24 years ago * config/atof-ieee.c (gen_to_words): When adding carry back in,
Ian Lance Taylor [Wed, 3 May 2000 21:23:52 +0000 (21:23 +0000)]
* config/atof-ieee.c (gen_to_words): When adding carry back in,
don't permit lp to become less than the words array.

24 years ago* infrun.c (handle_inferior_event): When doing a "next", and
Mark Kettenis [Wed, 3 May 2000 20:16:05 +0000 (20:16 +0000)]
* infrun.c (handle_inferior_event): When doing a "next", and
stepping out of a signal handler into its calling trampoline
ignore the value of step_frame_address.
(step_over_function): Only modify step_resume_breakpoint->frame if
the value of step_frame_address is non-zero.

24 years agoFix little endian relocs
Nick Clifton [Wed, 3 May 2000 18:50:55 +0000 (18:50 +0000)]
Fix little endian relocs

24 years ago2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 3 May 2000 18:21:52 +0000 (18:21 +0000)]
2000-05-03  Michael Snyder  <msnyder@seadog.cygnus.com>

        * monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
        is not static in the MULTI_ARCH world, so don't use it in a
        static array declaration.

24 years agoTue May 2 13:17:21 2000 Elena Zannoni (ezannoni@makita.cygnus.com)
Elena Zannoni [Wed, 3 May 2000 13:45:17 +0000 (13:45 +0000)]
Tue May  2 13:17:21 2000  Elena Zannoni  (ezannoni@makita.cygnus.com)

        * symtab.c (in_prologue): From Jim Blandy. Rewrite, more
        intelligently, making sure we use the information from the
        symbol tables fully.

24 years agoFix 64 bit target section start on 32 bit machine.
Alan Modra [Wed, 3 May 2000 11:22:42 +0000 (11:22 +0000)]
Fix 64 bit target section start on 32 bit machine.

24 years agoAdd missing ChangeLog.
Andrew Cagney [Wed, 3 May 2000 09:26:07 +0000 (09:26 +0000)]
Add missing ChangeLog.
Sync with mitsu's version.

24 years agoUpdate copyright message.
Alan Modra [Wed, 3 May 2000 06:38:40 +0000 (06:38 +0000)]
Update copyright message.

24 years agogo32 bss alignment.
Alan Modra [Wed, 3 May 2000 04:25:33 +0000 (04:25 +0000)]
go32 bss alignment.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:57:02 +0000 (17:57 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
instead of ELFOSABI_SYSV.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:54:32 +0000 (17:54 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
and ELFOSABI_OPENBSD.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:51:36 +0000 (17:51 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* elf.c (prep_headers): USe ELFOSABI_NONE instead of
ELFOSABI_SYSV.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:49:32 +0000 (17:49 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV.
(ELFOSABI_MODESTO): Defined.
(ELFOSABI_OPENBSD): Likewise.

24 years agoCorrect a typo in the author's surname!
Ben Elliston [Tue, 2 May 2000 12:47:19 +0000 (12:47 +0000)]
Correct a typo in the author's surname!

24 years agoRestore elf32-hppa target vec.
Alan Modra [Tue, 2 May 2000 11:18:33 +0000 (11:18 +0000)]
Restore elf32-hppa target vec.

24 years agoMulti-arch NPC_REGNUM NNPC_REGNUM.
Andrew Cagney [Tue, 2 May 2000 09:36:57 +0000 (09:36 +0000)]
Multi-arch NPC_REGNUM NNPC_REGNUM.

24 years agorevert 1.9. Not approved.
Andrew Cagney [Tue, 2 May 2000 08:59:35 +0000 (08:59 +0000)]
revert 1.9.  Not approved.

24 years agore-do how gdbarch provides non-multi arch defaults so that non-
Andrew Cagney [Tue, 2 May 2000 08:57:21 +0000 (08:57 +0000)]
re-do how gdbarch provides non-multi arch defaults so that non-
multi-arch gdbservers can continue to compile.

24 years agoAdd JimB to global checkin list
Andrew Cagney [Tue, 2 May 2000 08:34:08 +0000 (08:34 +0000)]
Add JimB to global checkin list

24 years agoAdd ElenaZ to symtabs maintainers list.
Andrew Cagney [Tue, 2 May 2000 07:41:04 +0000 (07:41 +0000)]
Add ElenaZ to symtabs maintainers list.

24 years agoMake Syd Polk principal maintainer.
Andrew Cagney [Tue, 2 May 2000 07:30:40 +0000 (07:30 +0000)]
Make Syd Polk principal maintainer.

24 years agofix gcc warnings
Alan Modra [Tue, 2 May 2000 02:29:17 +0000 (02:29 +0000)]
fix gcc warnings

24 years agoFix just added ia64-linux support to conform with others.
Jim Wilson [Tue, 2 May 2000 00:58:51 +0000 (00:58 +0000)]
Fix just added ia64-linux support to conform with others.
* configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.

24 years agoLd testsuite support for ia64-linux.
Jim Wilson [Tue, 2 May 2000 00:39:34 +0000 (00:39 +0000)]
Ld testsuite support for ia64-linux.
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
host "ia64-*-linux-gnu*".

24 years agoFix IA-64 --enable-targets=all bug reports.
Jim Wilson [Tue, 2 May 2000 00:23:54 +0000 (00:23 +0000)]
Fix IA-64 --enable-targets=all bug reports.
* Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
(BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
(BFD64_BACKENDS): Delete coff-ia64.lo.  Add efi-app-ia64.lo.
(BFD64_BACKENDS_CFILES): Delete coff-ia64.c.  Add efi-app-ia64.c.
* Makefile.in: Rebuild.

24 years agoAssorted code cleanup and fixes for hppa. Re-enable elf32-hppa as
Alan Modra [Tue, 2 May 2000 00:12:52 +0000 (00:12 +0000)]
Assorted code cleanup and fixes for hppa.  Re-enable elf32-hppa as
it now compiles even if it doesn't work too well.

24 years agoelf fixes.
Alan Modra [Tue, 2 May 2000 00:00:27 +0000 (00:00 +0000)]
elf fixes.

24 years agoDuplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
Alan Modra [Mon, 1 May 2000 23:56:49 +0000 (23:56 +0000)]
Duplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
Fix elf tests for targets that define LABELS_WITHOUT_COLONS.

24 years ago * gdb.texinfo (Command Files): Mention -x, use @enumerate for
Nicholas Duffek [Mon, 1 May 2000 21:22:42 +0000 (21:22 +0000)]
* gdb.texinfo (Command Files): Mention -x, use @enumerate for
startup sequence, minor edits.

24 years agoFix tests to remove leading zeroes from labels
Nick Clifton [Mon, 1 May 2000 18:08:39 +0000 (18:08 +0000)]
Fix tests to remove leading zeroes from labels

24 years ago * h8300.h (EOP): Add missing initializer.
Jeff Law [Mon, 1 May 2000 16:55:50 +0000 (16:55 +0000)]
    * h8300.h (EOP): Add missing initializer.

24 years ago Remove obsolete Gould configuration:
Stan Shebs [Mon, 1 May 2000 16:12:10 +0000 (16:12 +0000)]
Remove obsolete Gould configuration:
* configure.host, configure.tgt: Remove Gould configs.
* Makefile.in: Remove Gould-related actions.
* gould-xdep.c, gould-tdep.c, config/gould/*: Remove files.
* NEWS: Mention removal.

24 years ago* gdbint.texinfo (RETURN_VALUE_ON_STACK): Document.
Jim Blandy [Mon, 1 May 2000 16:12:01 +0000 (16:12 +0000)]
* gdbint.texinfo (RETURN_VALUE_ON_STACK): Document.

24 years ago* macro.c (macro_expand_body): Don't prepend macro number with zeroes.
Catherine Moore [Mon, 1 May 2000 14:01:06 +0000 (14:01 +0000)]
* macro.c (macro_expand_body): Don't prepend macro number with zeroes.

24 years ago * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
Denis Chertykov [Mon, 1 May 2000 11:14:05 +0000 (11:14 +0000)]
* config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
More comments added.
(md_begin): Removed "construct symbols for each register name".
Because register names conflicts with GCC generated function
names.
(avr_operand): Now constant numbers can be used as a register
identifiers (0 as r0, 31 as r31).
(md_assemble): use skip_space () before parsing instruction
operands.

24 years ago * config/tc-avr.c: New AVR_ISA_ defined.
Denis Chertykov [Mon, 1 May 2000 08:48:32 +0000 (08:48 +0000)]
* config/tc-avr.c: New AVR_ISA_ defined.
(md_assemble): Handle opcodes with optional operands (lpm,elpm).
(avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
for `fmul', `movw' and `lpm R,Z' instructions.
(avr_operands): Warn if current opcode is a two-word instruction
and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
(avr_opcodes): New commands added.
(REGISTER_P): Check 'a' and 'v' constraint letters.
(mcu_types): New MCU added.

24 years ago * avr-dis.c (reg_fmul_d): New. Extract destination register from
Denis Chertykov [Mon, 1 May 2000 08:45:11 +0000 (08:45 +0000)]
* avr-dis.c (reg_fmul_d): New. Extract destination register from
FMUL instruction.
(reg_fmul_r): New. Extract source register from FMUL instruction.
(reg_muls_d): New. Extract destination register from MULS instruction.
(reg_muls_r): New. Extract source register from MULS instruction.
(reg_movw_d): New. Extract destination register from MOVW instruction.
(reg_movw_r): New. Extract source register from MOVW instruction.
(print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.

24 years ago * annotate.texi: Remove "@syncodeindex fn cp", it causes grief in
Eli Zaretskii [Mon, 1 May 2000 08:34:36 +0000 (08:34 +0000)]
* annotate.texi: Remove "@syncodeindex fn cp", it causes grief in
TeX.

* gdb.texinfo: Add "@syncodeindex fn cp".  Convert all entries
"@kindex f" into "@kindex f (foo)", otherwise we get index entries
like `n' and `s' which look weird.  Convert some of the @kindex to
@vindex, when they refer to variables, not commands.

24 years ago* mips.igen (DMxC1): Fix format arguments for sim_io_eprintf call.
Andrew Cagney [Mon, 1 May 2000 07:06:10 +0000 (07:06 +0000)]
* mips.igen (DMxC1): Fix format arguments for sim_io_eprintf call.

24 years ago * readelf.c (guess_is_rela): AVR uses RELA relocations.
Denis Chertykov [Mon, 1 May 2000 06:53:41 +0000 (06:53 +0000)]
* readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.

24 years agoEnsure all pe targets use bfd.
Alan Modra [Mon, 1 May 2000 06:53:26 +0000 (06:53 +0000)]
Ensure all pe targets use bfd.

24 years agoFrom 2000-04-28 Andreas Jaeger <aj@suse.de>:
Andrew Cagney [Mon, 1 May 2000 05:45:36 +0000 (05:45 +0000)]
From 2000-04-28 Andreas Jaeger <aj@suse.de>:
Properly check for GCC version number.

24 years agoFix "incompatible types in return" gcc error.
Alan Modra [Mon, 1 May 2000 05:02:57 +0000 (05:02 +0000)]
Fix "incompatible types in return" gcc error.

24 years agoFix bfd_coff_small_swap_table initialisation.
Alan Modra [Mon, 1 May 2000 04:47:39 +0000 (04:47 +0000)]
Fix bfd_coff_small_swap_table initialisation.

24 years agoDo not use @value{GDBN in @nodes.
Andrew Cagney [Mon, 1 May 2000 04:34:06 +0000 (04:34 +0000)]
Do not use @value{GDBN in @nodes.

24 years ago2000-04-30 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 30 Apr 2000 15:04:58 +0000 (15:04 +0000)]
2000-04-30  Ben Elliston  <bje@redhat.com>

* bfdint.texi (BFD generated files): Fix another typo.

24 years ago2000-04-30 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 30 Apr 2000 09:34:13 +0000 (09:34 +0000)]
2000-04-30  Mark Kettenis  <kettenis@gnu.org>

Fix single-stepping out of signal trampolines.
* config/i386/nm-linux.h (CHILD_RESUME): Define.
* i386-linux-nat.c (child_resume): New function.

24 years ago * xcoff.h: Forgot to cvs add in last patch.
Clinton Popetz [Sat, 29 Apr 2000 14:41:30 +0000 (14:41 +0000)]
* xcoff.h: Forgot to cvs add in last patch.

24 years agoConvert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.
Andrew Cagney [Sat, 29 Apr 2000 08:55:45 +0000 (08:55 +0000)]
Convert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.

24 years ago * libcoff.h: Sigh, whitespace differences after 'make headers'.
Clinton Popetz [Sat, 29 Apr 2000 02:45:34 +0000 (02:45 +0000)]
* libcoff.h: Sigh, whitespace differences after 'make headers'.

24 years ago * coffcode.h Copy changes mistakenly done to libcoff.h in
Clinton Popetz [Sat, 29 Apr 2000 02:41:36 +0000 (02:41 +0000)]
* coffcode.h Copy changes mistakenly done to libcoff.h in
4/24/2000 patch.

24 years agoCorrectly check gcc version.
Alan Modra [Sat, 29 Apr 2000 00:56:29 +0000 (00:56 +0000)]
Correctly check gcc version.