binutils-gdb.git
22 years agoAccept a physicall address of 0 as valid in a program header
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

22 years agoDo not expect an explicit ordering of the sections.
Nick Clifton [Wed, 13 Feb 2002 09:48:40 +0000 (09:48 +0000)]
Do not expect an explicit ordering of the sections.

22 years ago* fix date on most recent entry.
Ben Elliston [Wed, 13 Feb 2002 09:00:17 +0000 (09:00 +0000)]
* fix date on most recent entry.

22 years ago2002-02-12 Ben Elliston <bje@redhat.com>
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.

22 years agoApply missing bits of 2002-01-15 patch.
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.

22 years ago * defs.h (core_addr_to_string_nz): New function.
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.

22 years ago*** empty log message ***
gdbadmin [Wed, 13 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 12 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago[ opcodes/ChangeLog ]
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.

22 years ago * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
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.

22 years agoHmm, this should have been commited along with:
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.

22 years ago * ld-selective/selective.exp: Link against libgcc on
Alan Modra [Tue, 12 Feb 2002 11:10:11 +0000 (11:10 +0000)]
* ld-selective/selective.exp: Link against libgcc on
hppa*-*-linux* targets.

22 years ago * gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit
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.

22 years ago * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
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.

22 years ago * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped
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.

22 years ago* MAINTAINERS: Added self as MN10300 co-maintainer.
Alexandre Oliva [Tue, 12 Feb 2002 09:50:55 +0000 (09:50 +0000)]
* MAINTAINERS: Added self as MN10300 co-maintainer.

22 years ago* elf-m10300.c (mn10300_elf_relax_section): Skip section before
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.

22 years ago* config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
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.

22 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
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.

22 years agoAdd DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags
Alan Modra [Tue, 12 Feb 2002 06:31:29 +0000 (06:31 +0000)]
Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags

22 years agoFix minimal-toc with -maix64
Tom Rix [Tue, 12 Feb 2002 03:59:33 +0000 (03:59 +0000)]
Fix minimal-toc with -maix64

22 years ago* arm-linux-nat.c: Really include arm-tdep.h.
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.

22 years ago*** empty log message ***
gdbadmin [Tue, 12 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-11 Chris Demetriou <cgd@broadcom.com>
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.

22 years agodaily update
Alan Modra [Mon, 11 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-11 Chris Demetriou <cgd@broadcom.com>
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.

22 years ago2002-02-11 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago* arm-tdep.h: New file.
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.

22 years ago* sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
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.

22 years ago* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
Alexandre Oliva [Mon, 11 Feb 2002 13:24:06 +0000 (13:24 +0000)]
* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
Use all over.

22 years agoMissed a bit.
Richard Earnshaw [Mon, 11 Feb 2002 12:48:20 +0000 (12:48 +0000)]
Missed a bit.

22 years ago* arm-tdep.c (arm_frameless_function_invocation)
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.

22 years ago * i386.c (md_assemble): Support 32bit address prefix.
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.

22 years ago * i386.h (push,pop): Allow 16bit operands 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.

22 years ago* ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
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.

22 years ago* elf32-sh.c: Added missing prototypes.
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.

22 years ago* config/tc-sh.c (dot): Removed unused function.
Alexandre Oliva [Mon, 11 Feb 2002 06:14:41 +0000 (06:14 +0000)]
* config/tc-sh.c (dot): Removed unused function.

22 years ago* ld-sh/shared-1.d: Fix relocation addend.
Alexandre Oliva [Mon, 11 Feb 2002 06:14:12 +0000 (06:14 +0000)]
* ld-sh/shared-1.d: Fix relocation addend.

22 years ago2002-02-10 Chris Demetriou <cgd@broadcom.com>
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.

22 years ago * Makefile.in: Regenerate.
Alan Modra [Mon, 11 Feb 2002 05:18:20 +0000 (05:18 +0000)]
* Makefile.in: Regenerate.

22 years ago * Makefile.am: "make dep-am".
Alan Modra [Mon, 11 Feb 2002 05:14:46 +0000 (05:14 +0000)]
* Makefile.am: "make dep-am".
* Makefile.in: Regenerate.

22 years agobah, missed it.
Alan Modra [Mon, 11 Feb 2002 05:13:05 +0000 (05:13 +0000)]
bah, missed it.

22 years ago * Makefile.am: "make dep-am".
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.

22 years ago * configure: 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.

22 years ago * Makefile.am: "make dep-am".
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.

22 years ago2002-02-10 Michael Chastain <mec@shout.net>
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago * objcopy.c (MKDIR): Define.
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.

22 years ago2002-02-10 Chris Demetriou cgd@sibyte.com
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago*** empty log message ***
gdbadmin [Mon, 11 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * doc/c-alpha.texi: New file.
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.

22 years ago2002-02-10 Chris Demetriou <cgd@broadcom.com>
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.

22 years agodaily update
Alan Modra [Sun, 10 Feb 2002 23:00:43 +0000 (23:00 +0000)]
daily update

22 years ago * configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
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.

22 years ago * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years agoUpdate copyright date per last commit.
Daniel Jacobowitz [Sun, 10 Feb 2002 19:01:19 +0000 (19:01 +0000)]
Update copyright date per last commit.

22 years agoUpdate copyright date from last commit.
Daniel Jacobowitz [Sun, 10 Feb 2002 19:00:00 +0000 (19:00 +0000)]
Update copyright date from last commit.

22 years agoUpdate copyright date.
Daniel Jacobowitz [Sun, 10 Feb 2002 18:58:26 +0000 (18:58 +0000)]
Update copyright date.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago2002-02-10 Daniel Jacobowitz <drow@mvista.com>
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.

22 years ago* NEWS: Linux -> GNU/Linux.
Andrew Cagney [Sun, 10 Feb 2002 17:34:05 +0000 (17:34 +0000)]
* NEWS: Linux -> GNU/Linux.

22 years ago* gdbarch.sh: For for level one methods, disallow a definition
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.

22 years ago* gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
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.

22 years ago * ldlang.c (entry_section): New initialised variable.
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".

22 years agoAdd 'xscale' as an expected cpu type.
Nick Clifton [Sun, 10 Feb 2002 10:17:58 +0000 (10:17 +0000)]
Add 'xscale' as an expected cpu type.

22 years ago* gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
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.

22 years ago* config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
Andrew Cagney [Sun, 10 Feb 2002 07:17:17 +0000 (07:17 +0000)]
* config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.

22 years ago* gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
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.

22 years ago* gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
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.

22 years ago* valops.c (PUSH_ARGUMENTS): Delete definition.
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.

22 years ago* defs.h (throw_exception): Rename return_to_top_level. Update
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.

22 years agoFix date in last entry. I should stop living in the past.
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.

22 years ago* gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
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.

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
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.

22 years ago*** empty log message ***
gdbadmin [Sun, 10 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 9 Feb 2002 23:00:09 +0000 (23:00 +0000)]
daily update

22 years ago * config/tc-alpha.c (O_samegp): New.
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.

22 years ago * alpha.h (R_ALPHA_BRSGP): New.
Richard Henderson [Sat, 9 Feb 2002 22:54:16 +0000 (22:54 +0000)]
    * alpha.h (R_ALPHA_BRSGP): New.

22 years ago * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP.
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.

22 years ago* stabsread.c (read_type): Add code to parse Sun's syntax for
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.

22 years ago* Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
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.

22 years ago * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
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.

22 years ago* doublest.c (store_typed_floating): Don't try to return a value.
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.

22 years ago* c-typeprint.c (c_type_print_varspec_suffix): If a function type
Jim Blandy [Sat, 9 Feb 2002 16:08:53 +0000 (16:08 +0000)]
* c-typeprint.c (c_type_print_varspec_suffix): If a function type
is prototyped and has no arguments, print its argument list as
`(void)'.

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 9 Feb 2002 07:18:54 +0000 (07:18 +0000)]
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp: Document (but do not XFAIL) currently-failing
        MIPS ECOFF tests, providing what information is known about
        the origins of the failures.

22 years ago * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
Hans-Peter Nilsson [Sat, 9 Feb 2002 05:07:07 +0000 (05:07 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
register section vma to a sane value after emitting error.  Make
fatal conditions cause program exit when emitting message.

22 years ago * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check
Hans-Peter Nilsson [Sat, 9 Feb 2002 05:04:27 +0000 (05:04 +0000)]
* elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check
that base-plus-offset reloc accounting is consistent.
(mmix_elf_relax_section): Keep base-plus-offset reloc accounting
up to date for undefined symbols.

22 years ago * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
Hans-Peter Nilsson [Sat, 9 Feb 2002 05:02:07 +0000 (05:02 +0000)]
* ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
tests.

22 years ago2002-02-08 Eric Christopher <echristo@redhat.com>
Eric Christopher [Sat, 9 Feb 2002 04:40:18 +0000 (04:40 +0000)]
2002-02-08  Eric Christopher  <echristo@redhat.com>

From Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela
sections for the O32 ABI.

22 years ago* configure.in <bfd_sh_arc>: Enable sh64 support on sh-*.
Alexandre Oliva [Sat, 9 Feb 2002 03:25:25 +0000 (03:25 +0000)]
* configure.in <bfd_sh_arc>: Enable sh64 support on sh-*.
* configure: Rebuilt.

22 years agoContribute sh64-elf.
Alexandre Oliva [Sat, 9 Feb 2002 03:15:34 +0000 (03:15 +0000)]
Contribute sh64-elf.
2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
* configure.in: Added sh64-*-*.

22 years ago * doc/c-cris.texi: New.
Hans-Peter Nilsson [Sat, 9 Feb 2002 03:12:24 +0000 (03:12 +0000)]
* doc/c-cris.texi: New.
* doc/all.texi: @set CRIS.
* doc/as.texinfo: Ditto.  Add CRIS gas manpage option overview.
Include c-cris.texi.
* doc/Makefile.am (CPU_DOCS): Add c-cris.texi
* doc/Makefile.in: Regenerate.

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 9 Feb 2002 02:20:18 +0000 (02:20 +0000)]
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

        * MAINTAINERS (write-after-approval): Add myself.
        (paper-trail): I've escaped!

22 years ago*** empty log message ***
gdbadmin [Sat, 9 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***