binutils-gdb.git
23 years agoFix printf fmt arguments.
Andrew Cagney [Wed, 21 Feb 2001 00:05:34 +0000 (00:05 +0000)]
Fix printf fmt arguments.

23 years ago2001-02-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 21 Feb 2001 00:04:47 +0000 (00:04 +0000)]
2001-02-20  Kazu Hirata  <kazu@hxi.com>

* tc-pdp11.c: Fix formatting.
* tc-pdp11.h: Likewise.

23 years agoCleanup solib-aix5.c as suggested by J.T. Conklin.
Kevin Buettner [Tue, 20 Feb 2001 23:42:23 +0000 (23:42 +0000)]
Cleanup solib-aix5.c as suggested by J.T. Conklin.

23 years agoMove frame specific register code to the new file frame.c.
Andrew Cagney [Tue, 20 Feb 2001 22:39:03 +0000 (22:39 +0000)]
Move frame specific register code to the new file frame.c.

23 years ago2001-02-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 20 Feb 2001 21:07:24 +0000 (21:07 +0000)]
2001-02-20  H.J. Lu  <hjl@gnu.org>

* ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
false if we found the file.

23 years ago * solib-aix5.c: New file.
Kevin Buettner [Tue, 20 Feb 2001 20:43:12 +0000 (20:43 +0000)]
* solib-aix5.c: New file.

23 years ago2001-02-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 20 Feb 2001 18:07:17 +0000 (18:07 +0000)]
2001-02-20  Martin M. Hunt  <hunt@redhat.com>

* solib.c (info_sharedlibrary_command): Don't assume pointers
are the same size of long, call longest_local_hex_string_custom().

23 years ago2001-02-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 20 Feb 2001 18:05:19 +0000 (18:05 +0000)]
2001-02-20  Martin M. Hunt  <hunt@redhat.com>

* solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
extract_signed_integer() should be called instead of
extract_address().

23 years ago2001-02-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Tue, 20 Feb 2001 18:02:49 +0000 (18:02 +0000)]
2001-02-20  Martin M. Hunt  <hunt@redhat.com>

* MAINTAINERS: Add Martin Hunt to Write After Approval list.

23 years ago2001-02-20 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Tue, 20 Feb 2001 09:48:45 +0000 (09:48 +0000)]
2001-02-20  Bo Thorsen  <bo@suse.de>

* config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
  entry.

23 years ago2001-02-20 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Tue, 20 Feb 2001 08:01:32 +0000 (08:01 +0000)]
2001-02-20  Andreas Jaeger  <aj@suse.de>

* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make
PLT entries that could serve as a definition for a weak symbol.

23 years agoWhen the target h/w has 8byte registers, return 8 bytes for the raw buffer size
Andrew Cagney [Tue, 20 Feb 2001 03:38:32 +0000 (03:38 +0000)]
When the target h/w has 8byte registers, return 8 bytes for the raw buffer size
(from jim kingdon).

23 years agoRemove cvs conflict indicator.
Elena Zannoni [Tue, 20 Feb 2001 00:12:40 +0000 (00:12 +0000)]
Remove cvs conflict indicator.

23 years ago2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Tue, 20 Feb 2001 00:10:18 +0000 (00:10 +0000)]
2001-02-19  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

* parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
accomodate 64-bit addresses.

23 years ago2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 20 Feb 2001 00:09:01 +0000 (00:09 +0000)]
2001-02-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
  * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
  lookup_symbol, when trying to find a symbol with a mangled name,
  to avoid infinite recursion.

23 years agoTODO Tweeks.
Andrew Cagney [Mon, 19 Feb 2001 23:20:54 +0000 (23:20 +0000)]
TODO Tweeks.

23 years ago * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
Jakub Jelinek [Mon, 19 Feb 2001 22:35:47 +0000 (22:35 +0000)]
* elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.
* elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.

