binutils-gdb.git
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 ***

22 years ago* win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf changes.
Christopher Faylor [Fri, 8 Feb 2002 23:12:16 +0000 (23:12 +0000)]
* win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf changes.
(_initialize_check_for_gdb_ini): Ditto.

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

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 8 Feb 2002 22:25:36 +0000 (22:25 +0000)]
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
        determine if a number is a sign-extended 32-bit number.
        (load_register): Use IS_SEXT_32BIT_NUM.
        (macro): Check if load/store macro handling is using a
        constant 32-bit address on 64-bit address systems, and if
        so optimize the generation of that address.

22 years ago2002-02-08 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Fri, 8 Feb 2002 21:22:10 +0000 (21:22 +0000)]
2002-02-08  Martin M. Hunt  <hunt@redhat.com>

* win32-nat.c (cygwin_pid_to_str): Fix typo.
xaprintf -> xasprintf.

22 years ago2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 8 Feb 2002 19:31:38 +0000 (19:31 +0000)]
2002-02-08  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c: Remove use of printf and sprintf functions.

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 8 Feb 2002 19:18:35 +0000 (19:18 +0000)]
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

        * elf32-arm.h: Fix formatting of _("...").
        * elf32-d10v.c: Likewise.
        * elf32-m68k.c: Likewise.
        * elf32-mips.c: Likewise.

22 years ago* arm-tdep.c (arm_frame_chain_valid): Make static.
Richard Earnshaw [Fri, 8 Feb 2002 18:26:37 +0000 (18:26 +0000)]
* arm-tdep.c (arm_frame_chain_valid): Make static.
(arm_push_arguments): Likewise.
(arm_gdbarch_init): New function.
(_initialize_arm_tdep): Call it.
* config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
(TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
(FRAME_CHAIN_VALID): Delete.
(arm_frame_chain_valid): Delete declaration.
(PUSH_ARGUMENTS): Delete.
(arm_push_arguments): Delete declaration.
(CALL_DUMMY_P): Delete.

22 years ago * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
Corinna Vinschen [Fri, 8 Feb 2002 17:34:33 +0000 (17:34 +0000)]
* gdbtypes.c (build_gdbtypes): Disable setting a specific float format
on builtin float types.

22 years ago2002-02-08 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 8 Feb 2002 15:54:32 +0000 (15:54 +0000)]
2002-02-08  Daniel Jacobowitz  <drow@mvista.com>

        * utils.c: Include <curses.h> before "bfd.h".
        * tui/tui-hooks.c: Likewise.
        * tui/tui.c: Likewise.
        * tui/tuiCommand.c: Likewise.
        * tui/tuiData.c: Likewise.
        * tui/tuiDataWin.c: Likewise.
        * tui/tuiDisassem.c: Likewise.
        * tui/tuiGeneralWin.c: Likewise.
        * tui/tuiIO.c: Likewise.
        * tui/tuiLayout.c: Likewise.
        * tui/tuiRegs.c: Likewise.
        * tui/tuiSource.c: Likewise.
        * tui/tuiSourceWin.c: Likewise.
        * tui/tuiStack.c: Likewise.
        * tui/tuiWin.c: Likewise.

22 years agoFix compile time warning messages
Nick Clifton [Fri, 8 Feb 2002 12:12:15 +0000 (12:12 +0000)]
Fix compile time warning messages

22 years ago * config/tc-alpha.c (alpha_force_relocation): Don't assert that
Richard Henderson [Fri, 8 Feb 2002 10:03:01 +0000 (10:03 +0000)]
    * config/tc-alpha.c (alpha_force_relocation): Don't assert that
        we've eliminated all foreign relocation types yet.
        (alpha_fix_adjustable): Likewise.

