Andrew Cagney [Sat, 2 Feb 2002 04:48:32 +0000 (04:48 +0000)]
Revert sh64 changes. Accidently committed.
Andrew Cagney [Sat, 2 Feb 2002 03:42:59 +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.
Michael Snyder [Sat, 2 Feb 2002 02:49:07 +0000 (02:49 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
Andrew 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.
Alexandre Oliva [Sat, 2 Feb 2002 02:21:33 +0000 (02:21 +0000)]
* ld-sh/shared-1.d: Fix incorrect offsets.
Mo DeJong [Sat, 2 Feb 2002 01:42:53 +0000 (01:42 +0000)]
* Makefile.in: Add all-tix to deps for all-snavigator
so that tix is built when building snavigator.
Michael Snyder [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.
Andrew Cagney [Sat, 2 Feb 2002 00:56:37 +0000 (00:56 +0000)]
s/NO_FUNCTION/NULL/
Daniel Jacobowitz [Sat, 2 Feb 2002 00:04:46 +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 ***
Michael Snyder [Fri, 1 Feb 2002 23:44:39 +0000 (23:44 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (create_temp_exception_breakpoint): Delete.
Alan Modra [Fri, 1 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Michael Snyder [Fri, 1 Feb 2002 22:45:32 +0000 (22:45 +0000)]
2002-02-01 Michael Snyder <msnyder@redhat.com>
* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
Daniel Jacobowitz [Fri, 1 Feb 2002 22:05:28 +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 Delorie [Fri, 1 Feb 2002 21:20:30 +0000 (21:20 +0000)]
merge from gcc
Michael Snyder [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}.
Geoffrey Keating [Fri, 1 Feb 2002 18:00:36 +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.
Michael Snyder [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.
Michael Snyder [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.
Alan Modra [Fri, 1 Feb 2002 16:29:21 +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.
Richard Earnshaw [Fri, 1 Feb 2002 13:39:43 +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.
Philipp Thomas [Fri, 1 Feb 2002 13:26:56 +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.
Nick Clifton [Fri, 1 Feb 2002 12:27:55 +0000 (12:27 +0000)]
Synchronize dates with FSF version of the ChangeLog. Remove spurious entry.
Ben Elliston [Fri, 1 Feb 2002 12:04:27 +0000 (12:04 +0000)]
* sim-sh64.h: New file.
Ben Elliston [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.
Ben Elliston [Fri, 1 Feb 2002 11:44:32 +0000 (11:44 +0000)]
* Contribute Hitachi SH5 simulator.
Alan Modra [Fri, 1 Feb 2002 09:22:53 +0000 (09:22 +0000)]
* chew.c (WORD): Eliminate.
Alan Modra [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.
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:30:12 +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.
Alan Modra [Fri, 1 Feb 2002 08:24:16 +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.
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:24:03 +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.
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:18:56 +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.
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:16:05 +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.
Hans-Peter Nilsson [Fri, 1 Feb 2002 08:09:47 +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.
Hans-Peter Nilsson [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.
Tom Rix [Fri, 1 Feb 2002 05:47:14 +0000 (05:47 +0000)]
Support small archive for pre AIX 4.3
Alan Modra [Fri, 1 Feb 2002 03:26:35 +0000 (03:26 +0000)]
Run "make dep-am"
Michael Snyder [Fri, 1 Feb 2002 02:05:13 +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.
Michael Snyder [Fri, 1 Feb 2002 01:49:54 +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 Delorie [Fri, 1 Feb 2002 01:34:09 +0000 (01:34 +0000)]
merge from gcc
Alan Modra [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.
Michael Snyder [Fri, 1 Feb 2002 01:14:20 +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.
Michael Snyder [Fri, 1 Feb 2002 01:08:05 +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.
Alan Modra [Fri, 1 Feb 2002 01:04:37 +0000 (01:04 +0000)]
Move doc/ entries to correct changelog
Michael Snyder [Fri, 1 Feb 2002 01:01:21 +0000 (01:01 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (target_xfer_memory): Add spaces, coding standard.
Michael Snyder [Fri, 1 Feb 2002 00:49:53 +0000 (00:49 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (do_xfer_memory): Add missing line to trust-readonly
code: check bfd SEC_READONLY flag for section.
gdbadmin [Fri, 1 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 31 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Thu, 31 Jan 2002 20:45:17 +0000 (20:45 +0000)]
Fix tipo.
Jason Thorpe [Thu, 31 Jan 2002 19:21:54 +0000 (19:21 +0000)]
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.
(Nick missed this file when he committed the patch.)
DJ Delorie [Thu, 31 Jan 2002 19:01:15 +0000 (19:01 +0000)]
merge from gcc
David O'Brien [Thu, 31 Jan 2002 19:00:53 +0000 (19:00 +0000)]
2002-01-31 David O'Brien <obrien@FreeBSD>
* configure.in: Recognize the differences in core files from FreeBSD
4.{0,1} and later versions of 4.x. This treats 4.2+ the same as
5-CURRENT.
* configure: Regenerate.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3k7tyuzzd.fsf@north-pole.nickc.cambridge.redhat.com>
Nick Clifton [Thu, 31 Jan 2002 18:37:58 +0000 (18:37 +0000)]
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.
Hans-Peter Nilsson [Thu, 31 Jan 2002 17:55:16 +0000 (17:55 +0000)]
* cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
New functions.
Nick Clifton [Thu, 31 Jan 2002 17:33:08 +0000 (17:33 +0000)]
Add support for OpenRISC 32-bit embedded processor
Alan Modra [Thu, 31 Jan 2002 12:56:08 +0000 (12:56 +0000)]
* alpha.c (alpha_Instruction): Don't use.
(alpha_find_call): Avoid use of bitfields and casts between
pointers and integers of different sizes. Avoid endian problems
when cross-compiling.
* vax.c (vax_find_call): Likewise.
(struct modebyte): Don't use.
(vax_operandmode): Pass in an unsigned char *.
(vax_operandlength): Likewise.
(vax_reladdr): Rename to vax_offset and return relative offset
rather than address.
* i386.c (i386_find_call): Avoid casts between pointers and
integers of different sizes.
* sparc.c (sparc_find_call): Likewise. Avoid endian problems.
* tahoe.c (tahoe_find_call): Likewise.
(tahoe_reladdr): Rename to tahoe_offset and return relative offset
rather than address.
* basic_blocks.h: Don't include headers here.
* call_graph.h: Likewise.
* cg_arcs.h: Likewise.
* cg_print.h: Likewise.
* corefile.h: Likewise.
* gmon_io.h: Likewise.
* gmon_out.h: Likewise.
* hertz.h: Likewise.
* hist.h: Likewise.
* source.h: Likewise.
* sym_ids.h: Likewise.
* symtab.h: Likewise.
* gprof.h: Don't include ansidecl.h, do include bfd.h.
(bool): Don't typedef.
* alpha.c: Adjust #include's for above header changes.
* basic_blocks.c: Likewise.
* call_graph.c: Likewise.
* cg_arcs.c: Likewise.
* cg_dfn.c: Likewise.
* cg_print.c: Likewise.
* corefile.c: Likewise.
* gmon_io.c: Likewise.
* gprof.c: Likewise.
* hertz.c: Likewise.
* hist.c: Likewise.
* i386.c: Likewise.
* mips.c: Likewise.
* sparc.c: Likewise.
* sym_ids.c: Likewise.
* symtab.c: Likewise.
* tahoe.c: Likewise.
* utils.c: Likewise.
* vax.c: Likewise.
* po/POTFILES.in: Regenerate.
Nick Clifton [Thu, 31 Jan 2002 11:17:22 +0000 (11:17 +0000)]
Replace 'return false' with a return of a bfd_reloc_ error code.
Hans-Peter Nilsson [Thu, 31 Jan 2002 10:46:24 +0000 (10:46 +0000)]
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
unexport unreferenced symbols when --export-dynamic. Call
_bfd_elf_strtab_delref when unexporting.
Hans-Peter Nilsson [Thu, 31 Jan 2002 10:42:18 +0000 (10:42 +0000)]
* ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests.
* ld-cris/cris.exp: Split run_dump_tests in two parts, executing
tests named *dso-*.d first and copying their tmpdir/dump to files
named as the .d-file.
Nick Clifton [Thu, 31 Jan 2002 09:24:16 +0000 (09:24 +0000)]
oops - omitted from previous delta
Alan Modra [Thu, 31 Jan 2002 06:23:17 +0000 (06:23 +0000)]
* chew.c (courierize): Don't modify @command params.
Daniel Jacobowitz [Thu, 31 Jan 2002 05:08:41 +0000 (05:08 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
Allow a start function above main.
* gdb.threads/linux-dp.exp: Fix copyright date.
Daniel Jacobowitz [Thu, 31 Jan 2002 05:05:29 +0000 (05:05 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
(check_philosopher_stack): Check for manager thread before checking
for a just-starting thread.
Daniel Jacobowitz [Thu, 31 Jan 2002 05:03:31 +0000 (05:03 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
data symbols, since we search based on textlow and texthigh.
(find_pc_sect_symtab): Likewise.
Daniel Jacobowitz [Thu, 31 Jan 2002 04:42:30 +0000 (04:42 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* bfd-in.h: Include <stdbool.h> if it is available.
* bfd-in2.h: Regenerated.
Alan Modra [Thu, 31 Jan 2002 04:13:14 +0000 (04:13 +0000)]
* elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should
not go via the plt.
Andrew Cagney [Thu, 31 Jan 2002 04:10:51 +0000 (04:10 +0000)]
* defs.h (vwarning): Declare.
(warning_begin): Delete declaration.
* utils.c (vwarning): New function.
(warning): Call vwarning.
(warning_begin): Delete function.
* rs6000-nat.c (vmap_ldinfo): Use the function warning to print
the warning message.
* d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
warning_begin.
Alan Modra [Thu, 31 Jan 2002 03:57:52 +0000 (03:57 +0000)]
* ld-scripts/crossref.exp: Allow foo to have a leading dot.
* ld-scripts/cross1.t: Add .opd.
* ld-undefined/undefined.exp: Allow leading dot on sym names.
* lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
Michael Snyder [Thu, 31 Jan 2002 03:57:42 +0000 (03:57 +0000)]
2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention "set trust-readonly-sections" command.
Michael Snyder [Thu, 31 Jan 2002 02:33:20 +0000 (02:33 +0000)]
2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention generate-core-file command.
Michael Snyder [Thu, 31 Jan 2002 02:31:06 +0000 (02:31 +0000)]
2002-01-15 Michael Snyder <msnyder@redhat.com>
* target.c: New command, "set trust-readonly-sections on".
(do_xfer_memory): Honor the suggestion to trust readonly sections
by reading them from the object file instead of from the target.
(initialize_targets): Register command "set trust-readonly-sections".
DJ Delorie [Thu, 31 Jan 2002 02:21:27 +0000 (02:21 +0000)]
merge from gcc
Andrew Cagney [Thu, 31 Jan 2002 02:13:56 +0000 (02:13 +0000)]
* parse.c (target_map_name_to_register): Simplify, search regs and
pseudo-regs using a single loop.
Andrew Cagney [Thu, 31 Jan 2002 01:31:54 +0000 (01:31 +0000)]
Mention i386 FP problem.
gdbadmin [Thu, 31 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 30 Jan 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 30 Jan 2002 22:38:56 +0000 (22:38 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
From Neil Booth <neil@daikokuya.demon.co.uk>:
* gdb.base/bitfields.c: Correct assignments to bitfields to avoid
warnings.
Mark Kettenis [Wed, 30 Jan 2002 22:32:38 +0000 (22:32 +0000)]
* config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
* config/i386/i386v42mp.mh: Add i387-nat.o .
* i386v4-nat.c: Include i387-nat.h.
(supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.
Richard Sandiford [Wed, 30 Jan 2002 18:25:30 +0000 (18:25 +0000)]
* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
and mod.
Nick Clifton [Wed, 30 Jan 2002 18:12:17 +0000 (18:12 +0000)]
Tidy up formatting in bfd-in2.h
Richard Earnshaw [Wed, 30 Jan 2002 16:35:51 +0000 (16:35 +0000)]
* arm-tdep.c (arm_call_dummy_words): Define.
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
* config/arm/tm-arm.h (CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(arm_call_dummy_words): Declare.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
(arm_linux_call_dummy_words): Declare.
Nick Clifton [Wed, 30 Jan 2002 16:07:28 +0000 (16:07 +0000)]
Fixes for better translation into other languages
Philipp Thomas [Wed, 30 Jan 2002 14:51:39 +0000 (14:51 +0000)]
Unify messages in coff-arm.c and elf32-arm.h.
Andreas Schwab [Wed, 30 Jan 2002 13:57:33 +0000 (13:57 +0000)]
* m68klinux-nat.c: Fix last change to use regcache_collect
instead of referencing registers[] directly.
Nick Clifton [Wed, 30 Jan 2002 10:49:04 +0000 (10:49 +0000)]
Updated Swedish translation
Nick Clifton [Wed, 30 Jan 2002 10:31:28 +0000 (10:31 +0000)]
Don't translate debugging message.
Nick Clifton [Wed, 30 Jan 2002 10:28:47 +0000 (10:28 +0000)]
Use full section name in error messages.
Daniel Jacobowitz [Wed, 30 Jan 2002 05:00:07 +0000 (05:00 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* nm.c (print_value): Mark abfd unused.
Alan Modra [Wed, 30 Jan 2002 03:47:37 +0000 (03:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Only provide missing function
descriptor symbols for undefined function code syms. Clear
ELF_LINK_NON_ELF so that they can stay weak.
Chris Demetriou [Wed, 30 Jan 2002 02:22:14 +0000 (02:22 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
Mitch Lichtenberg <mpl@broadcom.com>
* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
* emultempl/mipself.em: New file to handle MIPS ELF embedded
reloc creation (ld --embedded-relocs).
Chris Demetriou [Wed, 30 Jan 2002 02:20:13 +0000 (02:20 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
* ld-mips-elf/emrelocs-el.d: Likewise.
* ld-mips-elf/emrelocs1.s: Likewise.
* ld-mips-elf/emrelocs2.s: Likewise.
* ld-mips-elf/emrelocs.ld: Likewise.
* ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
Chris Demetriou [Wed, 30 Jan 2002 02:19:21 +0000 (02:19 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
Mitch Lichtenberg <mpl@broadcom.com>
* bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function
to handle 32-bit ELF embedded reloc (ld --embedded-relocs)
generation.
* bfd-in2.h: Regenerate.
Chris Demetriou [Wed, 30 Jan 2002 02:14:19 +0000 (02:14 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (tc_gen_reloc): Arrange for
BFD_RELOC_PCREL_HI16_S relocations to be output relative to
their LO16 parts, even for ELF.
Chris Demetriou [Wed, 30 Jan 2002 02:13:20 +0000 (02:13 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* elf32-mips.c: Add additional comments about HI16 relocation
processing.
(_bfd_mips_elf_hi16_reloc): Don't subtract address here for
pc-relative relocations. (Reverts change made on 2001-10-31.)
(_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
for pc-relative relocations.
(mips_elf_calculate_relocation): Add a comment about a kludge
in the R_MIPS_GNU_REL_HI16 handling.
(_bfd_mips_elf_relocate_section): Implement that kludge;
adjust pc-relative HI16 relocation for difference in HI16 and
LO16 addresses, since it can't easily be done in
mips_elf_calculate_relocation.
Andrew Cagney [Wed, 30 Jan 2002 00:18:17 +0000 (00:18 +0000)]
Delete REGISTER_NAME_ALIAS_HOOK.
gdbadmin [Wed, 30 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 29 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 29 Jan 2002 21:37:15 +0000 (21:37 +0000)]
Zap >>>>
Michael Snyder [Tue, 29 Jan 2002 20:24:27 +0000 (20:24 +0000)]
2002-01-28 Michael Snyder <msnyder@redhat.com>
* regcache.c (legacy_read_register_gen): Need to be able to
read pseudo-register as well as real register.
(legacy_write_register_gen): Ditto.
Daniel Jacobowitz [Tue, 29 Jan 2002 17:07:57 +0000 (17:07 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* config/tc-i386.c: Protect definitions of true and false
from redefinition.