23 years ago * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
Jonathan Larmour [Mon, 19 Feb 2001 22:03:25 +0000 (22:03 +0000)]
* arm-tdep.c (check_prologue_cache): Fix off by 1 error.
(save_prologue_cache): Ditto.

23 years ago2001-02-19 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 19 Feb 2001 21:57:03 +0000 (21:57 +0000)]
2001-02-19  Ben Elliston  <bje@redhat.com>

* sim-main.h (sim_monitor): Return an int.
* interp.c (sim_monitor): Add return values.
(signal_exception): Handle error conditions from sim_monitor.

23 years ago2001-02-19 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 19 Feb 2001 21:48:52 +0000 (21:48 +0000)]
2001-02-19  Fernando Nasser  <fnasser@redhat.com>

From  Drew Moseley  <dmoseley@redhat.com>
        * gdb.base/ending-run.exp: Properly handle the BSP state when
        stepping past the end of main.

23 years ago2001-02-19 John Moore <jmoore@redhat.com>
Michael Chastain [Mon, 19 Feb 2001 20:44:27 +0000 (20:44 +0000)]
2001-02-19  John Moore  <jmoore@redhat.com>

* gdb.base/commands.exp (infrun_breakpoint_command_test):
Converted HPUX fix for non-expected items following multiple
step commands into general solution for all platforms.

23 years ago2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 19 Feb 2001 20:15:42 +0000 (20:15 +0000)]
2001-02-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From: innadadadavida@yahoo.com:
* partial-stab.h (switch): Check that pst is not null
  before dereferencing it.

23 years ago2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 19 Feb 2001 18:56:11 +0000 (18:56 +0000)]
2001-02-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        From Andrew Cagney  <cagney@b1.cygnus.com>:
* symfile.c (add_symbol_file_command): Always initialize
  my_cleanup using a NULL cleanup.

23 years ago * demangle.c (demangling_style_names): New variable.
Eli Zaretskii [Mon, 19 Feb 2001 11:47:16 +0000 (11:47 +0000)]
* demangle.c (demangling_style_names): New variable.
(_initialize_demangler): Fill demangling_style_names with the
names of known demangling styles from libiberty_demanglers[].  Use
add_set_enum_cmd instead of add_set_cmd, to get completion on
demangling style names.

* proc-api.c (_initialize_proc_api): Make `procfs-file' use
file-name completion.

* remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.

* solib.c (_initialize_solib): Ditto for `solib-search-path' and
`solib-absolute-prefix'.

* tracepoint.c (_initialize_tracepoint): Ditto for
`save-tracepoints'.

* win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.

* cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
file-name completion.

* infcmd.c (_initialize_infcmd): Make the following commands use
the file-name completer: `tty', `args', `path', `paths', and
`run'.

23 years ago001-02-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Mon, 19 Feb 2001 06:51:51 +0000 (06:51 +0000)]
001-02-18  David O'Brien  <obrien@FreeBSD.org>
* configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>

23 years ago001-02-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Mon, 19 Feb 2001 06:40:29 +0000 (06:40 +0000)]
001-02-18  David O'Brien  <obrien@FreeBSD.org>
* configure.in (cpu_type, arch): Add a generic FreeBSD specification as
all FreeBSD platforms should look the same at this level.
* configure: Rebuilt.
* config/tc-i386.c: Add support for old FreeBSD a.out hosts.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>

23 years ago2001-02-18 David O'Brien <obrien@FreeBSD>
David O'Brien [Mon, 19 Feb 2001 06:33:41 +0000 (06:33 +0000)]
2001-02-18  David O'Brien  <obrien@FreeBSD>
* configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat
FreeBSD/i386-CURRENT differently until I can figure out the needed
corefile changes.
* configure: Regenerate.
* config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,
FreeBSD/PowerPC, and FreeBSD/sparc64.

Approved by:  Philip Blundell <philb@gnu.org>
              Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>

