Commit Graph

15103 Commits

Author SHA1 Message Date
Ian Lance Taylor 80b99ca092 * elfcore.h: Include <signal.h> before <sys/procfs.h>.
PR 8807.
1996-01-18 22:42:41 +00:00
Ian Lance Taylor 5826ca4cee * demangle.h (cplus_demangle_opname): Change opname parameter to
const char *.
	(cplus_mangle_opname): Change return type and opname parameter to
	const char *.
1996-01-18 16:33:36 +00:00
Fred Fish 935e77f54e Fix typo in comment. 1996-01-17 22:29:53 +00:00
J.T. Conklin 264dac7c64 * srconv.c (wr_du): Set du.stackfrmt to 0.
(wr_un, wr_sc): Emit all sections, even those with 0 size.
1996-01-17 22:27:12 +00:00
Stan Shebs b676862706 * remote-hms.c (hms_ops): Add value for to_thread_alive.
* remote-nindy.c (nindy_ops): Ditto.
	* remote-udi.c (udi_ops): Ditto.
PR 8839.
1996-01-17 21:26:28 +00:00
Jeff Law 2684fbdb80 Remove temporary file when finished. 1996-01-17 21:16:59 +00:00
David Edelsohn df9bd7f665 There's some question as to whether this stuff is NDA'd in the Ultrasparc
Early Access Program agreement.  Sanitize v8plus stuff out for now.
1996-01-17 20:50:32 +00:00
Ian Lance Taylor df96df4caf * cpu-powerpc.c (arch_info_struct): Change last entry to not point
back to first.
	(bfd_powerpc_arch): Point at first entry in arch_info_struct.
