Ian Lance Taylor
2032ade97b
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
...
* configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and
mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and
elf32elmip.
1997-03-28 19:34:34 +00:00
Ian Lance Taylor
de386cf61f
fix comment
1997-03-28 19:27:51 +00:00
Ian Lance Taylor
515c71428d
From Ralf Baechle <ralf@gnu.ai.mit.edu>:
...
* configure.in: Set emulations for mips-*-linux*-*.
* configure: Rebuild.
1997-03-28 19:25:01 +00:00
Ian Lance Taylor
1347404a58
* config/tc-mips.c (struct mips_set_options): Define.
...
(mips_opts): New static variable.
(mips_isa): Remove. Now a field in mips_opts. Change all
references.
(mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
(mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
(struct mips_option_stack): Define.
(mips_opts_stack): New static variable.
(s_mipsset): Add support for .set push and .set pop.
* doc/c-mips.texi: Document .set push and .set pop.
1997-03-28 19:18:11 +00:00
Ian Lance Taylor
bebe5fbfd8
* coff-mips.c (mips_ecoff_backend_data): Initialize new
...
bfd_coff_backend_data field.
* coff-alpha.c (alpha_ecoff_backend_data): Likewise.
1997-03-28 19:01:48 +00:00
Ian Lance Taylor
acdc7ce30e
* config/obj-elf.c (obj_elf_section_change_hook): New function.
...
* config/obj-elf.h (obj_elf_section_change_hook): Declare it.
* config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
1997-03-28 18:10:09 +00:00
Ian Lance Taylor
f0315e65fa
* config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs
...
for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu
<hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>.
1997-03-28 17:39:23 +00:00
Ian Lance Taylor
af65db5730
* configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
...
* configure, config.in: Rebuild.
* sysdep.h: Include <stdlib.h> if it exists.
* sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
<string.h>.
* Makefile.in: Rebuild dependencies.
1997-03-28 17:11:55 +00:00
Ian Lance Taylor
88a257cbfb
* ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
...
Andrew Bray <andy@madhouse.demon.co.uk>.
1997-03-28 17:07:47 +00:00
Ian Lance Taylor
f3f3b47503
* bfd.c: Include "libiberty.h".
...
(strerror): Don't declare.
(bfd_errmsg): Call xstrerror rather than strerror.
1997-03-28 16:56:57 +00:00
Jason Molenda
253c591b40
* Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
...
default, not $(srcdir).
1997-03-28 08:04:44 +00:00
Geoffrey Noer
01c5ffac4e
Thu Mar 27 15:52:40 1997 Geoffrey Noer <noer@cygnus.com>
...
* mh-cygwin32: override CXXFLAGS, setting to -O2 only
(no debug)
1997-03-27 23:55:00 +00:00
Mark Alexander
b68b97830b
* remote-mips.c: Clean up comment and extraneous semicolon
...
for mips_monitor_prompt variable.
1997-03-27 22:25:51 +00:00
Ian Lance Taylor
d2ee1370c2
* gprof.c (main): Correct copyright message.
1997-03-27 22:18:17 +00:00
Ian Lance Taylor
5fd92ccd14
* lexsup.c (parse_args): Update copyright date in version
...
message.
1997-03-27 22:14:57 +00:00
Ian Lance Taylor
e22e79dc43
* as.c (parse_args): Update copyright date in version message.
1997-03-27 22:13:23 +00:00
Mark Alexander
8e493b6178
* remote-mips.c: Add `set monitor-prompt' command.
1997-03-27 22:09:34 +00:00
Ian Lance Taylor
2483354d4b
Based on patch from Marty Leisner <leisner@sdsp.mc.xerox.com>:
...
* objcopy.c: Include <utime.h> or <sys/time.h>.
(strip_options): Add "preserve-dates".
(copy_options): Likewise.
(copy_usage): Mention -p and --preserve-dates.
(strip_usage): Likewise.
(make_same_dates): New static function.
(strip_main): Handle -p.
(copy_main): Likewise.
* binutils.texi, strip.1, objcopy.1: Document new option.
1997-03-27 22:02:46 +00:00
Ian Lance Taylor
8d9b566dc5
mention addr2line
1997-03-27 21:37:03 +00:00
Ian Lance Taylor
fb38844dcb
addr2line.c contributed by Ulrich Lauther
...
<Ulrich.Lauther@zfe.siemens.de>:
* addr2line.c: New file.
* Makefile.in: Rebuild dependencies.
(ADDR2LINE_PROG): New variable.
(MANPAGES): Add addr2line.
(PROGS): Add $(ADDR2LINE_PROG).
(CFILES): Add addr2line.c.
($(ADDR2LINE_PROG)): New target.
* binutils.texi: Document addr2line.
* addr2line.1: New file.
1997-03-27 21:35:00 +00:00
Ian Lance Taylor
6d17c8eb26
* version.c (print_version): Update copyright date.
1997-03-27 21:03:14 +00:00
Ian Lance Taylor
a21e1e96be
* mips-opc.c: Add cast when setting mips_opcodes.
1997-03-27 19:25:01 +00:00
Ian Lance Taylor
9b8b7e970e
* Makefile.in (clean-here): Remove dependency files.
1997-03-27 18:52:00 +00:00
Ian Lance Taylor
eb80d52a27
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY
...
reloc even if the symbol is in the .bss section.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
1997-03-27 18:45:20 +00:00
Ian Lance Taylor
f89adeb774
* coffcode.h (bfd_coff_backend_data): Add new field
...
_bfd_coff_default_section_alignment_power.
(bfd_coff_default_section_alignment_power): Define.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* cofflink.c (coff_link_add_symbols): Limit alignment of a common
symbol to the default section alignment.
1997-03-27 18:01:55 +00:00
Ian Lance Taylor
013b249fef
* COPYING: Update FSF address.
1997-03-27 17:56:03 +00:00
Ian Lance Taylor
23ac3ca1f0
* read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
...
(s_mri_common): Check S_IS_COMMON unconditionally.
* symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
* config/tc-alpha.c (s_alpha_comm): Likewise.
* config/tc-mips.c (nopic_need_relax): Likewise.
* config/tc-ppc.c (ppc_elf_lcomm): Likewise.
(ppc_pe_comm): Likewise.
* config/obj-elf.c (obj_elf_common): Likewise. Set segment of
common symbol to bfd_com_section_ptr.
* config/tc-sparc.c (s_common): Likewise.
(tc_gen_reloc): Likewise.
1997-03-27 17:31:06 +00:00
Martin Hunt
0e9c437767
Thu Mar 27 00:45:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the
21-bit absolute that made it act as a relative.
1997-03-27 08:48:14 +00:00
Martin Hunt
8c0714dc0d
Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d30.exp: Add test case reloc.
* reloc.[sd]: New files to test relocations.
1997-03-27 08:44:55 +00:00
Martin Hunt
e35ed894f7
Thu Mar 27 00:42:28 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* gas/d30v/d30.exp: Add test case reloc.
* gas/d30v/reloc.[sd]: New files to test relocations.
1997-03-27 08:44:39 +00:00
Martin Hunt
80834add01
Thu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c (md_apply_fix3): Get the relocs right.
1997-03-27 08:41:18 +00:00
Ian Lance Taylor
8cd0c287b0
* listing.c (print_lines): Add lineno parameter. Change all
...
callers.
(listing_listing): Only call calc_hex for the right line.
(listing_list): Set the new edict based on the current edict, in
order to handle listing commands in macros correctly.
1997-03-26 22:26:14 +00:00
Ian Lance Taylor
537327bc62
* elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
...
if it is needed.
1997-03-26 19:51:12 +00:00
Ian Lance Taylor
734a9064b6
Wed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
...
* config/tc-i386.c (tc_i386_fix_adjustable): Only define if
BFD_ASSEMBLER.
1997-03-26 18:36:17 +00:00
Ian Lance Taylor
e807a57e6f
* config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
...
instructions.
1997-03-26 17:23:34 +00:00
Ian Lance Taylor
efda47f9ff
* cond.c (cond_finish_check): New function.
...
* as.h (cond_finish_check): Declare.
* as.c (main): Call cond_finish_check.
1997-03-26 16:38:42 +00:00
Michael Meissner
453d62fcfb
Add libgloss, G++ libraries to tic80 builds
1997-03-26 15:41:04 +00:00
Mark Alexander
4a3150f58a
Fix from Peter Schauer:
...
* mdebugread.c (parse_procedure): Set address of procedure to
block start; this fixes problems with shared libraries introduced
by change of Mar 21.
1997-03-26 14:48:59 +00:00
Stu Grossman
60d1227a31
* aoutx.h (some_aout_object_p): Change executable test to fix
...
problems with embedded a.out systems.
1997-03-26 06:53:10 +00:00
Geoffrey Noer
89f6ecb17b
Tue Mar 25 18:16:43 1997 Geoffrey Noer <noer@cygnus.com>
...
* mh-cygwin32: override LIBGCC2_DEBUG_CFLAGS so debug info
isn't included in cygwin32-hosted libgcc2.a by default
1997-03-26 02:21:57 +00:00
Andrew Cagney
0391b23d7b
Handle BSD make and its liking for `set -e'
1997-03-26 01:50:19 +00:00
Martin Hunt
710fdf4735
Tue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d30v.c (md_assemble): If two instructions
are supposed to be assembled in parallel and the first one is
long, print an error and stop.
(md_apply_fix3): Don't calculate absolute relocs. Just write
them out.
1997-03-25 22:49:26 +00:00
Ian Lance Taylor
6717fb0de0
* stabs.c (_bfd_stab_section_offset): New function.
...
* libbfd-in.h (_bfd_stab_section_offset): Declare.
* libbfd.h: Rebuild.
* elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a
stab reloc.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
1997-03-25 20:49:31 +00:00
Ian Lance Taylor
3cd5cf3d40
* stabs.c (_bfd_link_section_stabs): Copy over the first header
...
symbol. Check for memory allocation failure of *psinfo.
(_bfd_write_section_stabs): Add psinfo parameter. Change all
callers. Set the value of the header symbol.
* libbfd-in.h (_bfd_write_section_stabs): Update declaration.
* libbfd.h: Rebuild.
1997-03-25 19:46:12 +00:00
Ian Lance Taylor
3b111d29fb
* stabs.texinfo (Stab Section Basics): Make it clear that only
...
some versions of the GNU linker remove the leading N_UNDF symbol.
1997-03-25 19:44:43 +00:00
Andrew Cagney
332cb0a763
* emul_bugapi.c (emul_bugapi_create): Guard against NULL images.
...
* configure.in (enable-sim-endain): Correct typo in usage (from
Erik Landry <landry@ENGR.ORST.EDU>).
* configure: Re-generate.
1997-03-25 05:06:12 +00:00
Geoffrey Noer
2f472f924c
Mon Mar 24 19:43:16 1997 Geoffrey Noer <noer@cygnus.com>
...
* symtab.c (find_pc_symtab): change to support the case
where the objfile is reordered and contains both coff and
stabs debugging info (continue on if a psymtab isn't found).
1997-03-25 03:47:14 +00:00
Fred Fish
67e87a1d4f
* coff-tic80.c (tic80_howto_table): Add R_ABS entry.
...
(rtype2howto): Handle R_ABS reloc type. Also abort on unhandled
reloc types, rather than silently failing to generate an output file.
1997-03-25 03:07:35 +00:00
Jeff Law
292a8231f4
* gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
...
* gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
* gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
disassembler testsuite for the mn10300.
1997-03-24 21:48:36 +00:00
David Edelsohn
718a5c17ea
Remove m32r sanitization.
1997-03-24 21:29:21 +00:00