23 years agoAdd PDP-11 support
Nick Clifton [Sun, 18 Feb 2001 23:33:11 +0000 (23:33 +0000)]
Add PDP-11 support

23 years agoSet the architecture (GDB multiarch needs it).
Nick Clifton [Sun, 18 Feb 2001 22:29:52 +0000 (22:29 +0000)]
Set the architecture (GDB multiarch needs it).

23 years ago2001-02-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 18 Feb 2001 22:04:08 +0000 (22:04 +0000)]
2001-02-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_input_bfd): Ignore invalid section symbol
index.

23 years ago2001-02-18 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sun, 18 Feb 2001 21:35:55 +0000 (21:35 +0000)]
2001-02-18  Kazu Hirata  <kazu@hxi.com>

* vms-misc.c: Fix formatting.

23 years ago2001-02-18 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sun, 18 Feb 2001 19:59:57 +0000 (19:59 +0000)]
2001-02-18  Michael Chastain  <chastain@redhat.com>

* gdb.c++/classes.exp (do_tests): Change runto statements
from "runto 'foo(void)'" to "runto 'foo'".  This makes the
statements demangler agnostic.
* gdb.c++/virtfunc.exp (do_tests): Likewise.
(gdb_virtfunc_restart): Likewise.

23 years ago * go32-nat.c: Include i387-nat.h.
Eli Zaretskii [Sun, 18 Feb 2001 07:22:17 +0000 (07:22 +0000)]
* go32-nat.c: Include i387-nat.h.
(fetch_register): New function, uses some of the guts of
go32_fetch_registers and i387_supply_register.
(go32_fetch_registers): Most of the code moved into
fetch_register.  Use i387_supply_fsave.
(store_register): Use i387_fill_fsave instead of custom code.
(go32_store_registers): Use i387_fill_fsave.

* Makefile.in (go32-nat.o): Depend on i387-nat.h.

* config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.

23 years ago2001-02-14 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sun, 18 Feb 2001 07:10:32 +0000 (07:10 +0000)]
2001-02-14  Michael Chastain  <chastain@redhat.com>

* gdb.c++/inherit.exp (do_tests): Change runto statements
from "runto 'foo(void)'" to "runto 'foo'".  This makes the
statements demangler agnostic.

23 years ago * completer.c (gdb_completer_file_name_break_characters): Remove
Eli Zaretskii [Sun, 18 Feb 2001 07:04:11 +0000 (07:04 +0000)]
* completer.c (gdb_completer_file_name_break_characters): Remove
slash from file-name break characters.
[__MSDOS__]: Special definition for DOS/Windows file names.
(line_completion_function): When completing on file names, bump
`p' to the first file-name constituent character of `word', before
invoking the completer.

23 years ago2001-02-17 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sun, 18 Feb 2001 02:17:24 +0000 (02:17 +0000)]
2001-02-17  David O'Brien  <obrien@FreeBSD.org>
* configure.host: Add a generic FreeBSD configuration entry such that
all [modern] FreeBSD systems on all platforms will look the same.

Approved by:  Alan Modra <alan@linuxcare.com.au>
              <Pine.LNX.4.21.0102172155140.30011-100000@front.linuxcare.com.au>

23 years ago2001-02-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 18 Feb 2001 01:57:20 +0000 (01:57 +0000)]
2001-02-17  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips32.d: Remove ELF dependencies.  This test
        wasn't meant to be ELF specific, and doesn't have to be.
        * gas/mips/mips64.d: Likewise.

23 years ago2001-02-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 18 Feb 2001 01:52:11 +0000 (01:52 +0000)]
2001-02-17  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp: Don't attempt the elf_e_flags family of
        tests if not ELF; they test ELF-specific features.

23 years ago* i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
Mark Kettenis [Sat, 17 Feb 2001 09:01:14 +0000 (09:01 +0000)]
* i387-nat.c: Include "i387-nat.h".  Use regnum instead of regno
consistently for parameter names.  Fix comments accordingly.
(i387_supply_register): New function.
(i387_supply_fsave): Implement using i387_supply_register.
* i387-nat.h: Use regnum instead of regno consistently for
parameter names.  Fix comments accordingly.
(i387_supply_register): New prototype.

