Age | Commit message (Collapse) | Author | Files | Lines |
|
For gdb.
|
|
|
|
(build_endian_shift): Don't check proc64.
(build_instruction): Always set memval to uword64. Cast op2 to
uword64 when shifting it left in memory instructions. Always use
the same code for stores--don't special case proc64.
|
|
* interp.c (xfer_mem): Change unified memory to 0x0.
|
|
|
|
relative operands.
(build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
jal instruction.
* interp.c (simJALDELAYSLOT): Define.
(JALDELAYSLOT): Define.
(INDELAYSLOT, INJALDELAYSLOT): Define.
(simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
|
|
against SEC_DEBUGGING sections here (revert patch of December 5).
* elfcode.h (elf_object_p): Check for them here, instead.
|
|
check 24bit operands for overflow.
(check_operand): Likewise.
|
|
|
|
pseudo-op for COFF and ELF.
|
|
|
|
|
|
|
|
* elf.c (_bfd_elf_canonicalize_reloc): Pass new argument to
slurp_reloc_table.
(_bfd_elf_get_dynamic_reloc_upper_bound): New function.
(_bfd_elf_canonicalize_dynamic_reloc): New function.
* elf-bfd.h (struct elf_size_info): Update declaration of
slurp_reloc_table.
(_bfd_elf_get_dynamic_reloc_upper_bound): Declare.
(_bfd_elf_canonicalize_dynamic_reloc): Declare.
* elfxx-target.h: Use new dynamic reloc routines by default.
* elf64-mips.c (mips_elf64_slurp_reloc_table): Add dynamic
parameter.
|
|
correctly for PIC on Irix 5.
|
|
* config/mips/tm-mips.h (FIX_CALL_DUMMY): Define to set up $25
correctly for PIC on Irix 5.
|
|
(RELAX_MIPS16_ENCODE): Add dslot and jal_dslot arguments, and
store them. Adjust other RELAX_MIPS16 macros.
(RELAX_MIPS16_DSLOT): Define.
(RELAX_MIPS16_JAL_DSLOT): Define.
(append_insn): Pass new arguments to RELAX_MIPS16_ENCODE. Correct
handling of whether previous instruction has a fixup. Set
prev_insn_reloc_type.
(mips_no_prev_insn): Clear prev_insn_reloc_type.
(mips16_extended_frag): Use the right base address for a PC
relative add or load.
(md_convert_frag): Likewise. If a PC relative add or load is
used, record the alignment for the section.
|
|
relative load or add now depends upon whether the instruction is
in a delay slot.
|
|
from get_pc_function_start gracefully.
|
|
* mn10300.h: Fix comment, mn10300_operand not powerpc_operand.
* v850.h: Fix comment, v850_operand not powerpc_operand.
|
|
destructor name with call to destructor_name_p.
* c-lang.h, c-typeprint.c (cp_type_print_method_args): Removed,
no longer needed.
* c-typeprint.c (c_type_print_varspec_prefix, c_type_print_base):
Replace remaining fprintf_unfiltered calls with their filtered variant.
(c_type_print_base): Do not print return type for destructors from
template classes.
Replace cp_type_print_method_args with cplus_demangle call to get
consistent type output for stubbed and unstubbed methods.
* cp-valprint.c (cp_print_class_method): Replace
cp_type_print_method_args with cplus_demangle call to get consistent
type output for stubbed and unstubbed methods.
* gdbtypes.c, gdbtypes.h (get_destructor_fn_field): New function
to find the destructor field indices for a type.
* gdbtypes.h (struct type): Clarify comments for vptr_basetype
and arg_types fields.
(struct fn_field): Remove args field, no longer used.
* symtab.c (decode_line_1), valops.c (value_struct_elt,
check_field_in): Use get_destructor_fn_field to find the destructor
field indices instead of assuming that the compiler passes the member
function fields in a specific order.
* symtab.c (find_methods): Pass NULL instead of SYMBOL_BLOCK_VALUE
to lookup_symbol.
(list_symbol): Replace cp_type_print_method_args with cplus_demangle
call in zapped out code and explain why this code is zapped out.
|
|
|
|
At the request of matra.
|
|
linkonce section into a reloc against the section symbol.
|
|
* coffcode.h (coff_set_flags): Use MC68KBCSMAGIC for bfd_arch_m68k
if NAMES_HAVE_UNDERSCORE is defined.
|
|
branch instructions.
|
|
.ifdef, to accomodate change to avoid default alignment on
embedded systems.
|
|
system, don't set the section alignment to 2**4.
(s_change_sec): Likewise.
(append_insn): Call record_alignment for the section.
(md_section_align): Don't align the section size for an embedded
ELF system.
|
|
* configure.tgt: Handle mn10200.
* emulparms/mn10200.sh: New file.
mn10200 linker. Somehow I forgot to commit everything yesterday.
|
|
symbol if the real definition is in the dynamic symbol table.
After finding the real definition, then, if it is dynamic, add the
weak symbol to the dynamic symbol table.
PR 11244.
|
|
resolved; expression symbols may have been skipped.
|
|
(gld960_set_output_arch): Get the machine type from the -A option
if there is one, rather than always using core.
PR 11255.
|
|
resolved; expression symbols may have been skipped.
PR 11240.
|
|
PR 11253.
|
|
|
|
|
|
function.
(ppcboot_bfd_print_private_bfd_data): Don't take the address of an
array.
PR 11256.
|
|
* configure.tgt: Handle mn10200.
* emulparms/mn10200.sh: New file.
mn10200 support.
|
|
|
|
* mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
Fix mask for "jmp (an)".
mn10200 disassembler works!
|
|
|
|
* gencode.c (build_instruction): Use !ByteSwapMem instead of
BigEndianMem.
* interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
(BigEndianMem): Rename to ByteSwapMem and change sense.
(BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
BigEndianMem references to !ByteSwapMem.
(set_endianness): New function, with prototype.
(sim_open): Call set_endianness.
(sim_info): Use simBE instead of BigEndianMem.
(xfer_direct_word, xfer_direct_long, swap_direct_word,
swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
ifdefs, keeping the prototype declaration.
(swap_word): Rewrite correctly.
(ColdReset): Delete references to CONFIG. Delete endianness related
code; moved to set_endianness.
|
|
* dsrec.c: #include <time.h>.
(load_srec): New argument load_offset. Print download stats.
* srec.h (load_srec): Update prototype.
* sh3-rom.c (sh3_load): Update call to load_srec.
|
|
handle endianness issues for mn10300.
|
|
opcode.
* mn10300_sim.h (simops): Add "format" field.
* interp.c (sim_resume): Deal with endianness issues here.
|
|
Yoshihiro Adachi sez the manual was wrong for this insn.
|
|
variants.
(elf32_mn10300_howto_table, mn10300_reloc_map): Likewise.
(bfd_elf32_mn10300_reloc): Write data in little endian format.
* reloc.c: Remove mn10300 big endian relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf32-mn10200.c: Update from elf32-mn10300.c.
|
|
the assembler.
|
|
issues correctly.
|
|
Use REG0_4 for indexed loads/stores.
Fixes bugs exposed after minor codegen improvements in the compiler.
|