platform/upstream/binutils.git
23 years ago* mmap support for common simulators
Frank Ch. Eigler [Tue, 20 Mar 2001 17:13:39 +0000 (17:13 +0000)]
* mmap support for common simulators

2001-03-16  Frank Ch. Eigler  <fche@redhat.com>

Add support for mmap-based memory regions.
* sim-memopt.c (mmap_next_fd): New global.
(sim_memory_init): Reinitialize it.
(OPTION_MEMORY_MAPFILE, memory_option_handler): Support new
"--memory-mapfile FILE" option.  Check for some errors.
(do_memopt_add): Conditionally do mmap instead of malloc for
backing store of simulated memory.  Check for more errors.
(do_simopt_delete, sim_memory_uninstall): Corresponding cleanup.
* sim-memopt.h (munmap_length): New member of _sim_memopt.
* configure.in: Look for mmap/fstat related functions and headers.
* config.in, configure: Regenerated.

23 years agomerge from gcc
DJ Delorie [Tue, 20 Mar 2001 17:09:17 +0000 (17:09 +0000)]
merge from gcc

23 years ago* linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
Jim Blandy [Tue, 20 Mar 2001 16:17:22 +0000 (16:17 +0000)]
* linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
than asking for sym_class's type; that's circuitous.  Remove
sym_class, since the last use of it is gone.

23 years ago* gdb.threads/linux-dp.exp: Recognize an additional message
Jim Blandy [Tue, 20 Mar 2001 15:54:34 +0000 (15:54 +0000)]
* gdb.threads/linux-dp.exp: Recognize an additional message
generated by GDB when it doesn't understand how to debug threads
on the target system.

23 years ago * elf32-m68k.c (elf_m68k_relocate_section): Don't need the
Andreas Schwab [Tue, 20 Mar 2001 10:11:07 +0000 (10:11 +0000)]
* elf32-m68k.c (elf_m68k_relocate_section): Don't need the
relocation value when resolving a reference from a debugging
section.

23 years ago * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
Eli Zaretskii [Tue, 20 Mar 2001 09:46:00 +0000 (09:46 +0000)]
* breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
Correct the order of calls to ui_out_field_string and
ui_out_list_begin when bs->old_val is NULL.

23 years agoUse `relax_marker' instead of fragile address test code to determine
Alan Modra [Tue, 20 Mar 2001 03:12:01 +0000 (03:12 +0000)]
Use `relax_marker' instead of fragile address test code to determine
whether a frag's fr_address has been updated.

23 years agoConditionally include nlist.h in solib-legacy.c for older *BSD systems.
Kevin Buettner [Tue, 20 Mar 2001 02:57:42 +0000 (02:57 +0000)]
Conditionally include nlist.h in solib-legacy.c for older *BSD systems.

23 years agoFix ``make'' problems when building cross debugger.
Kevin Buettner [Tue, 20 Mar 2001 02:37:55 +0000 (02:37 +0000)]
Fix ``make'' problems when building cross debugger.

23 years agoFix 2 bugs with parsing the resource dependency tables.
Jim Wilson [Tue, 20 Mar 2001 02:32:27 +0000 (02:32 +0000)]
Fix 2 bugs with parsing the resource dependency tables.
* ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
notestr if larger than xsect.
(in_class): Handle format M5.
* ia64-asmtab.c: Regnerate.

23 years agomalloc() -> xmalloc.
Andrew Cagney [Tue, 20 Mar 2001 01:37:10 +0000 (01:37 +0000)]
malloc() -> xmalloc.
Move malloc() decl to utils.c

23 years agoMove realoc() decl to utils.c. s/realloc()/xrealloc()/.
Andrew Cagney [Tue, 20 Mar 2001 00:54:43 +0000 (00:54 +0000)]
Move realoc() decl to utils.c.  s/realloc()/xrealloc()/.

23 years agoMove free() decl to utils.c.
Andrew Cagney [Tue, 20 Mar 2001 00:28:23 +0000 (00:28 +0000)]
Move free() decl to utils.c.

23 years agoAdd proc-service.o to NATDEPFILES.
Kevin Buettner [Tue, 20 Mar 2001 00:05:04 +0000 (00:05 +0000)]
Add proc-service.o to NATDEPFILES.