23 years agoAllow configuration of texinfo for Cygwin hosts.
Nick Clifton [Sat, 17 Feb 2001 00:53:44 +0000 (00:53 +0000)]
Allow configuration of texinfo for Cygwin hosts.

23 years agomerge from gcc
DJ Delorie [Sat, 17 Feb 2001 00:11:29 +0000 (00:11 +0000)]
merge from gcc

23 years ago2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Fri, 16 Feb 2001 23:40:39 +0000 (23:40 +0000)]
2001-02-16  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

* remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
instead of TARGET_PTR_BIT (to support Harvard architectures).

23 years agoFrom Paul Hilfinger. Add attribs param to hpux_thread_xfer_memory.
Andrew Cagney [Fri, 16 Feb 2001 23:09:05 +0000 (23:09 +0000)]
From Paul Hilfinger.  Add attribs param to hpux_thread_xfer_memory.

23 years agoMove hardware stuff to not 5.1 - changelog already committed.
Andrew Cagney [Fri, 16 Feb 2001 22:59:48 +0000 (22:59 +0000)]
Move hardware stuff to not 5.1 - changelog already committed.

23 years agoRemove Prefetch abort for breakpoints. Instead set the state to RESUME.
Nick Clifton [Fri, 16 Feb 2001 22:04:22 +0000 (22:04 +0000)]
Remove Prefetch abort for breakpoints.  Instead set the state to RESUME.

23 years ago2001-02-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 16 Feb 2001 19:22:12 +0000 (19:22 +0000)]
2001-02-16  Kazu Hirata  <kazu@hxi.com>

* vms.c: Fix formatting.

23 years agoObvious fix.
Michael Chastain [Fri, 16 Feb 2001 18:25:56 +0000 (18:25 +0000)]
Obvious fix.
I wrote "gdb/somsolib.c" in ChangeLog.  Should be "somsolib.c".

23 years ago2001-02-12 Michael Chastain <chastain@redhat.com>
Michael Chastain [Fri, 16 Feb 2001 18:03:22 +0000 (18:03 +0000)]
2001-02-12  Michael Chastain  <chastain@redhat.com>

* gdb/somsolib.c (som_solib_add_solib_objfile): Do not use
section relocation feature of syms_from_objfile.  Do my own
section relocation, offsetting each section of the som by
either text_addr - text_link_addr or data_start.

23 years agoMove hardware bug out of 5.1
Andrew Cagney [Fri, 16 Feb 2001 17:44:09 +0000 (17:44 +0000)]
Move hardware bug out of 5.1

23 years agoUpdate paper trail list.
Andrew Cagney [Fri, 16 Feb 2001 17:13:04 +0000 (17:13 +0000)]
Update paper trail list.

23 years ago2001-02-16 matthew green <mrg@redhat.com>
Matthew Green [Fri, 16 Feb 2001 12:29:39 +0000 (12:29 +0000)]
2001-02-16  matthew green  <mrg@redhat.com>

  * gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.

23 years ago* target.h (target_fetch_registers): Fix comment.
Mark Kettenis [Fri, 16 Feb 2001 11:25:15 +0000 (11:25 +0000)]
* target.h (target_fetch_registers): Fix comment.

23 years agoSimplify code parsing integers and, in process fix a -Wuninitialized warning.
Andrew Cagney [Fri, 16 Feb 2001 01:27:46 +0000 (01:27 +0000)]
Simplify code parsing integers and, in process fix a -Wuninitialized warning.

23 years ago2001-02-16 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 15 Feb 2001 23:03:41 +0000 (23:03 +0000)]
2001-02-16  Ben Elliston  <bje@redhat.com>

* MAINTAINERS: Add myself for common portions.

