aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-12-15mention mips16Ian Lance Taylor1-0/+4
1996-12-15objdump --dynamic-reloc now works with ELFIan Lance Taylor1-0/+5
1996-12-15 * elfcode.h (elf_slurp_reloc_table): Add dynamic parameter.Ian Lance Taylor6-181/+459
* 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.
1996-12-15 * config/mips/tm-mips.h (FIX_CALL_DUMMY): Define to set up $25Mark Alexander1-1/+5
correctly for PIC on Irix 5.
1996-12-15 * mips-tdep.c (mips_push_arguments): Handle floating point args.Mark Alexander2-115/+203
* config/mips/tm-mips.h (FIX_CALL_DUMMY): Define to set up $25 correctly for PIC on Irix 5.
1996-12-15 * config/tc-mips.c (prev_insn_reloc_type): New static variable.Ian Lance Taylor2-26/+100
(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.
1996-12-15 * mips-dis.c (print_mips16_insn_arg): The base address of a PCIan Lance Taylor1-0/+6
relative load or add now depends upon whether the instruction is in a delay slot.
1996-12-14 * i386-tdep.c (i386_frame_find_saved_regs): Handle zero returnPeter Schauer1-0/+5
from get_pc_function_start gracefully.
1996-12-14 * mn10200.h: Fix comment, mn10200_operand not powerpc_operand.Fred Fish3-1/+136
* mn10300.h: Fix comment, mn10300_operand not powerpc_operand. * v850.h: Fix comment, v850_operand not powerpc_operand.
1996-12-14 * c-exp.y (qualified_name): Replace explicit check for validPeter Schauer9-156/+186
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.
1996-12-13Make __{e,g}p correctly start relative to the beginning of the section; CleanupMichael Meissner2-84/+150
1996-12-13 * libaout.h (enum machine_type): Change M_SPARCLET from 142 to 131.David Edelsohn2-2/+5
At the request of matra.
1996-12-13 * write.c (adjust_reloc_syms): Don't reduce a reloc against aIan Lance Taylor2-0/+21
linkonce section into a reloc against the section symbol.
1996-12-13Fri Dec 13 13:18:49 1996 Dan Wilder <dan@gasboy.com>Ian Lance Taylor2-2/+19
* coffcode.h (coff_set_flags): Use MC68KBCSMAGIC for bfd_arch_m68k if NAMES_HAVE_UNDERSCORE is defined.
1996-12-13 * config/tc-mips.c (mips16_macro): Remove nop instructions afterIan Lance Taylor2-4/+5
branch instructions.
1996-12-13 * gas/mips/*.[sd]: Add explicit nops, sometimes controlled byIan Lance Taylor3-2/+13
.ifdef, to accomodate change to avoid default alignment on embedded systems.
1996-12-13 * config/tc-mips.c (md_begin): If configured for an embedded ELFIan Lance Taylor2-9/+45
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.
1996-12-13 * Makefile.in (emn10200.c): Add dependencies.Jeff Law3-2/+16
* configure.tgt: Handle mn10200. * emulparms/mn10200.sh: New file. mn10200 linker. Somehow I forgot to commit everything yesterday.
1996-12-13 * elflink.h (elf_link_add_object_symbols): Only add a weakIan Lance Taylor2-4/+20
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.
1996-12-12 * config/obj-coff.c (fixup_segment): Make sure that symbols areIan Lance Taylor2-1/+9
resolved; expression symbols may have been skipped.
1996-12-12 * emultempl/gld960c.em: Include <ctype.h>.Ian Lance Taylor2-0/+201
(gld960_set_output_arch): Get the machine type from the -A option if there is one, rather than always using core. PR 11255.
1996-12-12 * write.c (adjust_reloc_syms): Make sure that symbols areIan Lance Taylor2-1/+16
resolved; expression symbols may have been skipped. PR 11240.
1996-12-12 * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Make static.Ian Lance Taylor1-0/+2
PR 11253.
1996-12-12Support BFD_RELOC_24_PLT_PCREL relocationMichael Meissner1-0/+9
1996-12-12Support R_PPC_PLTREL24Michael Meissner2-27/+222
1996-12-12 * ppcboot.c (ppcboot_set_arch_mach): Don't define; it's aIan Lance Taylor1-1/+19
function. (ppcboot_bfd_print_private_bfd_data): Don't take the address of an array. PR 11256.
1996-12-12 * Makefile.in (emn10200.c): Add dependencies.Jeff Law1-0/+20
* configure.tgt: Handle mn10200. * emulparms/mn10200.sh: New file. mn10200 support.
1996-12-12Add ../sim/common/libcommon.aMichael Meissner2-1/+10
1996-12-12 * mn10200-dis.c: Finish writing disassembler.Jeff Law3-134/+95
* mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn". Fix mask for "jmp (an)". mn10200 disassembler works!
1996-12-12 * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.Mark Alexander1-1/+1
1996-12-11For NEC 4100/4300 project: Add little endian support and misc cleanups.Jim Wilson1-1/+1
* 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.
1996-12-11 * monitor.c (monitor_load): Add support for load address argument.David Edelsohn3-5/+14
* 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.
1996-12-11 * mn10300-dis.c (disassemble, print_insn_mn10300): CorrentlyJeff Law1-50/+158
handle endianness issues for mn10300.
1996-12-11 * gencode.c (write_opcodes): Also write out the format of theJeff Law1-3/+4
opcode. * mn10300_sim.h (simops): Add "format" field. * interp.c (sim_resume): Deal with endianness issues here.
1996-12-11 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".Jeff Law2-1/+5
Yoshihiro Adachi sez the manual was wrong for this insn.
1996-12-11 * elf32-mn10300.c (reloc_type): Remove big endian mn10300 relocJeff Law2-45/+287
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.
1996-12-11 * gas/mn10300/basic.exp: Update after endianness changes toJeff Law1-0/+3
the assembler.
1996-12-11 * config/tc-mn10300.c (md_assemble): Update to handle endiannessJeff Law1-7/+83
issues correctly.
1996-12-10 * simops.c (REG0_4): Define.Jeff Law2-8/+14
Use REG0_4 for indexed loads/stores. Fixes bugs exposed after minor codegen improvements in the compiler.
1996-12-10Tue Dec 10 13:51:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* config/tc-d10v.c (write_2_short): Remove code that called parallel_ok() when the programmer specified parallel instructions.
1996-12-10 * config/tc-mips.c (append_insn): Make sure there is enough roomIan Lance Taylor1-0/+4
in a frag after a mips16 instruction to switch it with a jump instruction.
1996-12-10 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2Jeff Law2-2/+5
instruction. Fix opcode field for "movb (imm24),dn". Stuff found by the testsuite.
1996-12-10 * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests.Jeff Law10-107/+227
* gas/mn10200/{movb.s, movbu.s}: Likewise. * gas/mn10200/basic.exp: Run them. We correctly assemble & insert operands for all mn10200 instructions.
1996-12-10For NEC 4100/4300 projectJim Wilson3-69/+145
* gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits. * interp.c (CHECKHILO): Define away. (simSIGINT): New macro. (membank_size): Increase from 1MB to 2MB. (control_c): New function. (sim_resume): Rename parameter signal to signal_number. Add local variable prev. Call signal before and after simulate. (sim_stop_reason): Add simSIGINT support. (sim_warning, sim_error, dotrace, SignalException): Define as stdarg functions always. (sim_warning): Delete call to SignalException. Do call printf_filtered if logfh is NULL. (AddressTranslation): Add #ifdef DEBUG around debugging message and a call to sim_warning.
1996-12-10 * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!Jeff Law2-1/+6
* config/tc-mn10300.c (md_assemble): Likewise. Found by mn10200 gas testsuite.
1996-12-10 * mn10200-opc.c (mn10200_operands): Fix insertion positionJeff Law2-1/+6
for DI operand. Found by gas testsuite.
1996-12-10 * config/tc-mips.c (mips16_extended_frag): Give an error for anIan Lance Taylor2-0/+7
attempt to use a non absolute symbol in an extending frag.
1996-12-10New revision from AndrewMichael Meissner8-377/+3635
1996-12-10 * app.c (do_scrub_chars): At the end of a C comment, pass space toIan Lance Taylor1-0/+3
UNGET rather than PUT. Set old_state before setting state to -2. PR 11229.
1996-12-10Mon Dec 9 17:34:05 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-5/+16
* config/mn10300/tm-mn10300.h: more small register fixes * mn10300-tdep.c: filled in from another target