23 years agoZap __STDC__ references.
Andrew Cagney [Mon, 19 Mar 2001 23:31:41 +0000 (23:31 +0000)]
Zap __STDC__ references.

23 years ago* TODO: List known problems with TUI.
Andrew Cagney [Mon, 19 Mar 2001 23:19:23 +0000 (23:19 +0000)]
* TODO: List known problems with TUI.

23 years agoJimmy Guo stepping down.
Andrew Cagney [Mon, 19 Mar 2001 21:16:01 +0000 (21:16 +0000)]
Jimmy Guo stepping down.

23 years ago* remote.c (remote_cisco_section_offsets): Do not cast result from
Andrew Cagney [Mon, 19 Mar 2001 21:01:06 +0000 (21:01 +0000)]
* remote.c (remote_cisco_section_offsets): Do not cast result from
bfd_get_section_name.
(compare_sections_command): Ditto.
(remote_cisco_section_offsets): Make ``p'' a const pointer.
(compare_sections_command): Ditto for ``sectname''.

23 years ago* valops.c (hand_function_call): Simplify computation of the
Andrew Cagney [Mon, 19 Mar 2001 20:08:16 +0000 (20:08 +0000)]
* valops.c (hand_function_call): Simplify computation of the
address of the pushed argument.

23 years ago* p-exp.y (parse_number): Avoid shift overflow when ``long''.
Andrew Cagney [Mon, 19 Mar 2001 19:05:21 +0000 (19:05 +0000)]
* p-exp.y (parse_number): Avoid shift overflow when ``long''.
Code copied from c-exp.y.

23 years agoDocument a native system printing output outside of the MI as a known
Andrew Cagney [Mon, 19 Mar 2001 18:20:04 +0000 (18:20 +0000)]
Document a native system printing output outside of the MI as a known
bug.

23 years agoDon't try to read past end of info buffer, and correct test results.
Alan Modra [Mon, 19 Mar 2001 12:20:10 +0000 (12:20 +0000)]
Don't try to read past end of info buffer, and correct test results.

23 years agoFix register name printed in warning message.
Alan Modra [Mon, 19 Mar 2001 11:28:20 +0000 (11:28 +0000)]
Fix register name printed in warning message.

23 years ago * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get
Andreas Schwab [Mon, 19 Mar 2001 10:02:07 +0000 (10:02 +0000)]
* gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get
consistent output across targets.
* gas/m68k/pcrel.d: Adjusted.

23 years agoFix solib support so that non-svr4-solib-host x svr4-solib-target will work.
Kevin Buettner [Mon, 19 Mar 2001 07:01:03 +0000 (07:01 +0000)]
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.

23 years agoFix solib support so that non-svr4-solib-host x svr4-solib-target will work.
Kevin Buettner [Mon, 19 Mar 2001 05:46:27 +0000 (05:46 +0000)]
Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.

23 years agoFix NetBSD 1.4 build problem.
Kevin Buettner [Mon, 19 Mar 2001 05:15:32 +0000 (05:15 +0000)]
Fix NetBSD 1.4 build problem.

23 years ago2001-03-17 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sun, 18 Mar 2001 21:35:58 +0000 (21:35 +0000)]
2001-03-17  Michael Chastain  <chastain@redhat.com>

* win32-nat.c (child_attach): check args for NULL before passing
to strtoul.  This fixes PR gdb/43.

23 years ago2001-03-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 18 Mar 2001 21:28:56 +0000 (21:28 +0000)]
2001-03-18  H.J. Lu  <hjl@gnu.org>

* gas/i386/intel.s: Move PIC code to ...
* gas/i386/intelpic.s: New. Here.
* gas/i386/intel.d: Updated.
* gas/i386/intelpic.d: New.

* gas/i386/i386.exp: Check PIC code in Intel syntax for ELF
targets only.

23 years ago * gas/mri/mri.exp: Fix test of m6811/m6812 targets.
Stephane Carrez [Sun, 18 Mar 2001 10:18:24 +0000 (10:18 +0000)]
* gas/mri/mri.exp: Fix test of m6811/m6812 targets.

23 years ago * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
Stephane Carrez [Sun, 18 Mar 2001 10:14:13 +0000 (10:14 +0000)]
* config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
with 'Motorola specification for assembly language input standard'.