23 years ago* profiling bug fixes.
Ben Elliston [Thu, 15 Feb 2001 21:14:40 +0000 (21:14 +0000)]
* profiling bug fixes.

2001-02-09  Ben Elliston  <bje@redhat.com>

* (profile_print_pc): Write header out in target byte order.

2001-02-09  Ben Elliston  <bje@redhat.com>

* sim-profile.c (profile_pc_init): Correct bug in loop logic when
adjusting the pc shift value.

23 years agoChange "armelf" to armelf.
H.J. Lu [Thu, 15 Feb 2001 17:18:35 +0000 (17:18 +0000)]
Change "armelf" to armelf.

23 years agoMake thread messages more consistent in pass/fail cases.
Andrew Cagney [Thu, 15 Feb 2001 05:32:12 +0000 (05:32 +0000)]
Make thread messages more consistent in pass/fail cases.

23 years agoAdd code to preserve processor mode when a prefetch
Nick Clifton [Thu, 15 Feb 2001 02:38:15 +0000 (02:38 +0000)]
Add code to preserve processor mode when a prefetch
abort is signalled after processing a breakpoint.

23 years ago2001-02-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 15 Feb 2001 01:17:07 +0000 (01:17 +0000)]
2001-02-14  H.J. Lu  <hjl@gnu.org>

* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
for -static on ia64.

* ld-checks/checks.exp: Don't run on ia64-*-elf* nor
ia64-*-linux*.

* ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.

* ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
Set up expected failures for ia64-*-linux*.
* ld-shared/shared.exp: Likewise.

23 years ago* MAINTAINERS: Add myself to paper trail section.
Jim Kingdon [Thu, 15 Feb 2001 00:50:06 +0000 (00:50 +0000)]
* MAINTAINERS: Add myself to paper trail section.

23 years agoReset processor into ARM mode for any machine type except the early ARMs.
Nick Clifton [Wed, 14 Feb 2001 22:21:20 +0000 (22:21 +0000)]
Reset processor into ARM mode for any machine type except the early ARMs.

23 years agoFix DV bug reported by Intel against the setf instruction.
Jim Wilson [Wed, 14 Feb 2001 20:30:26 +0000 (20:30 +0000)]
Fix DV bug reported by Intel against the setf instruction.
* ia64-ic.tbl: Update from Intel.  Add setf to fr-writers.
* ia64-asmtab.c: Regenerate.

23 years agofixes for elf_find_nearest_line
Nick Clifton [Wed, 14 Feb 2001 19:58:45 +0000 (19:58 +0000)]
fixes for elf_find_nearest_line

23 years ago2001-02-11 Michael Chastain <chastain@redhat.com>
Michael Chastain [Wed, 14 Feb 2001 19:54:04 +0000 (19:54 +0000)]
2001-02-11  Michael Chastain  <chastain@redhat.com>

* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
Helps the test script figure out which demangler is in use.
(dm_type_foo_ref): Ditto.
(dm_type_int_star): Ditto.
(dm_type_long_star): Ditto.
(dm_type_unsigned_int): Ditto.
(dm_type_void): Ditto.
(dm_type_void_star): Ditto.
* gdb.base/cplusfuncs.exp (probe_demangler): New function.
Probe the gdb demangler and set variables to accommodate
formatting differences.
(info_func_regexp): New function.  Same as info_func, but
matches against a regexp.
(info_func): Match against a literal string.
(print_addr_2): New function.  Match against a literal string,
which can be different from the input to gdb.
(print_addr): Simply call print_addr_2 with the same argument twice.
(test_lookup_operator_functions): Use demangler formatting variables.
Blow away the xfails and workarounds for gnats gdb bug gdb/18.  Sort
the tests in the same order as the C++ class declaration.
(test_paddr_operator_functions): Ditto.
(test_paddr_overloaded_functions): Ditto.
(test_paddr_hairy_functions): Use demangler formatting variables.
Add reference to gdb/19 for related tests.
(do_tests): Call probe_demangler.

