OSDN Git Service
hp [Tue, 5 Feb 2002 06:52:15 +0000 (06:52 +0000)]
* ldlang.c (lang_reset_memory_regions): Rename from
reset_memory_regions. Change all callers. Make public.
* ldlang.h (lang_reset_memory_regions): Prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
lang_reset_memory_regions before lang_size_sections.
hp [Tue, 5 Feb 2002 06:45:13 +0000 (06:45 +0000)]
* ld-selective/keepdot.d, ld-selective/keepdot.ld,
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
* ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
bje [Tue, 5 Feb 2002 04:40:52 +0000 (04:40 +0000)]
* config.guess: Import from master sources, rev 1.229.
* config.sub: Import from master sources, rev 1.240.
cagney [Tue, 5 Feb 2002 04:37:21 +0000 (04:37 +0000)]
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
(do_sfunc, set_cmd_sfunc): New functions.
* command.h (struct cmd_list_element): Add field func.
* cli/cli-decode.h (struct cmd_list_element): Ditto.
* command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
(help_all, help_cmd_list): Ditto.
(find_cmd, complete_on_cmdlist): Ditto.
* top.c (execute_command): Ditto.
* cli/cli-setshow.c (do_setshow_command): Call func instead of
function.sfunc.
* infcmd.c (notice_args_read): Fix function signature.
* cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
* cli/cli-decode.c (add_set_cmd): Ditto.
* utils.c (initialize_utils): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* infrun.c (_initialize_infrun): Ditto.
* demangle.c (_initialize_demangler): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* cris-tdep.c (_initialize_cris_tdep): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* kod.c (_initialize_kod): Ditto.
* valprint.c (_initialize_valprint): Ditto.
* top.c (init_main): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* arch-utils.c (initialize_current_architecture): Ditto.
(_initialize_gdbarch_utils): Ditto.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
* wince.c (_initialize_inftarg): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* language.c (_initialize_language): Ditto.
* arc-tdep.c (_initialize_arc_tdep): Ditto.
msnyder [Tue, 5 Feb 2002 03:44:22 +0000 (03:44 +0000)]
2002-02-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
other than d10v and m32r.
amodra [Tue, 5 Feb 2002 03:35:13 +0000 (03:35 +0000)]
* archures (bfd_mach_ppc64): Define.
(bfd_powerpc_arch): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Move to tail of bfd_powerpc_archs.
(bfd_powerpc_archs): Add default powerpc64 arch.
* gas/ppc/test1elf64.d: Tweak arch name.
msnyder [Tue, 5 Feb 2002 01:15:51 +0000 (01:15 +0000)]
2002-01-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Remove extra debugging output.
jjohnstn [Tue, 5 Feb 2002 00:29:31 +0000 (00:29 +0000)]
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Remove advertising clause from
Berkeley and Red Hat licenses.
amodra [Tue, 5 Feb 2002 00:00:23 +0000 (00:00 +0000)]
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs
against section syms in readonly sections. Don't do the global
sym check if we find one.
* elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
* elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
(elf_s390_grok_prstatus): Add missing prototype.
gdbadmin [Tue, 5 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
irox [Mon, 4 Feb 2002 23:40:00 +0000 (23:40 +0000)]
* src/tkCanvEdge.c (CreateEdge, EdgeCoords, ConfigureEdge):
Objectify functions to use Tcl_Obj instead of char**.
* src/tkGraphCanvas.c: Cut and paste parts of the new
Tcl8.3 tagsearch code in to replace old. Rewrite much
of the code to use the new tagsearch features.
msnyder [Mon, 4 Feb 2002 23:19:30 +0000 (23:19 +0000)]
2002-02-04 Michael Snyder <msnyder@redhat.com>
* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
amodra [Mon, 4 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update
drow [Mon, 4 Feb 2002 22:49:17 +0000 (22:49 +0000)]
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
Add rules for building the register data files.
drow [Mon, 4 Feb 2002 22:45:46 +0000 (22:45 +0000)]
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdat.sh: Add braces to the definition of
expedite_regs_${arch}.
drow [Mon, 4 Feb 2002 22:41:36 +0000 (22:41 +0000)]
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdef.h (struct reg): Add comment describing the
requirements for offset and size fields.
schwab [Mon, 4 Feb 2002 19:11:14 +0000 (19:11 +0000)]
* config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
* config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
gdbadmin [Mon, 4 Feb 2002 19:10:41 +0000 (19:10 +0000)]
*** empty log message ***
jjohnstn [Mon, 4 Feb 2002 18:38:43 +0000 (18:38 +0000)]
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add
_REENT_CHECK_EMERGENCY macro.
rearnsha [Mon, 4 Feb 2002 18:02:23 +0000 (18:02 +0000)]
* gdb.base/default.exp: Rewrite test patterns to reduce time
taken to match them.
nickc [Mon, 4 Feb 2002 16:27:22 +0000 (16:27 +0000)]
If a v5 architecture is detected, assume it might be an XScale binary, since
there is no way to distinguish between the two in the COFF file format.
aoliva [Mon, 4 Feb 2002 12:32:46 +0000 (12:32 +0000)]
Ok, now the corrected ChangeLog entry
aoliva [Mon, 4 Feb 2002 12:29:31 +0000 (12:29 +0000)]
* gas/testsuite/gas/sh/pcrel.d: New test.
* gas/testsuite/gas/sh/pcrel.s: Sources for new test.
* gas/testsuite/gas/sh/basic.exp: Run it.
aoliva [Mon, 4 Feb 2002 12:29:13 +0000 (12:29 +0000)]
* config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
A_DISP_PC only if it's an integral constant, and to
A_DISP_PC_ABS otherwise.
(get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
expected.
(build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
the operand type is not A_DISP_PC_ABS.
aoliva [Mon, 4 Feb 2002 12:29:01 +0000 (12:29 +0000)]
* sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.
rearnsha [Mon, 4 Feb 2002 11:55:33 +0000 (11:55 +0000)]
* gdbarch.sh (copyright): Update years in generated header.
(SMASH_TEXT_ADDRESS): Add rule.
*gdbarch.h, gdbarch.c: Re-generate.
* coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
* dbxread.c: Likewise.
* dwarfread.c: Likewise.
* elfread.c: Likewise.
* somread.c: Likewise.
* arm-tdep.c (arm_smash_text_address): New function.
* config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
muller [Mon, 4 Feb 2002 11:00:02 +0000 (11:00 +0000)]
2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
Add support for hardware watchpoints on win32 native.
* win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
CONTEXT_DEBUG_REGISTERS.
(dr variable): New variable. Static array containing a local copy
of debug registers.
(debug_registers_changed): New variable. Reflects when debug registers
are changed and need to be written to inferior.
(debug_registers_used): New variable. Reflects when any debug register
was set, used when new threads are created.
(cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
i386-nat code.
(thread_rec): Set dr array if id is the thread of current_event .
(child_continue, child_resume): Change the debug registers for all
threads if debug_registers_changed.
(child_add_thread): Change the debug registers if debug_registers_used.
* config/i386/cygwin.mh: Add use of i386-nat.o file.
Link nm.h to new nm-cygwin.h file.
+ config/i386/nm-cygwin.h: New file. Contains the macros used for use
of hardware registers.
hp [Mon, 4 Feb 2002 04:45:08 +0000 (04:45 +0000)]
* elf64-mmix.c (mmix_dump_bpo_gregs): New function.
(mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>:
Call bfd_get_section_by_name only once. Initialize
bpodata->n_bpo_relocs_this_section.
(_bfd_mmix_prepare_linker_allocated_gregs): Remove comment
referring to DSOs.
(bpo_reloc_request_sort_fn): Don't use difference of values as
return-value.
hp [Mon, 4 Feb 2002 04:42:28 +0000 (04:42 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
arithmetic when checking for too many global registers.
hp [Mon, 4 Feb 2002 04:38:53 +0000 (04:38 +0000)]
* ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
for on-demand global register allocation.
hp [Mon, 4 Feb 2002 04:03:13 +0000 (04:03 +0000)]
* config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
common and weak symbols. Handle common and weak symbols as
undefined symbols with regards to GREG handling and merging.
(mmix_frob_file): Ditto.
hp [Mon, 4 Feb 2002 04:01:31 +0000 (04:01 +0000)]
* gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d,
gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d,
gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New
tests for base-plus-offset relocations and global register
allocations for weak and common symbols.
cagney [Mon, 4 Feb 2002 02:22:40 +0000 (02:22 +0000)]
* valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
Restore behavour broken by 2002-01-20 Andrew Cagney
<
ac131313@redhat.com> IEEE_FLOAT removal.
drow [Mon, 4 Feb 2002 02:14:45 +0000 (02:14 +0000)]
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* c-valprint.c (c_val_print): Pass a proper valaddr to
cp_print_class_method.
* valops.c (search_struct_method): If there is only one method
and args is NULL, return that method.
drow [Sun, 3 Feb 2002 23:18:10 +0000 (23:18 +0000)]
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
accessing tag_name directly.
drow [Sun, 3 Feb 2002 23:11:33 +0000 (23:11 +0000)]
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
of accessing tag_name directly.
bje [Sun, 3 Feb 2002 23:07:55 +0000 (23:07 +0000)]
* tweaks
bje [Sun, 3 Feb 2002 23:04:19 +0000 (23:04 +0000)]
* tweaks
amodra [Sun, 3 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
drow [Sun, 3 Feb 2002 22:57:56 +0000 (22:57 +0000)]
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
PR gdb/280
* gdbtypes.c (replace_type): New function.
* gdbtypes.h (replace_type): Add prototype.
* stabsread.c (read_type): Use replace_type.
rearnsha [Sun, 3 Feb 2002 16:20:20 +0000 (16:20 +0000)]
* Makefile.in (memattr.o): Add missing dependencies rule.
dj [Sun, 3 Feb 2002 13:16:18 +0000 (13:16 +0000)]
Remove redundant entry.
dj [Sun, 3 Feb 2002 13:12:31 +0000 (13:12 +0000)]
merge from gcc
mrg [Sun, 3 Feb 2002 12:53:03 +0000 (12:53 +0000)]
* libc/reent/signgam.c (__signgam): Fix error in previous.
eliz [Sun, 3 Feb 2002 12:06:05 +0000 (12:06 +0000)]
* gdb.texinfo (Memory Region Attributes): Fix the wording.
Suggested by Dmitry Sivachenko.
* (<many nodes>): Fix the spelling and punctuation of "i.e.".
schauer [Sun, 3 Feb 2002 11:43:14 +0000 (11:43 +0000)]
* breakpoint.c (break_at_finish_command): Really export.
(break_at_finish_at_depth_command): Ditto.
(tbreak_at_finish_command): Ditto.
* hppa-tdep.c: Include completer.h.
* Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
(COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
mrg [Sun, 3 Feb 2002 09:24:04 +0000 (09:24 +0000)]
* implement a new `struct _reent' that is significantly smaller. use this
if _REENT_SMALL is defined in config.h. define this for xstormy16.
gdbadmin [Sun, 3 Feb 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 2 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update
obrien [Sat, 2 Feb 2002 20:43:38 +0000 (20:43 +0000)]
2002-02-02 David O'Brien <obrien@FreeBSD>
* configure.in: Tweak the FreeBSD 4.x recognition more. Only treat
version 4.5 and later the same as 5-CURRENT.
* configure: Re-generate.
thorpej [Sat, 2 Feb 2002 18:36:00 +0000 (18:36 +0000)]
bfd:
* config.bfd (hppa*-*-netbsd*): New target.
gas:
* configure.in (hppa-*-netbsd*): New target.
* configure: Regenerate.
* config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
ld:
* Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
(ehppanbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (hppa*-*-netbsd*): New target.
* emulparams/hppalinux.sh: Add comment to check other files
that source this file it is modified, and list which
files that do.
* emulparams/hppanbsd.sh: New file.
cagney [Sat, 2 Feb 2002 15:39:33 +0000 (15:39 +0000)]
* utils.c (do_write): New function.
(error_stream): Rewrite combining the code from error_begin and
verror.
(verror): Rewrite using error_stream.
(error_begin): Delete function.
cagney [Sat, 2 Feb 2002 04:48:23 +0000 (04:48 +0000)]
Revert sh64 changes. Accidently committed.
cagney [Sat, 2 Feb 2002 03:42:56 +0000 (03:42 +0000)]
* utils.c (error_begin): Make static.
* defs.h (error_begin): Delete declaration.
* linespec.c (cplusplus_error): Replace cplusplus_hint.
(decode_line_1): Use cplusplus_error instead of error_begin,
cplusplus_hint and return_to_top_level.
* coffread.c (coff_symfile_read): Use error instead of error_begin
and return_to_top_level.
* infrun.c (default_skip_permanent_breakpoint): Ditto.
msnyder [Sat, 2 Feb 2002 02:49:06 +0000 (02:49 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
cagney [Sat, 2 Feb 2002 02:28:40 +0000 (02:28 +0000)]
* language.h (type_error, range_error): Make string parameter
constant.
* language.c (warning_pre_print): Delete extern declaration.
* dwarfread.c (warning_pre_print): Ditto.
* language.c (type_error, range_error): Rewrite to use verror and
vwarning instead of warning_begin.
aoliva [Sat, 2 Feb 2002 02:21:31 +0000 (02:21 +0000)]
* ld-sh/shared-1.d: Fix incorrect offsets.
mdejong [Sat, 2 Feb 2002 01:42:52 +0000 (01:42 +0000)]
* Makefile.in: Add all-tix to deps for all-snavigator
so that tix is built when building snavigator.
msnyder [Sat, 2 Feb 2002 01:25:28 +0000 (01:25 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (set_ignore_count): Move misplaced comment
back where it belongs.
cagney [Sat, 2 Feb 2002 00:56:34 +0000 (00:56 +0000)]
s/NO_FUNCTION/NULL/
drow [Sat, 2 Feb 2002 00:04:45 +0000 (00:04 +0000)]
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
Update ``this'' pointer when calling virtual functions.
gdbadmin [Sat, 2 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Fri, 1 Feb 2002 23:44:38 +0000 (23:44 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (create_temp_exception_breakpoint): Delete.
amodra [Fri, 1 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update
msnyder [Fri, 1 Feb 2002 22:45:30 +0000 (22:45 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
drow [Fri, 1 Feb 2002 22:05:27 +0000 (22:05 +0000)]
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
* regformats/reg-arm.dat: New file.
* regformats/reg-i386.dat: New file.
* regformats/reg-ia64.dat: New file.
* regformats/reg-m68k.dat: New file.
* regformats/reg-mips.dat: New file.
* regformats/reg-ppc.dat: New file.
* regformats/reg-sh.dat: New file.
* regformats/regdef.h: New file.
* regformats/regdat.sh: New file.
dj [Fri, 1 Feb 2002 21:20:30 +0000 (21:20 +0000)]
merge from gcc
msnyder [Fri, 1 Feb 2002 18:41:51 +0000 (18:41 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}.
geoffk [Fri, 1 Feb 2002 18:00:34 +0000 (18:00 +0000)]
In ld/ChangeLog:
* scripttempl/xstormy16.sc: Don't allocate extra space for the
stack.
In libgloss/ChangeLog:
* xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add
sim_malloc_start.o.
* xstormy16/eva_app.ld: Add __malloc_start.
* xstormy16/sbrk.c: Remove.
* xstormy16/sim_malloc_start.s: New file.
* xstormy16/sim_high.ld: Make the stack start immediately at the
end of the program.
In newlib/ChangeLog:
* configure.host (xstormy16): Don't use the generic malloc.
* libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
* libc/machine/xstormy16/Makefile.in: Regenerate.
* libc/machine/xstormy16/mallocr.c: New file.
* libc/machine/xstormy16/tiny-malloc.c: New file.
msnyder [Fri, 1 Feb 2002 17:29:55 +0000 (17:29 +0000)]
2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: (remote protocol): Gramatical fix-up.
meissner [Fri, 1 Feb 2002 17:22:59 +0000 (17:22 +0000)]
Allow mips user to override memory size
msnyder [Fri, 1 Feb 2002 17:21:28 +0000 (17:21 +0000)]
2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly-sections): Document.
amodra [Fri, 1 Feb 2002 16:29:18 +0000 (16:29 +0000)]
* config/tc-v850.c: Add missing prototypes amd use old-style
function definitions.
(AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
(sdata_section tdata_section, zdata_section, sbss_section,
tbss_section, zbss_section, rosdata_section, rozdata_section,
scommon_section, tcommon_section, zcommon_section,
call_table_data_section, call_table_text_section): Delete.
(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
v850_call_table_data, v850_call_table_text): Delete.
(struct v850_seg_entry): New.
(v850_seg_table): New.
(SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
(do_v850_seg): New.
(v850_seg): New.
(v850_comm): Use do_v850_seg and v850_seg_table. Simplify
recording of alignment.
(md_pseudo_table): Use v850_seg.
(md_begin): Don't init .call_table_data and .call_table_text here.
Set v850_seg_table bss entry.
* config/tc-v850.h (v850_pcrel_from_section): Prototype.
* gas/elf/elf.exp: Don't special case v850.
rearnsha [Fri, 1 Feb 2002 13:39:38 +0000 (13:39 +0000)]
* arm-tdep.c (arm_frameless_function_invocation): Add some comments.
(arm_frame_args_address, arm_frame_locals_address): New functions.
(arm_frame_num_args): New function.
* config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
(FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
(FRMA_NUM_ARGS): Call arm_frame_num_args.
pthomas [Fri, 1 Feb 2002 13:26:55 +0000 (13:26 +0000)]
2002-01-31 Philipp Thomas <pthomas@suse.de>
* coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR
to front of message. Unify messages with elf32-arm.h. Use
commas where neccessary.
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase
ERROR in messages. Unify messages with coff-arm.c. Correct
VFP/FPA error message.
(elf32_arm_print_private_bfd_data): Don't mark APCS-26 and
APCS-32 for translation.
nickc [Fri, 1 Feb 2002 12:27:55 +0000 (12:27 +0000)]
Synchronize dates with FSF version of the ChangeLog. Remove spurious entry.
bje [Fri, 1 Feb 2002 12:13:51 +0000 (12:13 +0000)]
* Contribute sh5 pieces.
bje [Fri, 1 Feb 2002 12:04:27 +0000 (12:04 +0000)]
* sim-sh64.h: New file.
bje [Fri, 1 Feb 2002 11:49:27 +0000 (11:49 +0000)]
* config.guess: Import from master sources, rev 1.229.
* config.sub: Import from master sources, rev 1.240.
bje [Fri, 1 Feb 2002 11:44:25 +0000 (11:44 +0000)]
* Contribute Hitachi SH5 simulator.
bje [Fri, 1 Feb 2002 11:32:00 +0000 (11:32 +0000)]
* Contribute Hitachi SH5 port.
amodra [Fri, 1 Feb 2002 09:22:53 +0000 (09:22 +0000)]
* chew.c (WORD): Eliminate.
amodra [Fri, 1 Feb 2002 08:41:57 +0000 (08:41 +0000)]
* configure.in (build_warnings): Add -Wstrict-prototypes
-Wmissing-prototypes.
* aclocal.m4: Regenerate.
* gconfig.in: Regenerate.
* configure: Regenerate.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
hp [Fri, 1 Feb 2002 08:30:10 +0000 (08:30 +0000)]
* ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,
ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d,
ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d,
ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s,
ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s,
ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d,
ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d,
ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d,
ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d,
ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s,
ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d,
ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
amodra [Fri, 1 Feb 2002 08:24:15 +0000 (08:24 +0000)]
* alpha.c (alpha_find_call): Warning fixes.
* mips.c (mips_find_call): Likewise.
* sparc.c (sparc_find_call): Likewise.
* basic_blocks.c: Warning fixes. Eliminate DEFUN.
* call_graph.c: Likewise.
* cg_arcs.c: Likewise.
* cg_dfn.cp: Likewise.
* gprof.c: Likewise.
* gprof.h: Likewise.
* hist.c: Likewise.
* search_list.c: Likewise.
* source.c: Likewise.
* source.h: Likewise.
* sym_ids.c: Likewise.
* symtab.c: Likewise.
* symtab.h: Likewise.
* utils.c: Likewise.
* cg_print.c: Likewise.
(struct function_map, symbol_map, symbol_map_count): Move
declaration to..
* corefile: ..here.
* corefile.c: Warning fixes. Eliminate DEFUN.
(struct function_map): Remove declaration.
* gmon_io.c: Warning fixes. Eliminate DEFUN.
(gmon_io_read_64): Make static.
(gmon_io_write_64): Likewise.
(gmon_read_raw_arc): Likewise.
(gmon_write_raw_arc): Likewise.
(gmon_io_write_8): Don't pass char, pass int param.
* gmon_io.h (gmon_io_write_8): Likewise.
and a few copyright dates that should have been done previously.
hp [Fri, 1 Feb 2002 08:24:01 +0000 (08:24 +0000)]
Support on-demand global register allocation from
R_MMIX_BASE_PLUS_OFFSET relocs.
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
mmix_set_reg_section_vma. Call
_bfd_mmix_finalize_linker_allocated_gregs.
(mmix_before_allocation): New function.
(LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
(LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
* scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
(.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
before .MMIX.reg_contents.
* emultempl/mmo.em (gldmmo_before_allocation): Define to default.
(mmo_after_open): New function.
(LDEMUL_AFTER_OPEN): Define to mmo_after_open.
* emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
.MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
hp [Fri, 1 Feb 2002 08:18:54 +0000 (08:18 +0000)]
Perform on-demand global register allocation from
R_MMIX_BASE_PLUS_OFFSET relocs.
* elf64-mmix.c (struct bpo_reloc_section_info, struct
bpo_reloc_request, struct bpo_greg_section_info): New.
(mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook,
bpo_reloc_request_sort_fn, mmix_elf_relax_section,
_bfd_mmix_check_all_relocs,
_bfd_mmix_prepare_linker_allocated_gregs,
_bfd_mmix_finalize_linker_allocated_gregs): New functions.
(elf_mmix_howto_table): Correct src_mask for most relocs.
(mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New
case.
(mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New
case. Fix typo in comment. New label do_mmix_reloc.
(mmix_elf_check_relocs): Abuse bfd_link_info member base_file to
store first object file with a base-plus-offset reloc. Call
mmix_elf_check_common_relocs for the part common with mmo.
(mmix_elf_final_link): Write out linker-allocated register
contents section.
(elf_backend_gc_sweep_hook): Define.
(bfd_elf64_bfd_relax_section): Define.
* mmo.c: Don't include <ctype.h>
(mmo_init): Correct init-once logic.
hp [Fri, 1 Feb 2002 08:16:02 +0000 (08:16 +0000)]
* gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d,
gas/mmix/err-bpo2.s, gas/mmix/basep-3b.d, gas/mmix/err-bpo3.s,
gas/mmix/basep-4.d, gas/mmix/err-bpo4.s, gas/mmix/err-bpo5.s,
gas/mmix/basep-5.d, gas/mmix/basep-6.d: New tests.
hp [Fri, 1 Feb 2002 08:09:42 +0000 (08:09 +0000)]
Support on-demand global register allocation by passing on
base-plus-offset relocs to the linker.
* config/tc-mmix.c: Tweak and fix typos in comments.
(allocate_undefined_gregs_in_linker): New variable.
(OPTION_LINKER_ALLOCATED_GREGS): New option macro.
(md_longopts): Add --linker-allocated-gregs.
(md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
<case OPTION_LINKER_ALLOCATED_GREGS>: New.
(md_show_usage): Update text for -x. Add text for
--linker-allocated-gregs.
(tc_gen_reloc): Derive default value for addend from val and
baddsy. Use addsec and bfd_is_abs_section in more places. Don't
emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
GREG if allocate_undefined_gregs_in_linker.
* doc/as.texinfo (Overview) <Target MMIX options>: Add
--linker-allocated-gregs.
* doc/c-mmix.texi (MMIX-Opts): Add blurb about
--linker-allocated-gregs. Mention that it's implied by -x.
(MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
(MMIX-mmixal): Clarify dated comparison and location of MMIXware.
* config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
hp [Fri, 1 Feb 2002 08:05:13 +0000 (08:05 +0000)]
* mmix.h: Tweak comments.
(MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New.
[BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs,
_bfd_mmix_finalize_linker_allocated_gregs,
_bfd_mmix_check_all_relocs): Provide prototypes.
trix [Fri, 1 Feb 2002 05:47:09 +0000 (05:47 +0000)]
Support small archive for pre AIX 4.3
amodra [Fri, 1 Feb 2002 03:26:27 +0000 (03:26 +0000)]
Run "make dep-am"
msnyder [Fri, 1 Feb 2002 02:05:11 +0000 (02:05 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (break_at_finish_command): Export.
(break_at_finish_at_depth_command): Export.
(tbreak_at_finish_command): Export.
(_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
* hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
"tbreak" commands, which are HPPA specific.
msnyder [Fri, 1 Feb 2002 01:49:52 +0000 (01:49 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* printcmd.c (disassemble_command): Remove an ancient
artifact of an old merge.
dj [Fri, 1 Feb 2002 01:34:09 +0000 (01:34 +0000)]
merge from gcc
bje [Fri, 1 Feb 2002 01:19:43 +0000 (01:19 +0000)]
2002-01-31 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDSIQI): New.
(SUBWORDSIHI): Ditto.
(SUBWORDSFSI): Ditto.
(SUBWORDSISF): Ditto.
(SUBWORDDIDF): Ditto.
(SUBWORDDFSI): Ditto.
(SUBWORDSIUQI): Ditto.
amodra [Fri, 1 Feb 2002 01:18:06 +0000 (01:18 +0000)]
* basic_blocks.c: Replace bool with boolean, TRUE with true and
FALSE with false throughout.
* basic_blocks.h: Likewise.
* cg_arcs.c: Likewise.
* cg_dfn.c: Likewise.
* cg_print.c: Likewise.
* corefile.c: Likewise.
* gmon_io.c: Likewise.
* gprof.c: Likewise.
* hist.c: Likewise.
* mips.c: Likewise.
* source.c: Likewise.
* source.h: Likewise.
* sym_ids.c: Likewise.
* sym_ids.h: Likewise.
* symtab.h: Likewise.
* tahoe.c: Likewise.
* vax.c: Likewise.
* gprof.h: Likewise.
(TRUE): Don't define.
(FALSE): Don't define.
msnyder [Fri, 1 Feb 2002 01:14:19 +0000 (01:14 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* symfile.h (enum overlay_debugging_state):
Define enum constant values for overlay mode.
* symfile.c (overlay_debugging): Use enums instead of literals.
(overlay_is_mapped, overlay_auto_command,
overlay_manual_command): Ditto.
msnyder [Fri, 1 Feb 2002 01:08:04 +0000 (01:08 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (insert_breakpoints, remove_breakpoint,
breakpoint_here_p, breakpoint_inserted_here_p,
breakpoint_thread_match, bpstat_stop_status,
describe_other_breakpoints, check_duplicates, clear_command):
Coding standard fixes.
amodra [Fri, 1 Feb 2002 01:04:36 +0000 (01:04 +0000)]
Move doc/ entries to correct changelog