Ian Lance Taylor
88907d73ef
* configure.in: Add cases for MIPS 5000 like MIPS 4300.
...
* configure: Rebuild.
1996-09-17 16:23:23 +00:00
Ian Lance Taylor
4dfa884891
* configure.tgt: Add cases for MIPS 5000 like MIPS 4300.
1996-09-17 16:19:44 +00:00
Ian Lance Taylor
800bda836e
* mips-opc.c: Add a case for "div" and "divu" with two registers
...
and a destination of $0.
PR 10654.
1996-09-17 16:07:41 +00:00
Dawn Perchik
5b59224e91
* ser-e7kpc.c: Added wingdb support for target e7000pc.
1996-09-17 10:16:30 +00:00
Jackie Smith Cashion
3733d1095f
Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* run.c (main): Explicitly cast malloc() parameter.
This is needed because for certain builds the size field being given
to malloc() is actually 64bits long, and without a cast or malloc
prototype the resulting value used by malloc() depended on the host
endianness, and how long long paramaters are passed into functions.
1996-09-17 10:10:35 +00:00
Jackie Smith Cashion
1db0c2f75c
Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* remote-mips.c (pmon_wait): CAIRO PMON does not require forced
re-entry back into debug mode.
1996-09-17 10:03:02 +00:00
Ian Lance Taylor
1153e84b7b
* coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D
...
reloc to 0.
(coff_arm_adjust_symndx): New static function.
(coff_adjust_symndx): Define.
Fix ld -r.
1996-09-16 22:31:16 +00:00
Ian Lance Taylor
190de8a7a6
* scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix
...
syntax error on __end__ line.
1996-09-16 22:12:46 +00:00
Ian Lance Taylor
df6b92ed1b
* scripttempl/armcoff.sc: For -N or -n, don't align .data. From
...
Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
1996-09-16 21:56:33 +00:00
Ian Lance Taylor
81530f93ef
* ieee.c (struct ieee_write_type): Add reflocalp field.
...
(ieee_pointer_type): Set reflocalp after pushing type.
(ieee_function_type): If reflocalp is set, make this type local.
(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
(ieee_const_type, ieee_volatile_type): Likewise.
(ieee_struct_field, ieee_class_baseclass): Likewise.
PR 10638.
1996-09-16 21:45:01 +00:00
Ian Lance Taylor
cd0ae55807
* configure.in: Use a single line for host_tools and native_only.
1996-09-16 21:02:11 +00:00
Ian Lance Taylor
0dcbbb6029
* ieee.c (struct ieee_info): Add global_types field.
...
(parse_ieee_bb): When starting a BB1, initialize the types field
to the global_types field.
(parse_ieee_be): When ending a BB2, copy the types field to the
global_types field.
1996-09-16 19:33:04 +00:00
Ian Lance Taylor
9859bc3192
* srec.c (srec_scan): Accept multiple symbols on a single line.
...
From Pascal Martin <pmartin@alsys.com>.
1996-09-16 17:05:12 +00:00
Ian Lance Taylor
b876014567
* README: New file.
1996-09-16 16:40:13 +00:00
Ian Lance Taylor
1540599959
* expr.c (expr): Always use unsigned right shifts for >>.
...
PR 10630.
1996-09-16 15:42:47 +00:00
Jackie Smith Cashion
aeb8f981df
Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* remote-mips.c (mips_load): Ensure that the PC is explicitly
loaded after a load to a CAIRO PMON system.
1996-09-16 13:37:02 +00:00
Jackie Smith Cashion
f24b7b69ee
Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c (sim_monitor): Improved monitor printf
simulation. Tidied up simulator warnings, and added "--log" option
for directing warning message output.
* gencode.c: Use sim_warning() rather than WARNING macro.
1996-09-16 10:47:20 +00:00
Jeff Law
9d879ade50
* emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
...
Something Mark noticed.
1996-09-16 04:09:17 +00:00
Mark Alexander
3e92569690
* emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
...
stack at top of simulator memory.
1996-09-15 17:41:13 +00:00
Michael Meissner
215ac9533c
Fix brf0{t,f}.s <label> -> instruction not to execute instruction if branch succeeds
1996-09-15 03:46:52 +00:00
Ian Lance Taylor
ad0d14e7a2
* Makefile.in (CC_FOR_BUILD): New variable.
...
(AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
(RANLIB, CC): Likewise.
(end): Use $(CC_FOR_BUILD), not $(CC).
* configure.in: Set CC_FOR_BUILD.
* configure: Rebuild.
1996-09-14 04:05:41 +00:00
Michael Meissner
19d44375ff
For unknown traps, print contents of registers and continue execution
1996-09-14 02:36:40 +00:00
Fred Fish
c03e48e87f
* Makefile.in (just-check): Add path to sibling expect dir
...
to environment variable specified by RPATH_ENVVAR.
PR 10489 (forgot one path)
1996-09-14 01:40:32 +00:00
Fred Fish
1d5eb13704
* Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
...
(HLDENV): Set to @HLDENV@.
(gdb): Prefix link command line with $(HLDENV).
* configure.in: Add support to test for --enable-shared and
generate appropriate values for HLDFLAGS and HLDENV.
* configure: Regenerated with autoconf.
PR 10489
1996-09-14 00:09:24 +00:00
Fred Fish
20ece5977c
* Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
...
(just-check): Add shared library paths for libstdc++, tk,
tcl, bfd, and opcodes to the environment variable specified
in RPATH_ENVVAR.
* configure.in: Add support to recognize --enable-shared flag
and generate correct value for RPATH_ENVVAR.
* configure: Regenerated with autoconf.
1996-09-14 00:04:09 +00:00
David Edelsohn
f8b82e49d2
* aoutf1.h (MY_bfd_merge_private_bfd_data): Define.
...
(sunos_merge_private_bfd_data): New function.
1996-09-13 22:18:58 +00:00
Ian Lance Taylor
decf286508
* objcopy.c (change_leading_char): New static variable.
...
(OPTION_CHANGE_LEADING_CHAR): Define.
(copy_options): Add "change-leading-char".
(copy_usage): Mention --change-leading-char.
(filter_symbols): Add obfd parameter. Change all callers.
Implement change_leading_char.
(copy_object): Call filter_symbols if change_leading_char.
(copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
* binutils.texi, objcopy.1: Document --change-leading-char.
1996-09-13 21:34:08 +00:00
Jeff Law
1b3b1c2d3c
* gas/h8300/macs.s: Add "stmac" instructions.
...
* gas/h8300/basic.exp: Test them.
Somehow I forgot to test "stmac".
1996-09-13 21:27:22 +00:00
Ian Lance Taylor
76d30c3f49
* bfd.c (bfd_copy_private_bfd_data): Switch on output BFD rather
...
than input BFD.
(bfd_merge_private_bfd_data): Likewise.
* section.c (bfd_copy_private_section_data): Likewise.
* syms.c (bfd_copy_private_symbol_data): Likewise.
* bfd-in2.h: Rebuild.
* aout-target.h (MY_bfd_copy_private_section_data): Check that
both BFD's are the right flavour.
* ecoff.c (_bfd_ecoff_bfd_copy_private_bfd_data): Likewise.
* elf.c (_bfd_elf_copy_private_symbol_data): Likewise.
* elf32-mips.c (_bfd_mips_elf_copy_private_bfd_data): Likewise.
(_bfd_mips_elf_merge_private_bfd_data): Likewise.
* elf32-ppc.c (ppc_elf_copy_private_bfd_data): Likewise.
(ppc_elf_merge_private_bfd_data): Likewise.
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise.
* peicode.h (pe_bfd_copy_private_section_data): Likewise.
1996-09-13 21:01:43 +00:00
Ian Lance Taylor
0a7b87358f
* elf32-hppa.c (elf_hppa_howto_table): Fill in some fields for
...
R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes
its sanity check.
1996-09-13 19:52:14 +00:00
Ian Lance Taylor
deb2a14592
* ldlex.l (SYMBOLCHARN): Add $, _, and ~.
1996-09-13 19:50:50 +00:00
Mark Alexander
65c0d7dee9
* simops.c (OP_5F00): Fix problems with system calls.
1996-09-12 19:52:40 +00:00
David Edelsohn
6cb9c90330
* cpu-m32r.c,elf32-m32r.c: New files.
1996-09-12 18:58:36 +00:00
David Edelsohn
3ebefb0701
* reloc.c: Add m32r relocs.
...
* bfd-in2.h, libbfd.h: Rebuilt.
1996-09-12 18:56:14 +00:00
Michael Meissner
a57190924d
Correct trap tracing information
1996-09-12 16:20:05 +00:00
Michael Meissner
1d00ce8392
Print line # and function name or filename if they exist for each PC.
1996-09-12 16:06:02 +00:00
Michael Meissner
9b280a864b
Store bfd pointer in a global variable
1996-09-12 15:28:40 +00:00
Ian Lance Taylor
cacfb845c8
* ieee.c (ieee_vec): Set symbol_leading_char field to '_'.
1996-09-12 15:15:06 +00:00
Jackie Smith Cashion
f17be6588b
Thu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* config/tc-arm.c (md_apply_fix3): Update two thumb instruction
slots when processing BL fixups.
* config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
on the first half of the instruction.
Thu Sep 12 10:28:44 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/thumb.s (back): Check assembly of Thumb BL.
1996-09-12 09:31:02 +00:00
Ian Lance Taylor
8ae650ea07
* ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al.
1996-09-12 03:34:28 +00:00
Michael Meissner
5ceef1b54f
fix typo
1996-09-11 22:56:25 +00:00
Ian Lance Taylor
e461da9b65
* tekhex.c (first_phase): Change type parameter from char to int.
...
(out): Likewise.
(pass_over): Change func to expect int, not char.
1996-09-11 21:08:33 +00:00
Michael Meissner
ead4a3f157
Add tracing support; Fix some problems with hardwired sizes
1996-09-11 20:54:21 +00:00
Ian Lance Taylor
1decafee51
* ecoff.c (ecoff_stab): Create an expression symbol for a complex
...
stabs expression, rather than giving an error.
1996-09-11 18:40:25 +00:00
Ian Lance Taylor
d7775b4355
* elf.c (assign_file_positions_for_segments): Test SEC_ALLOC
...
rather than SEC_LOAD when aligning the file offset for the first
section in a segment.
Fixes the case in which . is set just before the .bss section in a
linker script.
1996-09-11 15:59:34 +00:00
Fred Fish
d7deed257c
* mips-dis.c (print_insn_arg): Add prototype.
...
(_print_insn_mips): Ditto.
1996-09-11 04:26:58 +00:00
Fred Fish
ea3f058549
* syms.c (coff_section_type): Make arg const.
...
* irix-core.c (irix_core_core_file_p): Remove extraneous extra arg
to make_bfd_asection().
* elf-bfd.h (bfd_section_from_phdr): Add prototype.
* elfcode.h (bfd_section_from_phdr): Remove prototype.
(_bfd_elf_stringtab_init): Remove prototype.
* netbsd-core.c (swap_abort): Add prototype.
* aix386-core.c (swap_abort): Ditto & make static
* hpux-core.c (swap_abort): Ditto & make static.
* irix-core.c (swap_abort): Ditto & make static.
* ptrace-core.c (swap_abort): Ditto & make static.
* trad-core.c (swap_abort): Ditto & make static.
* coffswap.h (coff_swap_reloc_in): Ditto.
(coff_swap_reloc_out): Ditto.
(coff_swap_filehdr_in): Ditto.
(coff_swap_filehdr_out): Ditto.
(coff_swap_sym_in): Ditto.
(coff_swap_sym_out): Ditto.
(coff_swap_aux_in): Ditto.
(coff_swap_aux_out): Ditto.
(coff_swap_lineno_in): Ditto.
(coff_swap_lineno_out): Ditto.
(coff_swap_aouthdr_in): Ditto.
(coff_swap_aouthdr_out): Ditto.
(coff_swap_scnhdr_in): Ditto.
(coff_swap_scnhdr_out): Ditto.
* ihex.c (ihex_sizeof_headers): Ditto.
* tekhex.c (getsym): Ditto.
(find_chunk): Ditto & make static.
(insert_byte): Ditto.
(first_phase): Ditto.
(pass_over): Ditto.
(tekhex_get_symtab): Ditto & make static.
(tekhex_get_symtab_upper_bound): Ditto & make static.
(tekhex_mkobject): Ditto.
(tekhex_object_p): Ditto.
(move_section_contents): Ditto.
(tekhex_get_section_contents): Ditto.
(tekhex_set_arch_mach): Ditto & make static.
(tekhex_set_section_contents): Ditto.
(writevalue): Ditto.
(writesym): Ditto.
(out): Ditto.
(tekhex_write_object_contents): Ditto.
(tekhex_sizeof_headers): Ditto.
(tekhex_make_empty_symbol): Ditto.
(tekhex_get_symbol_info): Ditto.
(tekhex_print_symbol): Ditto.
* irix-core.c (make_bfd_asection): Ditto.
(irix_core_core_file_p): Ditto.
(irix_core_core_file_failing_command): Ditto.
(irix_core_core_file_failing_signal): Ditto.
(irix_core_core_file_matches_executable_p): Ditto.
(irix_core_make_empty_symbol): Ditto.
* coff-mips.c (mips_bfd_reloc_type_lookup): Ditto.
* srec.c (srec_new_symbol): Ditto.
(srec_get_section_contents): Ditto.
(srec_set_arch_mach): Ditto.
(srec_set_section_contents): Ditto.
(internal_srec_write_object_contents): Ditto.
(srec_write_object_contents): Ditto.
(symbolsrec_write_object_contents): Ditto.
(srec_sizeof_headers): Ditto.
(srec_make_empty_symbol): Ditto.
(srec_get_symtab_upper_bound): Ditto.
(srec_get_symtab): Ditto.
(srec_print_symbol): Ditto and make static.
* elf.c (elf_read): Ditto
(assign_section_numbers): Ditto.
(elf_fake_sections): Ditto.
(sym_is_global): Ditto.
(elf_map_symbols): Ditto.
(get_program_header_size): Ditto.
* coffgen.c (make_a_section_from_file): Ditto.
(coff_real_object_p): Ditto.
(fixup_symbol_value): Ditto.
(build_debug_section): Ditto.
(copy_name): Ditto.
* syms.c (coff_section_type): Ditto.
1996-09-11 04:25:57 +00:00
Ian Lance Taylor
475c826bb4
* ecoff.c (ecoff_new_file): Don't do anything if we are still in
...
the same file.
PR 10595.
1996-09-11 04:14:35 +00:00
Ian Lance Taylor
8a3bdc3d2a
* config/tc-mips.c (append_insn): Fill in the value for a constant
...
jump, rather than creating a reloc.
PR 10589.
1996-09-10 15:47:16 +00:00
Jeff Law
00d7a64b5f
* bfd-in2.h: Rebuilt after m32r changes.
1996-09-10 04:35:48 +00:00