23 years agoFix initialisation of asection structure
Nick Clifton [Wed, 14 Feb 2001 19:37:05 +0000 (19:37 +0000)]
Fix initialisation of asection structure

23 years agoApply changes to Makefile.in to Makefile.am
Nick Clifton [Wed, 14 Feb 2001 19:18:53 +0000 (19:18 +0000)]
Apply changes to Makefile.in to Makefile.am

23 years agoAdd obvious fix rule
Nick Clifton [Wed, 14 Feb 2001 18:49:56 +0000 (18:49 +0000)]
Add obvious fix rule

23 years ago * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
Michael Sokolov [Wed, 14 Feb 2001 18:48:40 +0000 (18:48 +0000)]
* configure.in (AC_CHECK_HEADERS): Add sys/file.h.
* configure, config.in: Regenerate.
* corelow.c: Include <sys/file.h> if present.

23 years ago2001-02-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Feb 2001 18:34:13 +0000 (18:34 +0000)]
2001-02-14  H.J. Lu  <hjl@gnu.org>

* configure.tgt: Remove mention of earmelf_linux26.

23 years ago2001-02-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Feb 2001 17:29:47 +0000 (17:29 +0000)]
2001-02-14  H.J. Lu  <hjl@gnu.org>

* libcoff-in.h (pe_tdata): Add members target_subsystem and
force_minimum_alignment.

23 years ago* inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
Andrew Cagney [Wed, 14 Feb 2001 16:57:29 +0000 (16:57 +0000)]
* inflow.c (terminal_ours_1): Initialize ``osigtou''.  Only
declare when have SIGTTOU.