22 years agoContribute sh64-elf.
Alexandre Oliva [Fri, 8 Feb 2002 06:50:02 +0000 (06:50 +0000)]
Contribute sh64-elf.
2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
* ld-sh/sh64/crange3-cmpct.rd: Adjust offsets.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
2002-01-28  Alexandre Oliva  <aoliva@redhat.com>
* ld-sh/sh64/abi32.xd: Formatting changes to match the current
output of objdump.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/rel32.xd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
* ld-sh/sh64/sh64.exp: Likewise.  Reordered cranges and stack
sessions, to match changes in the linker script.
2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation
info to reflect renumbering of relocation types.
2001-03-14  DJ Delorie <dj@redhat.com>
* ld-sh/sh64/endian.dbd: New file, endian tests.
* ld-sh/sh64/endian.dld: Ditto.
* ld-sh/sh64/endian.ld:  Ditto.
* ld-sh/sh64/endian.s: Ditto.
* ld-sh/sh64/endian.sbd:  Ditto.
* ld-sh/sh64/endian.sld:  Ditto.
* ld-sh/sh64/sh64.exp: Add above tests.  Add -L option to ld.
2001-03-12  DJ Delorie <dj@redhat.com>
* ld-sh/sh64/relax.exp: New file, test disabling relaxing.
* ld-sh/sh64/relax1.s: Ditto.
* ld-sh/sh64/relax2.s: Ditto.
* ld-sh/sh64/relax3.s: Ditto.
* ld-sh/sh64/relax4.s: Ditto.
* ld-sh/sh64/relfail.exp: New file, test for bogus relocs.
* ld-sh/sh64/relfail.s: Ditto.
2001-03-12  DJ Delorie <dj@redhat.com>
* ld-sh/sh.exp: This test isn't appropriate for SH64 since it
uses SH32 assembler files.
2001-03-07  DJ Delorie <dj@redhat.com>
* ld-selective/selective.exp: Pass "-e _start" for sh64 to
accomodate expected start symbol in test.
2001-03-06  DJ Delorie <dj@redhat.com>
* ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64,
to match what gcc passes to the linker by default.
* ld-selective/selective.exp: Ditto.
* ld-srec/srec.exp: Ditto, plus XFAIL for sh64.
* ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2).
2001-03-06  DJ Delorie <dj@redhat.com>
* ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout.
* ld-sh/sh64/abi64.xd (stack): Ditto.
* ld-sh/sh64/cmpct1.xd (stack): Ditto.
* ld-sh/sh64/crange1.rd (stack): Ditto.
* ld-sh/sh64/crange2.rd (stack): Ditto.
* ld-sh/sh64/crange3-cmpct.rd (stack): Ditto.
* ld-sh/sh64/crange3-media.rd (stack): Ditto.
* ld-sh/sh64/crange3.rd (stack): Ditto.
* ld-sh/sh64/mix1.xd (stack): Ditto.
* ld-sh/sh64/mix2.xd (stack): Ditto.
* ld-sh/sh64/shdl32.xd (stack): Ditto.
* ld-sh/sh64/shdl64.xd (stack): Ditto.
2001-01-14  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section.
* ld-sh/sh64/mix2.xd: Ditto.
2001-01-08  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address
being SHmedia.
* ld-sh/sh64/shdl64.xd: Ditto.
* ld-sh/sh64/shdl32.xd: Ditto.
* ld-sh/sh64/mix2.xd: Ditto.
* ld-sh/sh64/crange3-media.rd: Ditto.
* ld-sh/sh64/abi64.xd: Ditto.
2001-01-06  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/crange-2a.s (diversion2): New global symbol.
* ld-sh/sh64/crange1.rd: Adjust to presence of new symbol.
Adjust section type for .cranges; expect sorted contents.
* ld-sh/sh64/crange2.rd: Ditto.
* ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto.
* ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol.
* ld-sh/sh64/crangerel2.rd: Ditto.
* ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges.
* ld-sh/sh64/mix2.xd: Ditto.
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New
tests.
* ld-sh/sh64/sh64.exp: Tweak test message.  Run new tests.
2001-01-05  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid
target for (unexpanded) PTB.  Add an .align 2 to SHmedia code to
keep properly aligned.
* ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly.
* ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd,
ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and
R_SH_PT_16 relocation.
* ld-sh/sh64/sh64.exp: Run new tests.
2000-12-30  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s,
ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s,
ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests.
* ld-sh/sh64/sh64.exp: Run new tests.
* ld-sh/sh64/crange1.rd: Correct section flags.
* ld-sh/sh64/crange2.rd: Ditto.
* ld-sh/sh64/crangerel1.rd: Ditto.
2000-12-18  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s,
ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s,
ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s,
ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for
handling .cranges section.
* ld-sh/sh64/sh64.exp: Run new tests.
* ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd,
ld-sh/sh64/mix2.xd: Adjust for .cranges section.
2000-12-15  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd,
ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd,
ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd,
ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and
.data individually 8-byte aligned.
2000-12-09  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd,
ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s,
ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests.
* ld-sh/sh64/sh64.exp: Make it possible to use readelf as
inspection tool.  Run new tests.
2000-12-07  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd,
ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions.
* ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd,
ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests.
* ld-sh/sh64/sh64.exp: Run new tests.
2000-12-01  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd,
ld-sh/sh64/shcmp-1.s: New test.
* ld-sh/sh64/sh64.exp: Add new test to sh64tests.  Reformat.
2000-11-30  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI
test.
* ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF.
2000-11-29  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for
tests.
2000-11-27  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI
registers.
* ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s:
New test.
* ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s,
ld-sh/sh64/shmix-3.s: New test.
* ld-sh/sh64/sh64.exp: Add new tests to sh64tests.
2000-11-26  Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64: New testsuite.