23 years agoFix a typo.
H.J. Lu [Sun, 18 Mar 2001 02:56:20 +0000 (02:56 +0000)]
Fix a typo.

23 years ago* i387-nat.h: Doc Fix.
Mark Kettenis [Sat, 17 Mar 2001 23:02:10 +0000 (23:02 +0000)]
* i387-nat.h: Doc Fix.

23 years ago* i386-tdep.c: Fix formatting.
Mark Kettenis [Sat, 17 Mar 2001 22:28:33 +0000 (22:28 +0000)]
* i386-tdep.c: Fix formatting.
(i386_get_frame_setup, i386_follow_jump, codestream_read,
codestream_seek, codestream_fill, skip_trampoline_code,
gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
prototypoes.

23 years ago* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
Mark Kettenis [Sat, 17 Mar 2001 22:24:00 +0000 (22:24 +0000)]
* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove.  It's
no longer used.  Also remove associated FIXME.

23 years ago * emultempl/elf32.em (OPTION_GROUP): New macro.
Ulrich Drepper [Sat, 17 Mar 2001 21:24:26 +0000 (21:24 +0000)]
* emultempl/elf32.em (OPTION_GROUP): New macro.
Add new option Bgroup to longopts.
(gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
(gld*_list_options): Add -Bgroup and -z defs.
* ld.1: Document -Bgroup and -z defs.
* ld.texinfo: Likewise.

23 years ago * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
Richard Henderson [Sat, 17 Mar 2001 18:23:41 +0000 (18:23 +0000)]
    * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
        (dwarf2_directive_loc): Don't use them.
        (dwarf2_directive_file): Reject duplicate file definitions.
        (get_filenum): Zero allocated memory.
        (out_file_list): Complain about missing file definitions.

23 years agoTeach .org to handle complex expressions
Alan Modra [Sat, 17 Mar 2001 03:02:06 +0000 (03:02 +0000)]
Teach .org to handle complex expressions

23 years agoAdd support for m/M methods - pure multi-arch. These do not have
Andrew Cagney [Sat, 17 Mar 2001 00:31:22 +0000 (00:31 +0000)]
Add support for m/M methods - pure multi-arch. These do not have
macros and take a gdbarch parameter.

23 years ago* config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
J.T. Conklin [Fri, 16 Mar 2001 22:34:46 +0000 (22:34 +0000)]
* config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
h8300_frame_args_address from frame_args_address.
(FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
from frame_locals_address.
(PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
from print_register_hook.
(h8300_frame_args_address): Declare.
(h8300_frame_find_saved_regs): Declare.
(h8300_frame_locals_address): Declare.
(h8300_frame_saved_pc): Declare.
(h8300_pop_frame): Declare.
(h8300_print_register_hook): Declare.
* h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
(h8300_frame_args_address): Renamed from frame_args_address.
(h8300_frame_locals_address): Renamed from frame_locals_address.
(h8300_pop_frame): Renamed from pop_frame.
(h8300_print_register_hook): Renamed from print_register_hook.
-------------------------------------------------------------------

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

* gdb.c++/derivation.exp: Use the 'runto' library function.

23 years ago2001-03-12 Michael Chastain <chastain@redhat.com>
Michael Chastain [Fri, 16 Mar 2001 20:00:04 +0000 (20:00 +0000)]
2001-03-12  Michael Chastain  <chastain@redhat.com>

* gdb.c++/annota2.exp: Fix regular expression for "post-query".

23 years agoFix syntax errors.
Nick Clifton [Fri, 16 Mar 2001 18:49:32 +0000 (18:49 +0000)]
Fix syntax errors.

23 years agoAdd new opcodes
Nick Clifton [Fri, 16 Mar 2001 18:42:26 +0000 (18:42 +0000)]
Add new opcodes

23 years agoChange type of ``storage_needed'' from unsigned int to long.
Kevin Buettner [Fri, 16 Mar 2001 18:06:44 +0000 (18:06 +0000)]
Change type of ``storage_needed'' from unsigned int to long.

23 years ago2001-02-24 Michael Chastain <chastain@redhat.com>
Michael Chastain [Fri, 16 Mar 2001 17:59:58 +0000 (17:59 +0000)]
2001-02-24  Michael Chastain  <chastain@redhat.com>

* gdb.c++/ref-types.exp: Change handwritten code to library
function 'runto'.

23 years agoFix warning message
Nick Clifton [Fri, 16 Mar 2001 17:34:31 +0000 (17:34 +0000)]
Fix warning message

23 years ago2001-03-16 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 16 Mar 2001 09:05:16 +0000 (09:05 +0000)]
2001-03-16  Orjan Friberg  <orjanf@axis.com>

* gdb.base/signals.exp: Set count to 0 explicitly.

23 years ago2001-03-16 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 16 Mar 2001 08:57:44 +0000 (08:57 +0000)]
2001-03-16  Orjan Friberg  <orjanf@axis.com>

* gdb.base/signals.exp: Set count to 0 explicitly.

23 years agoAdd local tag support. Don't flush instructions for .xdata directives.
Jim Wilson [Fri, 16 Mar 2001 04:56:31 +0000 (04:56 +0000)]
Add local tag support.  Don't flush instructions for .xdata directives.
* config/tc-ia64.c (md): New member keep_pending_output.
(ia64_flush_pending_output): Flush only if md.keep_pending_output
is not set.
(dot_xdata): Turn on md.keep_pending_output for the duration of
this function.
(dot_xfloat_cons): Ditto.
(dot_xstringer): Ditto.
(dot_xdata_ua): Ditto.
(dot_xfloat_cons_ua): Ditto.
* config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
label support.

23 years agoMisc. cleanups.
Kevin Buettner [Fri, 16 Mar 2001 03:52:12 +0000 (03:52 +0000)]
Misc. cleanups.

23 years ago* tweak
Frank Ch. Eigler [Fri, 16 Mar 2001 03:20:26 +0000 (03:20 +0000)]
* tweak

2001-03-15  Frank Ch. Eigler  <fche@redhat.com>

* sim-core.c (sim_core_map_attach): Correct overlap-related
error messages.

23 years agoFix accidental loss of bit 7 in peoples names
Hans-Peter Nilsson [Fri, 16 Mar 2001 03:00:24 +0000 (03:00 +0000)]
Fix accidental loss of bit 7 in peoples names

23 years ago* config/tc-sh.c (parse_reg): Match capital MACH and MACL.
Alexandre Oliva [Fri, 16 Mar 2001 02:11:05 +0000 (02:11 +0000)]
* config/tc-sh.c (parse_reg): Match capital MACH and MACL.

23 years agomerge from gcc
DJ Delorie [Thu, 15 Mar 2001 22:02:06 +0000 (22:02 +0000)]
merge from gcc

23 years ago*** empty log message ***
Mark Salter [Thu, 15 Mar 2001 21:47:38 +0000 (21:47 +0000)]
*** empty log message ***

23 years ago(gdb_load): Add support for additional target_info: gdb_download_size
Mark Salter [Thu, 15 Mar 2001 21:46:57 +0000 (21:46 +0000)]
(gdb_load): Add support for additional target_info: gdb_download_size
and gdb_load_timeout.

23 years agomerge from gcc
DJ Delorie [Thu, 15 Mar 2001 21:07:01 +0000 (21:07 +0000)]
merge from gcc

23 years ago* stabs.c (s_stab_generic): Don't corrupt the notes obstack by
DJ Delorie [Thu, 15 Mar 2001 19:30:32 +0000 (19:30 +0000)]
* stabs.c (s_stab_generic): Don't corrupt the notes obstack by
blindly freeing string if it isn't at the top of the obstack.

23 years ago*** empty log message ***
Mark Salter [Thu, 15 Mar 2001 18:51:56 +0000 (18:51 +0000)]
*** empty log message ***

23 years ago(gdb_target_cmd): Add explicit error return.
Mark Salter [Thu, 15 Mar 2001 18:51:25 +0000 (18:51 +0000)]
(gdb_target_cmd): Add explicit error return.
(gdb_target_monitor): Add check of gdb_target_cmd return value.

23 years ago2001-03-15 Martin Hunt <hunt@redhat.com>
Martin Hunt [Thu, 15 Mar 2001 18:02:14 +0000 (18:02 +0000)]
2001-03-15  Martin Hunt  <hunt@redhat.com>

* linespec.c (decode_line_1): Remove trailing quote
when parsing double quotes.

23 years agoPass NULL for the mem_attrib argument in the to_xfer_memory calls.
Kevin Buettner [Thu, 15 Mar 2001 17:42:00 +0000 (17:42 +0000)]
Pass NULL for the mem_attrib argument in the to_xfer_memory calls.

23 years agoAdd list of targets being obsoleted.
Andrew Cagney [Thu, 15 Mar 2001 17:06:00 +0000 (17:06 +0000)]
Add list of targets being obsoleted.

23 years agoAdd ``attrib'' parameter to *xfer_memory() functions.
Andrew Cagney [Thu, 15 Mar 2001 16:55:15 +0000 (16:55 +0000)]
Add ``attrib'' parameter to *xfer_memory() functions.

23 years agoDon't assume non-PIC to PIC call stubs are unneeded just because
Alan Modra [Thu, 15 Mar 2001 13:47:56 +0000 (13:47 +0000)]
Don't assume non-PIC to PIC call stubs are unneeded just because
the function happens to have a plabel.

23 years agoNote Harris 88k is obsolete in news file.
Andrew Cagney [Thu, 15 Mar 2001 01:07:51 +0000 (01:07 +0000)]
Note Harris 88k is obsolete in news file.

23 years agoInclude regcache.h
Andrew Cagney [Wed, 14 Mar 2001 23:23:16 +0000 (23:23 +0000)]
Include regcache.h

23 years agoUpdate target list.
Andrew Cagney [Wed, 14 Mar 2001 22:05:34 +0000 (22:05 +0000)]
Update target list.

23 years agoLink with libintl, needed by libopcodes.
Andrew Cagney [Wed, 14 Mar 2001 21:51:31 +0000 (21:51 +0000)]
Link with libintl, needed by libopcodes.

23 years agomerge from gcc
DJ Delorie [Wed, 14 Mar 2001 21:30:22 +0000 (21:30 +0000)]
merge from gcc

23 years agoFix minor formatting bugs.
DJ Delorie [Wed, 14 Mar 2001 20:46:12 +0000 (20:46 +0000)]
Fix minor formatting bugs.

23 years agoFix minor formatting bugs.
DJ Delorie [Wed, 14 Mar 2001 20:17:36 +0000 (20:17 +0000)]
Fix minor formatting bugs.

23 years agoSynchronise with copyright dates on FSF GCC versions of these files
Nick Clifton [Wed, 14 Mar 2001 19:45:29 +0000 (19:45 +0000)]
Synchronise with copyright dates on FSF GCC versions of these files

23 years ago * linespec.c (decode_line_1): Skip argptr over a leading
Keith Seitz [Wed, 14 Mar 2001 18:36:45 +0000 (18:36 +0000)]
* linespec.c (decode_line_1): Skip argptr over a leading
double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.

23 years agoAdd entry of ia64-aix-nat.c.
Kevin Buettner [Wed, 14 Mar 2001 18:21:04 +0000 (18:21 +0000)]
Add entry of ia64-aix-nat.c.

23 years agoEliminate some uses of __STDC__.
Andrew Cagney [Wed, 14 Mar 2001 16:42:30 +0000 (16:42 +0000)]
Eliminate some uses of __STDC__.

23 years agoDavid Mosberger's fixes for cross compiling gprof.
Alan Modra [Wed, 14 Mar 2001 03:14:56 +0000 (03:14 +0000)]
David Mosberger's fixes for cross compiling gprof.

23 years ago* defparse.y (opt_equal_name): allow "." in name.
Christopher Faylor [Wed, 14 Mar 2001 02:56:45 +0000 (02:56 +0000)]
* defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.

23 years agoformatting fix
Nick Clifton [Wed, 14 Mar 2001 02:33:30 +0000 (02:33 +0000)]
formatting fix

23 years agoFix typos in ChangeLogs; add coff/external.h; fix copyright dates
Nick Clifton [Wed, 14 Mar 2001 02:27:44 +0000 (02:27 +0000)]
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates

23 years agoEliminate ARCH_NUM_REGS.
Andrew Cagney [Tue, 13 Mar 2001 23:31:14 +0000 (23:31 +0000)]
Eliminate ARCH_NUM_REGS.

23 years agoFix typos in ChangeLogs; fix dates in copyright notices
Nick Clifton [Tue, 13 Mar 2001 22:58:38 +0000 (22:58 +0000)]
Fix typos in ChangeLogs; fix dates in copyright notices

23 years ago2001-03-13 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Tue, 13 Mar 2001 22:29:14 +0000 (22:29 +0000)]
2001-03-13  Fernando Nasser  <fnasser@redhat.com>

From Steven Johnson <sjohnson@neurizon.net>
* cli/cli-script.c (define_command): Fix setting of post hooks.

23 years agoFix typos in ChangeLog; fix dates in copyright notices
Nick Clifton [Tue, 13 Mar 2001 21:07:30 +0000 (21:07 +0000)]
Fix typos in ChangeLog; fix dates in copyright notices

23 years ago* i386-linux-tdep.c: Fix formatting and clarify comments.
Mark Kettenis [Tue, 13 Mar 2001 12:42:08 +0000 (12:42 +0000)]
* i386-linux-tdep.c: Fix formatting and clarify comments.
(i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
where appropriate.

23 years agoFix typos in ChangeLogs and update copyright notices
Nick Clifton [Tue, 13 Mar 2001 06:43:59 +0000 (06:43 +0000)]
Fix typos in ChangeLogs and update copyright notices

23 years agoFixtypos in ChangeLogs, fix copyright dates in files
Nick Clifton [Tue, 13 Mar 2001 06:14:29 +0000 (06:14 +0000)]
Fixtypos in ChangeLogs, fix copyright dates in files

23 years agofix typos
Nick Clifton [Tue, 13 Mar 2001 06:14:01 +0000 (06:14 +0000)]
fix typos

23 years ago* elf32-sh.c (sh_elf_relocate_section): Only relocation
DJ Delorie [Tue, 13 Mar 2001 04:43:40 +0000 (04:43 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Only relocation
R_SH_DIR8WP* relocs if they're against external symbols, else
they're just for relaxing.  Validate the reloc values.

23 years agoFix typos.
Alan Modra [Tue, 13 Mar 2001 04:42:16 +0000 (04:42 +0000)]
Fix typos.

23 years agoSupport for @GOTOFF in .long expressions.
Alan Modra [Tue, 13 Mar 2001 04:37:13 +0000 (04:37 +0000)]
Support for @GOTOFF in .long expressions.

23 years ago* gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
Andrew Cagney [Tue, 13 Mar 2001 00:51:40 +0000 (00:51 +0000)]
* gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(proc_update_sc): Use gdb_assert instead of assert.
(proc_abort): Ditto.
(inf_set_step_thread): Ditto.
(gnu_wait): Ditto.
(S_exception_raise_request): Ditto.
(gnu_terminal_init_inferior): Ditto.

23 years agoAdd --binary-architecture switch to objcopy to allow the output architecture
Nick Clifton [Tue, 13 Mar 2001 00:08:35 +0000 (00:08 +0000)]
Add --binary-architecture switch to objcopy to allow the output architecture
to be set when the input file type is binary.

23 years agoAlways set machine type based on cpu_variant.
Nick Clifton [Mon, 12 Mar 2001 23:37:39 +0000 (23:37 +0000)]
Always set machine type based on cpu_variant.

23 years agoHandle EM_S390_OLD.
Nick Clifton [Mon, 12 Mar 2001 23:35:23 +0000 (23:35 +0000)]
Handle EM_S390_OLD.

23 years ago2001-03-11 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 11 Mar 2001 13:10:51 +0000 (13:10 +0000)]
2001-03-11  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.

23 years agomerge from gcc
DJ Delorie [Sat, 10 Mar 2001 22:23:50 +0000 (22:23 +0000)]
merge from gcc

23 years agoCleanup solib-svr4.c by moving legacy code out to its own file.
Kevin Buettner [Sat, 10 Mar 2001 06:17:24 +0000 (06:17 +0000)]
Cleanup solib-svr4.c by moving legacy code out to its own file.

23 years agoCommitted.
Kevin Buettner [Sat, 10 Mar 2001 01:22:11 +0000 (01:22 +0000)]
Committed.