23 years ago2001-02-14 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Wed, 14 Feb 2001 10:57:47 +0000 (10:57 +0000)]
2001-02-14  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c: Small formatting fixes and rearrangements of code.
(elf64_86_64_size_info): Struct added to fix a problem
with the hashtable string entries.
(elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt.
(elf64_x86_64_size_dynamic_sections): A FIXME removed.
(elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and
remove the FIXME for this.
(elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt
section. Also removed the FIXME for it.
(x86_64_elf_howto_table): Use bfd_elf_generic_reloc.
(ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker.
(elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.

23 years agoAdd entries for gdb/gdbtk/*/ChangeLog-*.
Eli Zaretskii [Wed, 14 Feb 2001 07:52:04 +0000 (07:52 +0000)]
Add entries for gdb/gdbtk/*/ChangeLog-*.

23 years agoremove spurious whitespace
Nick Clifton [Wed, 14 Feb 2001 03:55:57 +0000 (03:55 +0000)]
remove spurious whitespace

23 years agoPrevent Aborts from happening whilst emulating a SWI
Nick Clifton [Wed, 14 Feb 2001 03:50:46 +0000 (03:50 +0000)]
Prevent Aborts from happening whilst emulating a SWI

23 years agoAddress comment from Richard about relocs always needing a type.
Jim Wilson [Wed, 14 Feb 2001 01:46:10 +0000 (01:46 +0000)]
Address comment from Richard about relocs always needing a type.
* config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
reloc instead of a 0 reloc.
(md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
as done.
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.

23 years agoIt is SYMTAB, not STMTAB.
H.J. Lu [Tue, 13 Feb 2001 23:58:35 +0000 (23:58 +0000)]
It is SYMTAB, not STMTAB.

23 years ago * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required
Richard Henderson [Tue, 13 Feb 2001 23:08:09 +0000 (23:08 +0000)]
    * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required
        and not user provided.

23 years ago * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
Richard Henderson [Tue, 13 Feb 2001 23:07:54 +0000 (23:07 +0000)]
    * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.

23 years ago* MAINTAINERS: Update my email address.
Jim Kingdon [Tue, 13 Feb 2001 22:55:31 +0000 (22:55 +0000)]
* MAINTAINERS: Update my email address.

23 years ago2001-02-13 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 13 Feb 2001 22:41:23 +0000 (22:41 +0000)]
2001-02-13  Kazu Hirata  <kazu@hxi.com>

* rs6000-core.c: Fix formatting.

23 years ago2001-02-13 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 13 Feb 2001 22:39:17 +0000 (22:39 +0000)]
2001-02-13  Kazu Hirata  <kazu@hxi.com>

* vms.c (vms_print_symbol): Remove unreachable code.

23 years ago2001-02-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 13 Feb 2001 22:23:33 +0000 (22:23 +0000)]
2001-02-13  H.J. Lu  <hjl@gnu.org>

* ldexp.h (node_type): Add etree_provided.
* ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
type to etree_provided if defined by PROVIDE. Allow updating
for etree_provided.
(exp_print_tree): Handle etree_provided.
* mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
etree_provided.

23 years ago * write.c (is_dnrange): Stop as soon as the address becomes
Ian Lance Taylor [Tue, 13 Feb 2001 21:27:52 +0000 (21:27 +0000)]
* write.c (is_dnrange): Stop as soon as the address becomes
larger.
(relax_frag): Add segment parameter.  Only call symbol_get_frag
once.  Only call is_dnrange if the symbol is in the same segment,
and the symbol address is larger.
(relax_segment): Pass segment to md_relax_frag and relax_frag.
* write.h (relax_frag): Update declaration.
* config/tc-fr30.c (fr30_relax_frag): Add segment parameter.  Pass
it to relax_frag.
* config/tc-m32r.c (m32r_relax_frag): Likewise.
* config/tc-m32r.h (md_relax_frag): Add segment parameter.
(m32r_relax_frag): Update declaration.
* config/tc-mips.h (md_relax_frag): Add segment parameter.
* config/tc-tic54x.h (md_relax_frag): Likewise.
* doc/internals.texi (CPU backend): Update documentation for
md_relax_frag.

23 years agoRegenerate
DJ Delorie [Tue, 13 Feb 2001 21:05:09 +0000 (21:05 +0000)]
Regenerate

23 years ago* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
DJ Delorie [Tue, 13 Feb 2001 21:01:44 +0000 (21:01 +0000)]
* include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR.  Rename
PEP64AOUTSZ to PEPAOUTSZ.

23 years ago* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
DJ Delorie [Tue, 13 Feb 2001 19:23:08 +0000 (19:23 +0000)]
* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
as _bfd_XXi_only_swap_filehdr_out.
(pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
pe->force_minimum_alignment to TRUE.
(pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
PEI_TARGET_SUBSYSTEM.
(pe_print_private_bfd_data): Call
_bfd_XX_print_private_bfd_data_common() instead of
_bfd_pe_print_private_bfd_data_common().
(pe_bfd_copy_private_bfd_data): Call
_bfd_XX_bfd_copy_private_bfd_data_common() instead of
_bfd_pe_bfd_copy_private_bfd_data_common().
(coff_bfd_copy_private_section_data): Define as
_bfd_XX_bfd_copy_private_section_data instead of
_bfd_pe_bfd_copy_private_section_data.
(coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
of a _bfd_pe_get_symbol_info.

* peigen.c: Delete.

* peXXigen.c: Renamed from peigen.c.
(COFF_WITH_XX): Define this macro (will get expanded into
COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
compiled as peigen.c or pepigen.c.
[COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
define the canonical PEP structures and definitions.
(_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
effect, enforce minimum file and section alignments.  If
extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
so, by default, this is a no-op).

* libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
(_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
_bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
_bfd_pefoo if it's not defined.  Use these macros to define
coff swap macros.

* libcoff.h (pe_tdata): Add members target_subsystem and
force_minimum_alignment.

* efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
COFF_WITH_pep.
(PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.

* configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
peigen.lo.

* coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
(AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
PEPAOUTHDR.

* Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
(BFD64_BACKENDS_CFILES): Mention pepigen.c
(peigen.c): Add rule to generate from peXXigen.c.
(pepigen.c): Ditto.
(pepigen.lo): List dependencies for pepigen.lo.

* unwind-ia64.c (unw_decode_x1): Declare code arg with
ATTRIBUTE_UNUSED.
(unw_decode_x2): Ditto.
(unw_decode_x3): Ditto.
(unw_decode_x4): Ditto.

* pe.h (PEPAOUTSZ): Rename from PEP64AOUTSZ.
Rename from PEPAOUTHDR.

23 years agoHandle long jumps for .code16 and .arch < 386 by using a two
Alan Modra [Tue, 13 Feb 2001 12:44:19 +0000 (12:44 +0000)]
Handle long jumps for .code16 and .arch < 386 by using a two
instruction sequence consisting of a conditional jump of the
opposite sense around an unconditional jump to the target.
Add jumps/nojumps .arch modifier.

23 years agoUpdate copyright date.
Alan Modra [Tue, 13 Feb 2001 11:17:48 +0000 (11:17 +0000)]
Update copyright date.

23 years agoFix parsing of multi-char operators.
Alan Modra [Tue, 13 Feb 2001 11:13:53 +0000 (11:13 +0000)]
Fix parsing of multi-char operators.

23 years ago(elf32_hppa_set_gp): Handle weak $global$.
Alan Modra [Tue, 13 Feb 2001 10:14:14 +0000 (10:14 +0000)]
(elf32_hppa_set_gp): Handle weak $global$.
If $global$ referenced but not defined, set its value here.

23 years agoFix definition of NEGBRANCH
Nick Clifton [Mon, 12 Feb 2001 23:29:49 +0000 (23:29 +0000)]
Fix definition of NEGBRANCH

23 years ago2001-02-09 Bo Thorsen <bo@suse.de>
Jan Hubicka [Mon, 12 Feb 2001 16:54:08 +0000 (16:54 +0000)]
2001-02-09  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
alignment to 3.
(elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
and relocation.
(elf64_x86_64_relocate_section): Fix formatting.
(elf64_x86_64_relocate_section): Fix addend for relocation of
R_X86_64_(8|16|32|PC8|PC16|PC32).

23 years ago * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
Jan Hubicka [Mon, 12 Feb 2001 16:47:15 +0000 (16:47 +0000)]
* elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
* tc-i386.c (i386_displacement): Fix handling of
BFD_RELOC_X86_64_GOTPCREL.
(i386_validate_fix): Likewise.

23 years ago * i386.h (i386_optab): SSE integer converison instructions have
Jan Hubicka [Mon, 12 Feb 2001 16:42:49 +0000 (16:42 +0000)]
* i386.h (i386_optab): SSE integer converison instructions have
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'

23 years ago2001-02-12 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 12 Feb 2001 13:32:25 +0000 (13:32 +0000)]
2001-02-12  Philip Blundell  <pb@futuretv.com>

* config/tc-arm.c (do_ldst): Improve warnings for unpredictable
ldrt/strt instructions.

23 years ago2001-02-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 12 Feb 2001 00:23:37 +0000 (00:23 +0000)]
2001-02-11  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_bfd_final_link): Use file_align for STMTAB
alignment.

23 years ago2001-02-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 12 Feb 2001 00:21:59 +0000 (00:21 +0000)]
2001-02-11  H.J. Lu  <hjl@gnu.org>

* config/default.exp: Set up gcc_gas_flag.

* binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag
for Linux only.

* binutils-all/testprog.c: Include <string.h> and don't use
exit ().

23 years agofix formatting
Nick Clifton [Sun, 11 Feb 2001 23:22:25 +0000 (23:22 +0000)]
fix formatting

23 years agooops - omitted from previous delta
Nick Clifton [Sun, 11 Feb 2001 23:21:01 +0000 (23:21 +0000)]
oops - omitted from previous delta