22 years agoContribute sh64-elf.
Alexandre Oliva [Fri, 8 Feb 2002 06:46:14 +0000 (06:46 +0000)]
Contribute sh64-elf.
2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
* gas/sh/sh64/syntax-1.s: Remove `-4' from @(expr-4,pc).
2002-01-28  Alexandre Oliva  <aoliva@redhat.com>
* gas/sh/sh64/crange1-1.d: Formatting changes to match the current
output of objdump.
* gas/sh/sh64/crange1-2.d: Likewise.
* gas/sh/sh64/crange2-2.d: Likewise.
* gas/sh/sh64/crange3-1.d: Likewise.
* gas/sh/sh64/crange4-1.d: Likewise.
* gas/sh/sh64/datal-2.d: Likewise.
* gas/sh/sh64/datal32-1.d: Likewise.
* gas/sh/sh64/datal32-3.d: Likewise.
* gas/sh/sh64/localcom-1.d: Likewise.
* gas/sh/sh64/mix-1.d: Likewise.
* gas/sh/sh64/pt32-1.d: Likewise.
* gas/sh/sh64/rel32-1.d: Likewise.
* gas/sh/sh64/rel32-2.d: Likewise.
* gas/sh/sh64/rel32-3.d: Likewise.
* gas/sh/sh64/rel32-4.d: Likewise.
* gas/sh/sh64/rel32-5.d: Likewise.
* gas/sh/sh64/ua32-1.d: Likewise.
2001-03-14  DJ Delorie <dj@redhat.com>
* gas/sh/sh64/endian-1.d: New test - Little Endianness.
* gas/sh/sh64/endian-1.s: New test - Little Endianness.
* gas/sh/sh64/endian-2.d: New test - Big Endianness.
* gas/sh/sh64/endian-2.s: New test - Big Endianness.
2001-03-12  DJ Delorie <dj@redhat.com>
* gas/sh/sh64/syntax-1.d: New test - basic syntax.
* gas/sh/sh64/syntax-1.s: New test - basic syntax.
* gas/sh/sh64/syntax-2.d: New test - basic syntax, pseudos.
* gas/sh/sh64/syntax-2.s: New test - basic syntax, pseudos.
2001-03-06  DJ Delorie <dj@redhat.com>
* gas/sh/sh64/lineno.d: New, test dwarf2 line numbers vs macros.
* gas/sh/sh64/lineno.s: Ditto.
2001-01-14  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/err-dsp.s: New test.
2001-01-13  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/err-abi-64.s, gas/sh/sh64/err-abi-32.s,
gas/sh/sh64/abi-64.s, gas/sh/sh64/abi-64.d, gas/sh/sh64/abi-32.s,
gas/sh/sh64/abi-32.d, gas/sh/sh64/crange3.s,
gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4.s,
gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5.s,
gas/sh/sh64/crange5-1.d: New tests.
2001-01-07  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/relax-1.s, gas/sh/sh64/relax-1.d: New test.
* gas/sh/sh64/err-pt-1.s: New test.
* gas/sh/sh64/relax-2.s, gas/sh/sh64/relax-2.d: New test.
* gas/sh/sh64/localcom-1.s, gas/sh/sh64/localcom-1.d: New test.
* gas/sh/sh64/movi-3.s, gas/sh/sh64/movi-3.d: New test.
* gas/sh/sh64/relax-3.s, gas/sh/sh64/relax-3.d: New test.
2001-01-05  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/case-noexp-1.d: Adjust to changed GAS output for
check-PTA/PTB / perhaps-change-to-PTB bit in target field.
* gas/sh/sh64/case-noexp-1.d: Ditto.
* gas/sh/sh64/mix-noexp-1.d: Ditto.
* gas/sh/sh64/pt32-noexp-2.d: Ditto.
* gas/sh/sh64/pt64-noexp-2.d: Ditto.
* gas/sh/sh64/ptc32-noexp-1.d: Ditto.
* gas/sh/sh64/ptc64-noexp-1.d: Ditto.
* gas/sh/sh64/ptext32-noexp-1.d: Ditto.
* gas/sh/sh64/ptext64-noexp-1.d: Ditto.
2000-12-31  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/shift64-3.d: Fix typo.
* gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/shift32-noexp-3.d,
gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/ptext64-32-1.d,
gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptc64-noexp-1.d,
gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc32-noexp-1.d,
gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/pt64-32-2.d,
gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt32-noexp-2.d,
gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/movi64-noexp-2.d,
gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/mix-noexp-1.d,
gas/sh/sh64/err-ptb-2.s, gas/sh/sh64/err-ptb-1.s,
gas/sh/sh64/err-pt32-cmd3.s, gas/sh/sh64/err-pt32-cmd2.s,
gas/sh/sh64/err-pt32-cmd1.s, gas/sh/sh64/err-noexp-cmd1.s,
gas/sh/sh64/err-movi-noexp-1.s, gas/sh/sh64/crange2.s,
gas/sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange2-2.d,
gas/sh/sh64/crange2-1.d, gas/sh/sh64/case-noexp-1.d: New tests.
2000-12-18  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/err-4.s: Use option -no-mix to see errors.  Adjust
for errors not being emitted at the .mode directives anymore.
* gas/sh/sh64/crange1.s, gas/sh/sh64/crange1-2.d,
gas/sh/sh64/crange1-1.d: New tests for .cranges section.
2000-12-12  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/err-3.s: New test.
* gas/sh/sh64/immexpr1.s, gas/sh/sh64/immexpr32-1.d,
gas/sh/sh64/immexpr64-1.d: New tests.
* gas/sh/sh64/immexpr2.s, gas/sh/sh64/immexpr32-2.d,
gas/sh/sh64/immexpr64-2.d: New tests.
2000-12-11  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/rel-1.s, gas/sh/sh64/rel-2.s, gas/sh/sh64/rel-3.s,
gas/sh/sh64/rel-4.s, gas/sh/sh64/rel-5.s, gas/sh/sh64/rel32-1.d,
gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d,
gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d,
gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d,
gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d,
gas/sh/sh64/rel64-5.d: New tests.
2000-12-07  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/case-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/pt32-1.d,
gas/sh/sh64/pt64-1.d, gas/sh/sh64/ptc32-1.d,
gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptext32-1.d,
gas/sh/sh64/ptext64-1.d: Correct offsets in PT/PTA/PTB expansion.
2000-12-05  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/datal-3.s, gas/sh/sh64/datal32-3.d,
gas/sh/sh64/datal64-3.d: New tests.
2000-11-27  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/datal-1.s: Remove whitespace at end of line.
* gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal64-1.d,
gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d,
gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-3.d: Correct register.
* gas/sh/sh64/mix-1.s, gas/sh/sh64/mix-1.d, gas/sh/sh64/err-4.s:
New tests.
2000-11-26  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/macros/macros.exp: Import xfail sh*-*-* from net binutils.
* gas/sh/sh64/case-1.d: Correct offsets in PT/PTA/PTB expansion.
gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt64-1.d: Ditto.
gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Ditto.
gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext64-1.d: Ditto.
2000-11-25  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Correct.
* gas/sh/sh64/datal-1.s, gas/sh/sh64/datal32-1.d,
gas/sh/sh64/datal64-1.d: New test.
* gas/sh/sh64/datal-2.s, gas/sh/sh64/datal-2.d: New test.
* gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-1.s: New test.
* gas/sh/sh64/creg-2.d, gas/sh/sh64/creg-2.s: New test.
2000-11-24  Hans-Peter Nilsson <hpn@cygnus.com>
* gas/sh/sh64: New testsuite.

22 years agoContribute sh64-elf.
Alexandre Oliva [Fri, 8 Feb 2002 06:39:01 +0000 (06:39 +0000)]
Contribute sh64-elf.
2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
* emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
in OTHER_RELOCATABLE_SECTIONS.
2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
* emulparams/shelf32.sh (STACK_ADDR): Define.
(OTHER_RELOCATABLE_SECTIONS): Renamed to...
(OTHER_SECTIONS): this.  Removed stack settings.
* emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
(OTHER_SECTIONS): Reset after sourcing shelf32.sh.
2001-03-12  DJ Delorie <dj@redhat.com>
* emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
relaxing if any shmedia or mixed sections are found.
2001-03-07  DJ Delorie <dj@redhat.com>
* emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
einfo. Gracefully decline to output to non-elf formats.
2001-03-06  Hans-Peter Nilsson <hpn@redhat.com>
* emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
Default to _end aligned to next multiple of 0x40000, plus 0x40000.
* emulparams/shelf32.sh: Ditto.
2001-01-14  Hans-Peter Nilsson <hpn@cygnus.com>
* emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
comment.
2001-01-10  Ben Elliston  <bje@redhat.com>
* emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
non-portable shell constructs. From Hans-Peter Nilsson.
2001-01-09  Hans-Peter Nilsson <hpn@cygnus.com>
* emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
* Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
dependencies to the shell script include chain.
* Makefile.in: Regenerate.
2001-01-06  Hans-Peter Nilsson <hpn@cygnus.com>
* emultempl/sh64elf.em: Update and tweak comments.
(sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
make a .cranges section SEC_IN_MEMORY.
2000-12-30  Hans-Peter Nilsson <hpn@cygnus.com>
* emultempl/sh64elf.em
(sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
.cranges section found to be necessary; continue and set stored
section contents flags for sections with non-mixed contents.
Use a struct sh64_section_data container and sh64_elf_section_data
to store contents-type flags.
Remove unused update of "isec".
(sh64_elf_${EMULATION_NAME}_after_allocation): Only process
sections marked SHF_SH5_ISA32_MIXED.  Use sh64_elf_section_data to
access contents-type flags.  Assert that the associated container
is initialized.  Use that container, not elf_gp_size, to hold size
of linker-generated cranges contents.
2000-12-18  Hans-Peter Nilsson <hpn@cygnus.com>
* emultempl/sh64elf.em
(sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
there's already a .cranges section.  When section flag difference
is found, don't NULL-check cranges a second time.  Tweak comments.
(sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
merging, not max size, as size of ld-generated .cranges contents.
Don't set ELF section flags in output section. When checking for
needed .cranges descriptors, don't use a variable; compare
incoming ELF section flags directly to SHF_SH5_ISA32_MIXED.  Tweak
comments.
2000-12-18  Hans-Peter Nilsson <hpn@cygnus.com>
* emultempl/sh64elf.em: New file.
* Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
* Makefile.in: Regenerate.
* emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
(OTHER_RELOCATING_SECTIONS): Ditto.
(EXTRA_EM_FILE): New, set to sh64elf if not set.
* emulparams/shlelf32.sh: Stub out all settings except
OUTPUT_FORMAT. Source shelf32.sh.
* emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
OTHER_RELOCATING_SECTIONS.
(OTHER_RELOCATING_SECTIONS): Remove .cranges.
* emulparams/shlelf64.sh: Stub out all settings except
OUTPUT_FORMAT. Source shelf64.sh.
2000-12-15  Hans-Peter Nilsson <hpn@cygnus.com>
* emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
.cranges section.
(DATA_START_SYMBOLS): Define, provide ___data.
(OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
for consecutive .data section.
(OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
section after .data section.
* emulparams/shlelf64.sh: Ditto.
* emulparams/shelf32.sh: Ditto.
(ALIGNMENT): Define to 8.
* emulparams/shelf32.sh: Ditto.
2000-12-12  Hans-Peter Nilsson <hpn@cygnus.com>
* configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
built-in linker scripts.
2000-11-30  Hans-Peter Nilsson <hpn@cygnus.com>
* emulparams/shlelf64.sh: New.
* emulparams/shelf64.sh: New.
* configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
targ_extra_emuls.
* Makefile.am: Add support for shlelf64 and shelf64.
* Makefile.in: Regenerate.
2000-11-29  Hans-Peter Nilsson <hpn@cygnus.com>
* configure.tgt (sh64-*-elf*): Add shelf as default.
Add shlelf to targ_extra_emuls.
2000-11-24  Hans-Peter Nilsson <hpn@cygnus.com>
* emulparams/shelf32.sh: New file.
* emulparams/shlelf32.sh: New file.
* Makefile.am: Add support for shlelf32 and shelf32.
* configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
* Makefile.in: Regenerate.