Ian Lance Taylor
72f70020f3
* config/obj-coff.c (fixup_segment): Don't adjust PC relative
...
reloc for the i960 for a reloc in the same section. This undoes
one of the two changes made Aug 19.
PR 10672.
1996-09-19 16:25:11 +00:00
Ian Lance Taylor
e425358ff1
* xcofflink.c (xcoff_link_add_symbols): Always initialize
...
keep_syms.
(_bfd_xcoff_bfd_final_link): Don't set target_index
to an uninitialized value.
1996-09-19 15:08:58 +00:00
Michael Meissner
f061ddf67d
Make sure there is a trailing space after the instruction
1996-09-19 15:06:37 +00:00
Michael Meissner
891513ee79
Provide macros that can be overriden for the width of the PC & line number fields
1996-09-19 15:02:27 +00:00
Michael Meissner
74473ea10c
Add dependencies on lib{bfd,iberity}.a
1996-09-19 14:31:01 +00:00
Ian Lance Taylor
913d896f5b
* gas/all/cofftag.s: Use .p2align rather than .align.
1996-09-18 16:15:10 +00:00
Ian Lance Taylor
ab2998440b
* config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
...
symbols to the position of the debugging information.
PR 10668.
1996-09-18 16:14:29 +00:00
Michael Meissner
0535fa1aa0
Rename sim_bfd -> exec_bfd for gdb compatibility
1996-09-18 13:56:57 +00:00
Michael Meissner
a49a15ade8
Make exit/stop return correct exit value; Add line number tracing.
1996-09-18 13:23:31 +00:00
Martin Hunt
8ebc98911a
Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* tm-d10v.h: Snapshot.
1996-09-18 01:50:06 +00:00
Martin Hunt
e05bda9f12
Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
1996-09-18 01:49:50 +00:00
Ian Lance Taylor
8d784abe56
* coff-sh.c (sh_relocate_section): Check for an illegal symbol
...
index.
1996-09-17 20:10:59 +00:00
Ian Lance Taylor
7f21c97c44
* coffcode.h (coff_slurp_line_table): Warn about illegal symbol
...
indices, rather than crashing.
(coff_slurp_reloc_table): Likewise. Check whether the howto field
is NULL.
1996-09-17 18:20:06 +00:00
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