Alan Modra
189c656394
* 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.
2002-02-12 11:08:27 +00:00
Alexandre Oliva
d36ca9c23a
* MAINTAINERS: Added self as MN10300 co-maintainer.
2002-02-12 09:50:55 +00:00
Alexandre Oliva
e948afafdb
* elf-m10300.c (mn10300_elf_relax_section): Skip section before
...
loading its contents if there's nothing to do in it.
2002-02-12 09:25:39 +00:00
Alexandre Oliva
913572ec08
* 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.
2002-02-12 07:41:35 +00:00
Alan Modra
0ad3a73b15
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing
...
64k boundary.
2002-02-12 06:34:57 +00:00
Alan Modra
1939742290
Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags
2002-02-12 06:31:29 +00:00
Tom Rix
9b90b531ee
Fix minimal-toc with -maix64
2002-02-12 03:59:33 +00:00
Richard Earnshaw
aeb98c6089
* arm-linux-nat.c: Really include arm-tdep.h.
...
* config/arm/tm-linux.h (struct type, struct value): Declare.
2002-02-12 00:59:27 +00:00
gdbadmin
7650f1f042
*** empty log message ***
2002-02-12 00:00:04 +00:00
Chris Demetriou
074e9cb865
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.
2002-02-11 23:35:07 +00:00
Alan Modra
5111c622d6
daily update
2002-02-11 23:00:05 +00:00
Chris Demetriou
9805e2294e
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.
2002-02-11 22:49:45 +00:00
Daniel Jacobowitz
d434e57428
2002-02-11 Daniel Jacobowitz <drow@mvista.com>
...
* MAINTAINERS: List myself as branch maintainer.
2002-02-11 19:06:49 +00:00
Richard Earnshaw
34e8f22ded
* 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.
2002-02-11 18:34:12 +00:00
Alexandre Oliva
56930d376b
* sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
...
sign-extended.
2002-02-11 13:24:51 +00:00
Alexandre Oliva
6c1b24e42f
* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
...
Use all over.
2002-02-11 13:24:06 +00:00
Richard Earnshaw
fcfb88363b
Missed a bit.
2002-02-11 12:48:20 +00:00
Richard Earnshaw
148754e5ad
* 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.
2002-02-11 12:42:03 +00:00
Jan Hubicka
7ecd2f8b9d
* i386.c (md_assemble): Support 32bit address prefix.
...
(i386_displacement): Likewise.
(i386_index_check): Accept 32bit addressing in 64bit mode.
2002-02-11 12:00:54 +00:00
Jan Hubicka
85a33fe281
* 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.
2002-02-11 11:56:20 +00:00
Alexandre Oliva
0f8b890409
* 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.
2002-02-11 07:56:03 +00:00
Alexandre Oliva
518313c3d6
* 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.
2002-02-11 06:17:43 +00:00
Alexandre Oliva
7eb27ef29f
* config/tc-sh.c (dot): Removed unused function.
2002-02-11 06:14:41 +00:00
Alexandre Oliva
fb6de7f3cc
* ld-sh/shared-1.d: Fix relocation addend.
2002-02-11 06:14:12 +00:00
Chris Demetriou
f701dad2ba
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.
2002-02-11 06:13:49 +00:00
Alan Modra
06880219d1
* Makefile.in: Regenerate.
2002-02-11 05:18:20 +00:00
Alan Modra
6f53ec68d9
* Makefile.am: "make dep-am".
...
* Makefile.in: Regenerate.
2002-02-11 05:14:46 +00:00
Alan Modra
fa70252417
bah, missed it.
2002-02-11 05:13:05 +00:00
Alan Modra
9253c5e5c1
* Makefile.am: "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
2002-02-11 05:12:26 +00:00
Alan Modra
12b87c89b6
* configure: Regenerate.
...
* objcopy.c: Update copyright date.
* doc/Makefile.in: Regenerate.
2002-02-11 05:08:42 +00:00
Alan Modra
2c73f9d861
* Makefile.am: "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2002-02-11 05:05:09 +00:00
Michael Chastain
9a81ba5174
2002-02-10 Michael Chastain <mec@shout.net>
...
* gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
(call_after_alloca): Ditto.
2002-02-11 04:47:59 +00:00
Daniel Jacobowitz
434d2d4f74
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.
2002-02-11 03:21:53 +00:00
Daniel Jacobowitz
37b0ac0fc8
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
...
* lexsup.c: Remove strtoul declaration.
2002-02-11 02:41:37 +00:00
Daniel Jacobowitz
8d037c5c93
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
...
* nlmconv.c: Back out localtime PARAMS change.
2002-02-11 02:41:16 +00:00
Alan Modra
4c168fa3f7
* objcopy.c (MKDIR): Define.
...
(copy_archive): Make name_list.name const. Use MKDIR.
Handle duplicate files in archives by making more temp dirs.
2002-02-11 02:34:14 +00:00
Chris Demetriou
20ae00985d
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.
2002-02-11 02:19:38 +00:00
Daniel Jacobowitz
d426c6b07f
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.
2002-02-11 02:17:39 +00:00
gdbadmin
cd0b1e215c
*** empty log message ***
2002-02-11 00:00:03 +00:00
Richard Henderson
625e135305
* doc/c-alpha.texi: New file.
...
* doc/Makefile.am (CPU_DOCS): Add it.
* doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
2002-02-10 23:25:17 +00:00
Chris Demetriou
6439295f61
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.
2002-02-10 23:11:37 +00:00
Alan Modra
e55c0b759b
daily update
2002-02-10 23:00:43 +00:00
Hans-Peter Nilsson
ca0f2ed6f8
* 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.
2002-02-10 20:40:56 +00:00
Hans-Peter Nilsson
e58ee0cdf8
* config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64
...
vectors.
(sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64
vectors.
2002-02-10 20:37:45 +00:00
Daniel Jacobowitz
4e5bae56d4
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.
2002-02-10 19:12:13 +00:00
Daniel Jacobowitz
34b0f91d24
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
...
* cgen-dis.c: Add prototypes for count_decodable_bits
and add_insn_to_hash_chain.
2002-02-10 19:03:14 +00:00
Daniel Jacobowitz
67d89b8805
Update copyright date per last commit.
2002-02-10 19:01:19 +00:00
Daniel Jacobowitz
02f6ffef07
Update copyright date from last commit.
2002-02-10 19:00:00 +00:00
Daniel Jacobowitz
23f572c231
Update copyright date.
2002-02-10 18:58:26 +00:00
Daniel Jacobowitz
82fe033f4c
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.
2002-02-10 18:52:30 +00:00