1996-01-17 17:48:30 +00:00
David Edelsohn e46bbae22b (EM_SPARC32PLUS): Define.
I have a question outstanding to Sun regarding EM_SPARC64.
1996-01-17 17:13:25 +00:00
David Edelsohn 5a51a470f9 New file.
(Also delete arc.h ChangeLog entry, it's still sanitized).
1996-01-17 17:10:32 +00:00
J.T. Conklin 9ac5703369 * srconv.c (wr_hd): Space size within segment was being
stored in segment identifier field.
1996-01-17 00:17:13 +00:00
Jim Wilson b9a48f1406 Fix sanitize problems with new file ChangeLog-95. 1996-01-16 22:40:45 +00:00
Ian Lance Taylor d49ddb8575 * elf.c (assign_file_positions_for_segments): Don't increment file
offset for a segment which contains no loadable sections.
1996-01-16 20:53:04 +00:00
Ian Lance Taylor a411bea023 * ldgram.y (%union): Add phdr field.
(phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at.
	(phdr_qualifiers): New nonterminal.  Add support for FLAGS.
	(opt_hdrs, hdr): Remove.
	(phdr_val): New nonterminal.
	* ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr
	and phdrs parameters.  Add flags parameter.
	(lang_record_phdrs): Update for changes to lang_phdr.  Pass flags
	to bfd_record_phdr.
	* ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and
	phdrs fields.  Add flags field.
	(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove.
	(lang_new_phdr): Update declaration.
	* ld.texinfo: Document FLAGS.
1996-01-16 20:51:22 +00:00
Jim Wilson a7aa92e2cd Remove SH3e sanitization. 1996-01-16 20:18:32 +00:00
Jim Wilson 50f8134fa9 Remove sh3e sanitization. Keep sh3e files. 1996-01-16 20:16:41 +00:00
Jim Wilson 48573afd23 Remove SH3e sanitization. 1996-01-16 20:13:27 +00:00
Jim Wilson a61bc32c3d Keep SH3e testsuite. 1996-01-16 20:12:24 +00:00
Stan Shebs dda8716b94 * mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
BUILD_DLLTOOL): Put definitions for these into makefile when
	configuring, instead of always clearing in mpw-make.sed.
	* mpw-make.sed: Edit out any host_alias or target_alias settings,
	fix pathname to BFD internal include files, remove dependency
	calculation rules.
1996-01-16 20:12:17 +00:00
Jim Wilson 130c6e3d59 Remove sh3e sanitization. 1996-01-16 19:59:48 +00:00
Jim Wilson fd614e066c Delete obsolete SH3e sanitization. 1996-01-16 19:55:27 +00:00
Stu Grossman 640086fd70 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
specified on the make command line (via make LIBS=xxx).
start-sanitize-gm
	* configure.in (enable-gm):  magic.o -> gmagic.o.
end-sanitize-gm
1996-01-16 19:53:13 +00:00
Jackie Smith Cashion 090d784aaf Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
 	pmon_checkset, pmon_make_fastrec, pmon_check_ack,
	pmon_load_fast): New functions. Support for the PMON monitor world.
	(common_open): New function to merge support for different monitors.
	(mips_open): Use common_open().
	(mips_send_command): New function.
	(mips_send_packet): Scan out-of-sequence packets.
	(mips_enter_debug, mips_exit_debug): New functions.
	(pmon_ops): New target definition structure.

These changes provide the initial support for the PMON (3.0.83)
monitor that appears on the Cogent (CMA101) Vr4300 development
board. The changes do not affect the IDT monitor support, other than
in the area of dealing with out-of-sequence packets.
1996-01-16 18:24:44 +00:00
Michael Meissner 4ffd6ed0f3 Make {add to,subtract from} minus one; Make -t alu work better 1996-01-16 16:21:17 +00:00
Ian Lance Taylor 854efa68e8 * binutils-all/objcopy.exp: Use the lma, not the vma, when testing
address adjustments.
1996-01-15 23:14:52 +00:00
Michael Meissner 4500a1128e Add new PPC relocations 1996-01-15 22:50:07 +00:00
Michael Meissner c682be533c Add more relocation suffixes 1996-01-15 22:46:10 +00:00
Ian Lance Taylor 0bc9a7d2fb * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
Don't make a shared library because of an undefined reference to
	__GLOBAL_OFFSET_TABLE_.
1996-01-15 22:38:22 +00:00
Ian Lance Taylor 20ab764e38 * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22
entries.
1996-01-15 22:37:16 +00:00
Ian Lance Taylor 0a4ffa2dc4 * sunos.c (sunos_scan_ext_relocs): Don't fail assert if
info->shared.
1996-01-15 22:00:38 +00:00
Ian Lance Taylor 6014cea70c update copyrights 1996-01-15 21:06:31 +00:00
Ian Lance Taylor 45ca3195d5 * coffgen.c (coff_find_nearest_line): Don't try to cache
information in sections that are not owned by a BFD.  From Richard
	Henderson <richard@atheist.tamu.edu>.
1996-01-15 20:47:32 +00:00
Ian Lance Taylor 252239f877 * elf32-mips.c: Numerous changes to dynamic linking code, mostly
from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
	* elflink.h (elf_link_output_extsym): Remove special check for
	_rld_new_interface.
1996-01-15 20:25:53 +00:00
Ian Lance Taylor fe1379d45a Add some Irix 5 support, mostly from Kazumoto Kojima
<kkojima@info.kanagawa-u.ac.jp>:
	* emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
	(SHLIB_TEXT_START_ADDR): Define.
	(OTHER_GOT_SYMBOLS): Define.
	(OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
	(EXECUTABLE_SYMBOLS): Don't define.
	(DYNAMIC_LINK): Don't define.
	* emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
	* scripttempl/elfmips.sc: New file.
	* configure.host (mips*-dec-bsd*): Change mips to mips*.
	(mips*-sgi-irix4*): Likewise.
	(mips*-sgi-irix5*): New entry.
	* Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
	elf.sc.
	(eelf32lmip.c): Likewise.
1996-01-15 20:13:04 +00:00
Ian Lance Taylor 21a3c2ff37 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
when doing the --static test.
	* ld-shared/shared.exp: Run tests on mips*-*-irix5*.
1996-01-15 20:06:43 +00:00
Ian Lance Taylor 1ec02944eb * ecoffswap.h: Add prototypes for static functions. 1996-01-15 19:32:08 +00:00
Fred Fish c4e13a2783 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
[] tests with "test" and enclose string in quotes.
	* gdb.stabs/configure: Rebuild
1996-01-15 18:34:28 +00:00
Fred Fish 8dd0158ff0 * gdb.stabs/configure (alpha-*-*,mips-*-*): Add missing
"test" and enclose string in quotes.
1996-01-15 17:35:05 +00:00
Fred Fish 9908eb6a23 * Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'. 1996-01-15 07:04:36 +00:00
Michael Meissner bd2d10c006 Redo unknown reloc support. Do not allow symbols in .sdata/.sbss to satify a TOC16 relocation. Begin support R_PPC_SDA{2,}REL relocation. 1996-01-15 02:41:58 +00:00
Michael Meissner ee4fdbb93d Allow .gcc_except_table to have unfixed pointers with -mrelocatable 1996-01-15 02:34:07 +00:00
Michael Meissner 747b98fe5d Make elf section functions ELF specific 1996-01-13 16:10:33 +00:00
Michael Meissner be03dc3e37 Add .rela.got.neg section; remove .rel.* sections 1996-01-13 14:44:48 +00:00
Michael Meissner 1c3a295b13 Warn about relocations we do not yet support 1996-01-13 14:40:50 +00:00
Jeff Law 1aac3d3c1f * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
is set but there are no psymtabs.
1996-01-13 04:43:38 +00:00
Steve Chamberlain c84e500001 * dsrec.c (load_srec): Remove unused variable.
monitor.c (monitor_expect): Don't expect a ^C to echo.
	* serial.c (serial_open): Add parallel interface.
	* sh3-rom.c (parallel, parallel_in_use): New.
	(sh3_load): If parallel_in_use, download though the
	parallel port.
	(sh3_open): Open parallel port if specified.
	(sh3_close): New function.
	(_inititalize_sh3): Add sh3_close hook and documentation.
	* monitor.c (monitor_close): Export.
	* monitor.h (monitor_close): Add prototype.
1996-01-13 00:21:55 +00:00
Ian Lance Taylor 2afa4f215e * scripttempl/sh.sc: Only build constructors when CONSTRUCTING. 1996-01-12 23:43:24 +00:00
Stan Shebs 2c441e7fb7 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remotetimeout): New GDB variable, use to set the
	remote timeout for reading.
PR 8791.
1996-01-12 23:31:13 +00:00
Ian Lance Taylor 14899eb7f2 * elf.c (assign_file_positions_for_segments): If a segment
contains no sections, don't mark it as readable.
1996-01-12 22:47:04 +00:00
Ian Lance Taylor 2a4e49a925 * subsegs.c (section_symbol): Don't try to look up the section
symbol in the hash table.  It should be possible to have a symbol
	with the same name as a section, but no connection to it.
1996-01-12 21:11:43 +00:00