Greg McGary [Wed, 13 Feb 2002 19:22:23 +0000 (19:22 +0000)]
* MAINTAINERS: Add myself to "Write After Approval" list.
Andrew Cagney [Wed, 13 Feb 2002 19:00:47 +0000 (19:00 +0000)]
From 2002-01-18 Greg McGary <greg@mcgary.org>:
* (create_mem_region): Disallow useless empty region. Regions are
half-open intervals, so allow [A..B) [B..C) as non-overlapping.
Michael Chastain [Wed, 13 Feb 2002 18:49:30 +0000 (18:49 +0000)]
2002-02-13 Michael Chastain <mec@shout.net>
* defs.h: Kill CONST_PTR.
* c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
* c-lang.c (c_builtin_types): Likewise.
* ch-lang.c (ch_builtin_types): Likewise.
* f-lang.c (f_builtin_types): Likewise.
* language.c (unknown_builtin_types): Likewise.
* m2-lang.c (m2_builtin_types): Likewise.
* p-lang.c (pascal_builtin_types): Likewise.
* scm-lang.c (c_builtin_types): Likewise.
Jason Thorpe [Wed, 13 Feb 2002 18:14:48 +0000 (18:14 +0000)]
bfd:
2002-02-13 Matt Fredette <fredette@netbsd.org>
* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize
EF_M68000.
bintuls:
2002-02-13 Matt Fredette <fredette@netbsd.org>
* readelf.c (get_machine_flags): Recognize EF_M68000.
gas:
2002-02-13 Matt Fredette <fredette@netbsd.org>
* config/tc-m68k.c (md_show_usage): No longer display a
hard-coded "68020" for the default CPU, instead display the
canonical name of the true, configured default CPU.
(m68k_elf_final_processing): Mark objects for sub-68020
CPUs with the new EF_M68000 flag.
include/elf:
2002-02-13 Matt Fredette <fredette@netbsd.org>
* m68k.h (EF_M68000): Define.
Richard Earnshaw [Wed, 13 Feb 2002 17:40:42 +0000 (17:40 +0000)]
* gdb.base/watchpoint.exp: Restore previous timeout at end of test.
Keith Seitz [Wed, 13 Feb 2002 17:09:07 +0000 (17:09 +0000)]
* arm-tdep.h (arm_get_next_pc): Add declaration.
Richard Earnshaw [Wed, 13 Feb 2002 16:32:34 +0000 (16:32 +0000)]
* arm-tdep.c (arm_use_struct_convention): Make static. Move to be
with other related struct-returning functions.
(arm_extract_struct_value_address): New function.
(arm_gdbarch_init): Initialize the above in multi-arch vector. Also
initialize float_format, double_format and long_double_format as
appropriate to the endianness of the target.
* config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
(arm_use_struct_convention): Delete declaration.
(USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
Richard Earnshaw [Wed, 13 Feb 2002 16:24:59 +0000 (16:24 +0000)]
Argh! These should also have been committed along with:
* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Make static.
(arm_software_single_step): Similarly. Fix types in declaration.
(arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
(arm_store_return_value, arm_store_struct_return): New functions.
(arm_gdbarch_init): Register the above functions. Also register
call_dummy_start_offset, sizeof_call_dummy_words,
function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
max_register_virtual_size, register_size. Set up
prologue_cache.saved_regs here, rather than ...
(_initialize_arm_tdep): ... here.
* config/arm/tm-arm.h (struct type, struct value): Delete forward
declarations.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Delete declarations.
(SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
(SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
(DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
(REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
(SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
(SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
(arm_get_next_pc): No-longer static -- these are needed by the RDI
interface.
* arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
* remote-rdi.c remote-rdp.c: Likewise.
* Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
(armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
* config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
definition.
* arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
(ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
(ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
from non-ARM_ prefixed definitions.
* arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
all uses of above.
* remote-rdi.c remote-rdp.c: Likewise.
* arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
Keith Seitz [Wed, 13 Feb 2002 15:43:37 +0000 (15:43 +0000)]
I seemed to have not checked this in last night... Updated ChangeLog to
reflect real check-in time.
* defs.h (core_addr_to_string_nz): New function.
Andreas Schwab [Wed, 13 Feb 2002 11:19:07 +0000 (11:19 +0000)]
Update copyright.
Andreas Schwab [Wed, 13 Feb 2002 11:17:48 +0000 (11:17 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
pc-relative relocations to merge sections in 64-bit mode.
Nick Clifton [Wed, 13 Feb 2002 10:20:59 +0000 (10:20 +0000)]
Accept a physicall address of 0 as valid in a program header
Nick Clifton [Wed, 13 Feb 2002 09:48:40 +0000 (09:48 +0000)]
Do not expect an explicit ordering of the sections.
Ben Elliston [Wed, 13 Feb 2002 09:00:17 +0000 (09:00 +0000)]
* fix date on most recent entry.
Ben Elliston [Wed, 13 Feb 2002 08:59:26 +0000 (08:59 +0000)]
2002-02-12 Ben Elliston <bje@redhat.com>
* NEWS: Document floating point number handling in gasp.
* gasp.c: Include <assert.h> and "xregex.h".
(is_flonum): New function.
(chew_flownum): Likewise.
(change_base): Consume flonums from the input, where possible.
* doc/gasp.texi (Constants): Document floating point numbers.
[testsuite/ChangeLog]
* gasp/flonums.asm: New test.
* gasp/flonums.err: New result.
* gasp/flonums.out: Likewise.
Mark Kettenis [Wed, 13 Feb 2002 08:10:30 +0000 (08:10 +0000)]
Apply missing bits of 2002-01-15 patch.
* i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.
Keith Seitz [Wed, 13 Feb 2002 06:06:26 +0000 (06:06 +0000)]
* defs.h (core_addr_to_string_nz): New function.
* utils.c (core_addr_to_string): Use phex instead of phex_nz.
(core_addr_to_string_nz): New function.
gdbadmin [Wed, 13 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Graydon Hoare [Tue, 12 Feb 2002 14:51:54 +0000 (14:51 +0000)]
[ opcodes/ChangeLog ]
2002-02-12 Graydon Hoare <graydon@redhat.com>
* cgen-asm.in (parse_insn_normal): Change call from
@arch@_cgen_parse_operand to cd->parse_operand, to
facilitate CGEN_ASM_INIT_HOOK doing useful work.
Jakub Jelinek [Tue, 12 Feb 2002 14:50:08 +0000 (14:50 +0000)]
* ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
* ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
(exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
* ldexp.c (exp_data_seg): New variable.
(exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
(fold_binary): Handle DATA_SEGMENT_ALIGN.
(exp_fold_tree): Handle DATA_SEGMENT_END.
Pass allocation_done when recursing instead of hardcoding
lang_allocating_phase_enum.
* ldexp.h (exp_data_seg): New.
* ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
(lang_size_sections): New.
* ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
* scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
if COMMONPAGESIZE is defined.
* emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
* emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
* emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
* emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
* emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
libraries only.
Richard Earnshaw [Tue, 12 Feb 2002 13:36:03 +0000 (13:36 +0000)]
Hmm, this should have been commited along with:
* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Make static.
(arm_software_single_step): Similarly. Fix types in declaration.
(arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
(arm_store_return_value, arm_store_struct_return): New functions.
(arm_gdbarch_init): Register the above functions. Also register
call_dummy_start_offset, sizeof_call_dummy_words,
function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
max_register_virtual_size, register_size. Set up
prologue_cache.saved_regs here, rather than ...
(_initialize_arm_tdep): ... here.
* config/arm/tm-arm.h (struct type, struct value): Delete forward
declarations.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Delete declarations.
(SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
(SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
(DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
(REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
(SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
(SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
(arm_get_next_pc): No-longer static -- these are needed by the RDI
interface.
* arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
* remote-rdi.c remote-rdp.c: Likewise.
* Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
(armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
* config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
definition.
* arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
(ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
(ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
from non-ARM_ prefixed definitions.
* arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
all uses of above.
* remote-rdi.c remote-rdp.c: Likewise.
* arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
Alan Modra [Tue, 12 Feb 2002 11:10:11 +0000 (11:10 +0000)]
* ld-selective/selective.exp: Link against libgcc on
hppa*-*-linux* targets.
Alan Modra [Tue, 12 Feb 2002 11:09:41 +0000 (11:09 +0000)]
* gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit
hppa_fix_adjustable change.
Alan Modra [Tue, 12 Feb 2002 11:08:54 +0000 (11:08 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
that implicitly use LR and RR selectors.
Alan Modra [Tue, 12 Feb 2002 11:08:27 +0000 (11:08 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): New function stripped
from _bfd_elf_hppa_gen_reloc_type.
(_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype.
* elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype.
* elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h.
* elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype.
Alexandre Oliva [Tue, 12 Feb 2002 09:50:55 +0000 (09:50 +0000)]
* MAINTAINERS: Added self as MN10300 co-maintainer.
Alexandre Oliva [Tue, 12 Feb 2002 09:25:39 +0000 (09:25 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Skip section before
loading its contents if there's nothing to do in it.
Alexandre Oliva [Tue, 12 Feb 2002 07:41:35 +0000 (07:41 +0000)]
* config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
and `epsw' as available on AM33 and above only.
(other_register_name): Add logic to handle machine type encoded in
reg_number.
Alan Modra [Tue, 12 Feb 2002 06:34:57 +0000 (06:34 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
64k boundary.
Alan Modra [Tue, 12 Feb 2002 06:31:29 +0000 (06:31 +0000)]
Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags
Tom Rix [Tue, 12 Feb 2002 03:59:33 +0000 (03:59 +0000)]
Fix minimal-toc with -maix64
Richard Earnshaw [Tue, 12 Feb 2002 00:59:27 +0000 (00:59 +0000)]
* arm-linux-nat.c: Really include arm-tdep.h.
* config/arm/tm-linux.h (struct type, struct value): Declare.
gdbadmin [Tue, 12 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Chris Demetriou [Mon, 11 Feb 2002 23:35:07 +0000 (23:35 +0000)]
2002-02-11 Chris Demetriou <cgd@broadcom.com>
* mips.igen: Add some additional comments about supported
models, and about which instructions go where.
(BC1b, MFC0, MTC0, RFE): Sort supported models in the same
order as is used in the rest of the file.
Alan Modra [Mon, 11 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Chris Demetriou [Mon, 11 Feb 2002 22:49:45 +0000 (22:49 +0000)]
2002-02-11 Chris Demetriou <cgd@broadcom.com>
* mips.igen (ADD, ADDI, DADDI, DSUB, SUB): Add comment
indicating that ALU32_END or ALU64_END are there to check
for overflow.
(DADD): Likewise, but also remove previous comment about
overflow checking.
Daniel Jacobowitz [Mon, 11 Feb 2002 19:06:49 +0000 (19:06 +0000)]
2002-02-11 Daniel Jacobowitz <drow@mvista.com>
* MAINTAINERS: List myself as branch maintainer.
Richard Earnshaw [Mon, 11 Feb 2002 18:34:12 +0000 (18:34 +0000)]
* arm-tdep.h: New file.
* arm-tdep.c: Include arm-tdep.h.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Make static.
(arm_software_single_step): Similarly. Fix types in declaration.
(arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
(arm_store_return_value, arm_store_struct_return): New functions.
(arm_gdbarch_init): Register the above functions. Also register
call_dummy_start_offset, sizeof_call_dummy_words,
function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
max_register_virtual_size, register_size. Set up
prologue_cache.saved_regs here, rather than ...
(_initialize_arm_tdep): ... here.
* config/arm/tm-arm.h (struct type, struct value): Delete forward
declarations.
(arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
(arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
(arm_print_float_info, arm_register_type, convert_to_extended)
(arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
(arm_extract_return_value, arm_register_name): Delete declarations.
(SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
(SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
(DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
(REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
(SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
(SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
(arm_get_next_pc): No-longer static -- these are needed by the RDI
interface.
* arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
* remote-rdi.c remote-rdp.c: Likewise.
* Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
(armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
* config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
definition.
* arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
(ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
(ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
from non-ARM_ prefixed definitions.
* arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
all uses of above.
* remote-rdi.c remote-rdp.c: Likewise.
* arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
Alexandre Oliva [Mon, 11 Feb 2002 13:24:51 +0000 (13:24 +0000)]
* sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
sign-extended.
Alexandre Oliva [Mon, 11 Feb 2002 13:24:06 +0000 (13:24 +0000)]
* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
Use all over.
Richard Earnshaw [Mon, 11 Feb 2002 12:48:20 +0000 (12:48 +0000)]
Missed a bit.
Richard Earnshaw [Mon, 11 Feb 2002 12:42:03 +0000 (12:42 +0000)]
* arm-tdep.c (arm_frameless_function_invocation)
(arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
(arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
(arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
(arm_pop_frame, arm_get_next_pc): Make static.
(arm_gdbarch_init): Register above in gdbarch structure.
(arm_read_fp): Renamed from arm_target_read_fp.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
* config/arm/tm-arm.h (arm_frameless_function_invocation)
(arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
(arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
(arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
(arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
(arm_pc_is_thumb_dummy): Delete declarations.
Jan Hubicka [Mon, 11 Feb 2002 12:00:54 +0000 (12:00 +0000)]
* i386.c (md_assemble): Support 32bit address prefix.
(i386_displacement): Likewise.
(i386_index_check): Accept 32bit addressing in 64bit mode.
Jan Hubicka [Mon, 11 Feb 2002 11:56:20 +0000 (11:56 +0000)]
* i386.h (push,pop): Allow 16bit operands in 64bit mode.
(xchg): Fix.
(in, out): Disable 64bit operands.
(call, jmp): Avoid REX prefixes.
(jcxz): Prohibit in 64bit mode
(jrcxz, loop): Add 64bit variants.
(movq): Fix patterns.
(movmskps, pextrw, pinstrw): Add 64bit variants.
Alexandre Oliva [Mon, 11 Feb 2002 07:56:03 +0000 (07:56 +0000)]
* ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
* ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s.
* ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications
in section ordering.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crange3.dd: Likewise.
Alexandre Oliva [Mon, 11 Feb 2002 06:17:43 +0000 (06:17 +0000)]
* elf32-sh.c: Added missing prototypes.
* elf32-sh64.c: Likewise.
(sh_elf_align_loads): Mark unused args as such.
* elf64-sh64.c: Added missing prototypes.
(struct elf_sh64_link_hash_entry): Fix typo.
(sh_elf64_relocate_section): Fix info argument passed to
_bfd_elf_section_offset.
Alexandre Oliva [Mon, 11 Feb 2002 06:14:41 +0000 (06:14 +0000)]
* config/tc-sh.c (dot): Removed unused function.
Alexandre Oliva [Mon, 11 Feb 2002 06:14:12 +0000 (06:14 +0000)]
* ld-sh/shared-1.d: Fix relocation addend.
Chris Demetriou [Mon, 11 Feb 2002 06:13:49 +0000 (06:13 +0000)]
2002-02-10 Chris Demetriou <cgd@broadcom.com>
* mips.igen (DDIV, DIV, DIVU, DMULT, DMULTU, DSLL, DSLL32,
DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB, DSUBU,
JALR, JR, MOVN, MOVZ, MTLO, MULT, MULTU, SLL, SLLV, SLT, SLTU,
SRAV, SRLV, SUB, SUBU, SYNC, XOR, MOVtf, DI, DMFC0, DMTC0, EI,
ERET, RFE, TLBP, TLBR, TLBWI, TLBWR): Tweak instruction opcode
fields (i.e., add and move commas) so that they more closely
match the MIPS ISA documentation opcode partitioning.
Alan Modra [Mon, 11 Feb 2002 05:18:20 +0000 (05:18 +0000)]
* Makefile.in: Regenerate.
Alan Modra [Mon, 11 Feb 2002 05:14:46 +0000 (05:14 +0000)]
* Makefile.am: "make dep-am".
* Makefile.in: Regenerate.
Alan Modra [Mon, 11 Feb 2002 05:13:05 +0000 (05:13 +0000)]
bah, missed it.
Alan Modra [Mon, 11 Feb 2002 05:12:26 +0000 (05:12 +0000)]
* Makefile.am: "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
Alan Modra [Mon, 11 Feb 2002 05:08:42 +0000 (05:08 +0000)]
* configure: Regenerate.
* objcopy.c: Update copyright date.
* doc/Makefile.in: Regenerate.
Alan Modra [Mon, 11 Feb 2002 05:05:09 +0000 (05:05 +0000)]
* Makefile.am: "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
Michael Chastain [Mon, 11 Feb 2002 04:47:59 +0000 (04:47 +0000)]
2002-02-10 Michael Chastain <mec@shout.net>
* gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
(call_after_alloca): Ditto.
Daniel Jacobowitz [Mon, 11 Feb 2002 03:21:53 +0000 (03:21 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* symtab.c (compare_search_syms): New function.
(sort_search_symbols): New function.
(search_symbols): Sort symbols after searching rather than
before.
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* generic/gdbtk-cmds.c (gdb_listfuncs): Don't call
BLOCK_SHOULD_SORT.
* library/browserwin.itb (BrowserWin::_fill_funcs_combo): Sort
the output of gdb_listfuncs.
Daniel Jacobowitz [Mon, 11 Feb 2002 02:41:37 +0000 (02:41 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* lexsup.c: Remove strtoul declaration.
Daniel Jacobowitz [Mon, 11 Feb 2002 02:41:16 +0000 (02:41 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* nlmconv.c: Back out localtime PARAMS change.
Alan Modra [Mon, 11 Feb 2002 02:34:14 +0000 (02:34 +0000)]
* objcopy.c (MKDIR): Define.
(copy_archive): Make name_list.name const. Use MKDIR.
Handle duplicate files in archives by making more temp dirs.
Chris Demetriou [Mon, 11 Feb 2002 02:19:38 +0000 (02:19 +0000)]
2002-02-10 Chris Demetriou cgd@sibyte.com
* mips.igen (ADDI): Print immediate value.
(BREAK): Print code.
(DADDIU, DSRAV, DSRLV): Print correct instruction name.
(SLL): Print "nop" specially, and don't run the code
that does the shift for the "nop" case.
Daniel Jacobowitz [Mon, 11 Feb 2002 02:17:39 +0000 (02:17 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized
variable warnings.
* elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned
comparison warning.
* trad-core.c (trad_unix_core_file_p): Silence pointer/integer
cast warnings for the common case.
gdbadmin [Mon, 11 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Richard Henderson [Sun, 10 Feb 2002 23:25:17 +0000 (23:25 +0000)]
* doc/c-alpha.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add it.
* doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
Chris Demetriou [Sun, 10 Feb 2002 23:11:37 +0000 (23:11 +0000)]
2002-02-10 Chris Demetriou <cgd@broadcom.com>
* callback.c: Fix some spelling errors.
* hw-device.h: Likewise.
* hw-tree.c: Likewise.
* sim-abort.c: Likewise.
* sim-alu.h: Likewise.
* sim-core.h: Likewise.
* sim-events.c: Likewise.
* sim-events.h: Likewise.
* sim-fpu.h: Likewise.
* sim-profile.h: Likewise.
* sim-utils.c: Likewise.
Alan Modra [Sun, 10 Feb 2002 23:00:43 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Sun, 10 Feb 2002 20:40:56 +0000 (20:40 +0000)]
* configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and
shl-*-linux*.
* configure: Regenerate.
Hans-Peter Nilsson [Sun, 10 Feb 2002 20:37:45 +0000 (20:37 +0000)]
* config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64
vectors.
(sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64
vectors.
Daniel Jacobowitz [Sun, 10 Feb 2002 19:12:13 +0000 (19:12 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* ldmain.c: Add prototype for main ().
* lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
* emultempl/lnk960.em (lnk960_choose_target): Function should
take two arguments.
Daniel Jacobowitz [Sun, 10 Feb 2002 19:03:14 +0000 (19:03 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* cgen-dis.c: Add prototypes for count_decodable_bits
and add_insn_to_hash_chain.
Daniel Jacobowitz [Sun, 10 Feb 2002 19:01:19 +0000 (19:01 +0000)]
Update copyright date per last commit.
Daniel Jacobowitz [Sun, 10 Feb 2002 19:00:00 +0000 (19:00 +0000)]
Update copyright date from last commit.
Daniel Jacobowitz [Sun, 10 Feb 2002 18:58:26 +0000 (18:58 +0000)]
Update copyright date.
Daniel Jacobowitz [Sun, 10 Feb 2002 18:52:30 +0000 (18:52 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* gprof.c: Include "getopt.h" after other includes, so that
the proper macros are defined.
* gen-c-prog.awk: Emit a prototype for the generated function.
Daniel Jacobowitz [Sun, 10 Feb 2002 18:47:48 +0000 (18:47 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* coffdump.c: Include "getopt.h" after "bucomm.h"
so that macros are defined correctly.
* nlmconv.c: Add PARAMS ((const time_t *)) to localtime
prototype. Prototype main.
* nlmheader.y: Add PARAMS ((int)) to strerror prototype.
Daniel Jacobowitz [Sun, 10 Feb 2002 18:21:36 +0000 (18:21 +0000)]
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/ending-run.exp: Guard "cont" test with
gdb_skip_stdio_test.
Andrew Cagney [Sun, 10 Feb 2002 17:34:05 +0000 (17:34 +0000)]
* NEWS: Linux -> GNU/Linux.
Andrew Cagney [Sun, 10 Feb 2002 17:25:38 +0000 (17:25 +0000)]
* gdbarch.sh: For for level one methods, disallow a definition
when partially multi-arched. Add comments explaining rationale.
* gdbarch.h: Re-generate.
Andrew Cagney [Sun, 10 Feb 2002 17:03:47 +0000 (17:03 +0000)]
* gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
multi-arch partial.
Alan Modra [Sun, 10 Feb 2002 10:55:23 +0000 (10:55 +0000)]
* ldlang.c (entry_section): New initialised variable.
(lang_finish): Use it.
* ldlang.h (entry_section): Declare.
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
entry_section to ".opd".
Nick Clifton [Sun, 10 Feb 2002 10:17:58 +0000 (10:17 +0000)]
Add 'xscale' as an expected cpu type.
Andrew Cagney [Sun, 10 Feb 2002 07:37:22 +0000 (07:37 +0000)]
* gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
field. Use diff -u.
* gdbarch.c: Re-generate.
Andrew Cagney [Sun, 10 Feb 2002 07:17:17 +0000 (07:17 +0000)]
* config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
Andrew Cagney [Sun, 10 Feb 2002 06:44:59 +0000 (06:44 +0000)]
* gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
partial.
Andrew Cagney [Sun, 10 Feb 2002 06:08:40 +0000 (06:08 +0000)]
* gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
multi-arch partial.
(PUSH_ARGUMENTS): Switch to using predefault.
* gdbarch.c: Regenerate.
Andrew Cagney [Sun, 10 Feb 2002 05:50:34 +0000 (05:50 +0000)]
* valops.c (PUSH_ARGUMENTS): Delete definition.
* gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
partial. Default to default_push_arguments.
* gdbarch.h, gdbarch.c: Regenerate.
Andrew Cagney [Sun, 10 Feb 2002 04:08:42 +0000 (04:08 +0000)]
* defs.h (throw_exception): Rename return_to_top_level. Update
comments.
* utils.c (error_stream, internal_verror, quit): Ditto.
* top.c (throw_exception, catcher): Ditto.
* sparclet-rom.c (sparclet_load): Ditto.
* remote.c (interrupt_query, minitelnet): Ditto.
* remote-sds.c (interrupt_query): Ditto.
* remote-mips.c (mips_error, mips_kill): Ditto.
* ocd.c (interrupt_query): Ditto.
* monitor.c (monitor_interrupt_query): Ditto.
* m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
* target.h: Update comment.
* m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
Chris Demetriou [Sun, 10 Feb 2002 02:50:09 +0000 (02:50 +0000)]
Fix date in last entry. I should stop living in the past.
Andrew Cagney [Sun, 10 Feb 2002 02:47:12 +0000 (02:47 +0000)]
* gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
default_double_format.
* gdbarch.h, gdbarch.c: Re-generate.
* findvar.c (floatformat_unknown): Delete variable definition.
* doublest.h (floatformat_unknown): Delete variable declaration.
Chris Demetriou [Sun, 10 Feb 2002 00:40:38 +0000 (00:40 +0000)]
2002-02-08 Chris Demetriou <cgd@broadcom.com>
* ld.texinfo (Options): Add back in -nostdlib documentation,
which had been inadvertently removed.
gdbadmin [Sun, 10 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 9 Feb 2002 23:00:09 +0000 (23:00 +0000)]
daily update
Richard Henderson [Sat, 9 Feb 2002 22:55:06 +0000 (22:55 +0000)]
* config/tc-alpha.c (O_samegp): New.
(USER_RELOC_P): Include it.
(alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
(md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
(alpha_force_relocation, alpha_fix_adjustable): Likewise.
(alpha_validate_fix): New.
* config/tc-alpha.h (TC_VALIDATE_FIX): New.
* gas/alpha/elf-reloc-5.s, gas/alpha/elf-reloc-5.d: New.
* gas/alpha/elf-reloc-6.s, gas/alpha/elf-reloc-6.l: New.
* gas/alpha/alpha.exp: Run them.
Richard Henderson [Sat, 9 Feb 2002 22:54:16 +0000 (22:54 +0000)]
* alpha.h (R_ALPHA_BRSGP): New.
Richard Henderson [Sat, 9 Feb 2002 22:53:53 +0000 (22:53 +0000)]
* elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP.
(elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise.
(elf64_alpha_relocate_section): Likewise.
* reloc.c (BFD_RELOC_ALPHA_BRSGP): New.
* bfd-in2.h, libbfd.h: Rebuild.
Jim Blandy [Sat, 9 Feb 2002 20:09:45 +0000 (20:09 +0000)]
* stabsread.c (read_type): Add code to parse Sun's syntax for
prototyped function types.
Andrew Cagney [Sat, 9 Feb 2002 18:45:06 +0000 (18:45 +0000)]
* Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
(SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
Peter Schauer [Sat, 9 Feb 2002 18:32:14 +0000 (18:32 +0000)]
* xcoffsolib.c (_initialize_xcoffsolib): Renamed from
_initialize_solib. Fixes name clash with solib.c:_initialize_solib,
now _initialize_xcoffsolib gets called again and overrides the
commands from solib.c in a native configuration.
Mark Kettenis [Sat, 9 Feb 2002 17:25:57 +0000 (17:25 +0000)]
* doublest.c (store_typed_floating): Don't try to return a value.
Fixes PR gdb/290.