Commit graph

16468 commits

Author SHA1 Message Date
Jeff Law
4679717d34 * h8300-tdep.c: Remove some outdated comments.
(h8300_skip_prologue): Rework to be more correct for the H8/300H.
        Handle stm.l insns for the H8/S.
        (examine_prologue): Likewise.
HMSE stuff.
1996-07-10 04:44:23 +00:00
Ian Lance Taylor
3128726ccd * app.c (do_scrub_chars): Remove not_cpp_line local variable.
Instead, check state when '#' comment is seen.
PR 10073.
1996-07-10 04:30:27 +00:00
Ian Lance Taylor
996e146fd6 * config/tc-ppc.c (md_apply_fix3): Give a useful error message
when an unsupported PC relative reloc is seen, rather than calling
	abort.
PR 10073.
1996-07-10 04:26:38 +00:00
Jeff Law
9745c59321 * compile.c (sim_resume): Fix all rotate-by-2-bits insns. 1996-07-10 04:15:17 +00:00
Raymond Jou
15aec61ca7 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf. 1996-07-10 00:05:46 +00:00
Jeff Law
01cfaa6bf2 * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct
value for R_RELBYTE.
Something -Wall caught.

        * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks"
        array if one was allocated.
Something I ran into today.
1996-07-09 21:53:47 +00:00
Michael Meissner
30c2702d79 Forgot to commit .Sanitize after last checkin 1996-07-09 17:43:08 +00:00
Ian Lance Taylor
eb52b9dc1d From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:
* elf32-mips.c (struct mips_elf_link_hash_table): Add new fields
	use_rld_obj_head and rld_value.
	(mips_elf_link_hash_table_create): Initialize new fields.
	(mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as
	dynamic.
	(mips_elf_create_dynamic_sections): Create .rld_map section.  If
	__rld_obj_head symbol not seen, create an __rld_map symbol.
	(mips_elf_size_dynamic_sections): Make space in .rld_map section.
	Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry.
	(mips_elf_finish_dynamic_symbol): Save value of __rld_map or
	__rld_obj_head symbol.
	(mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP.
1996-07-09 16:28:04 +00:00
Ian Lance Taylor
719de0ea8c * configure.tgt (mips*el-*-elf*): Use elf32elmip.
(mips*-*-elf*): Use elf32ebmip.
	* emulparams/elf32bmip.sh (EMBEDDED): Don't define.
	* emulparams/elf32lmip.sh (EMBEDDED): Don't define.
	* emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with
	EMBEDDED defined.
	* emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with
	EMBEDDED defined.
	* emulparams/elf32b4300.sh (EMBEDDED): Define.
	* emulparams/elf32l4300.sh (EMBEDDED): Define.
	* Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o.
	(eelf32ebmip.c, eelf32elmip.c): New targets.
Irix 5 is not an embedded system.
1996-07-09 16:13:56 +00:00
Ian Lance Taylor
1695403700 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
<kkaempf@progis.ac-net.de>.
1996-07-09 14:57:34 +00:00
Jim Wilson
5133e9ed8c * configure.in (mips-sgi-irix6*): Use mh-irix6 instead of mh-irix5. 1996-07-09 00:34:43 +00:00
Jim Wilson
7621c47728 Add new config file for Irix 6. 1996-07-09 00:32:21 +00:00
Jason Merrill
51a3560385 Mon Jul 8 15:15:37 1996 Jason Merrill <jason@yorick.cygnus.com>
* mt-sparcpic (PICFLAG_FOR_TARGET): Use -fPIC.

For consistency with mh-sparcpic and libgcc.a; SunOS 4 apparently doesn't
allow mixing of pic and PIC.
1996-07-08 23:41:08 +00:00
Ian Lance Taylor
9b292d4c0e * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry. 1996-07-08 23:29:26 +00:00
Ian Lance Taylor
a8aed9ddfb * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
OBJ_MAYBE_ELF.
	(tc_gen_reloc): If fixup was changed to be PC relative, change
 	reloc type accordingly.  Use name of reloc in error message.
1996-07-08 23:16:00 +00:00
Ian Lance Taylor
a5a781751a * as.h: Don't define const or volatile.
* flonum.h: Don't define const.
1996-07-08 21:57:07 +00:00
Ian Lance Taylor
e675c634dd Improve SCO ELF comment 1996-07-08 21:43:26 +00:00
Ian Lance Taylor
dab4573409 * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use
ppc_elf_addr16_ha_reloc.
	(ppc_elf_addr16_ha_reloc): New static function.
PR 10036.
1996-07-08 21:38:59 +00:00
Ian Lance Taylor
56b4cbaac3 * coff-mips.c (struct mips_hi): Define.
(mips_refhi_list): New static variable.
 	(mips_refhi_addr, mips_refhi_addend): Remove.
	(mips_refhi_reloc): Maintain a list of unmatched REFHI relocs.
	(mips_reflo_reloc): Process mips_refhi_list.
	(mips_relhi_list): New static variable.
	(mips_relhi_addr, mips_relhi_addend): Remove.
	(mips_relhi_reloc): Maintain a list of unmatched RELHI relocs.
	(mips_rello_reloc): Process mips_relhi_list.
	(mips_relocate_section): Permit an arbitrary number of REFHI or
	RELHI relocs before the associated REFLO or RELLO reloc.
PR 10050.
1996-07-08 20:25:54 +00:00
Ian Lance Taylor
c6304c0e13 * ar.c (open_inarch): Add file parameter. Change all callers. If
this is a newly created archive, set the target based on the
	file.
	* arsup.h (open_inarch): Update declaration.
1996-07-08 19:34:09 +00:00
Ian Lance Taylor
f93e43a114 At the request of Andreas Schwab:
* gas/m68k/pcrel.d: Rename from schwab.d.
	* gas/m68k/pcrel.s: Rename from schwab.s.
1996-07-08 18:37:30 +00:00
Ian Lance Taylor
d1db6a9de2 Mon Jul 8 14:23:26 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* gas/m68k/schwab.d: Correct for ELF format.
	* gas/m68k/all.exp: Run "schwab" test for all targets.
1996-07-08 18:25:53 +00:00
Ian Lance Taylor
7f003b7fee * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
if fx_pcrel is set.  Correct setting the addend case in the
	OBJ_ELF case (from Andreas Schwab
	<schwab@issan.informatik.uni-dortmund.de>).
	(md_show_usage): Correct -mfc5200 to -m5200.
1996-07-08 18:15:15 +00:00
Mark Alexander
ee7b308fe4 * mon960-rom.c (mon960_open): Add floating point detection to
prevent hang on non-FPU processors (PR 9775).
	(mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
	setting breakpoints and improve loading speed.
1996-07-08 15:53:36 +00:00
Fred Fish
ace4b8d75a (laying some groundwork for a fix for PR 8443)
* coffread.c (record_minimal_symbol): Don't presave name string
	on symbol_obstack before passing to prim_record_minimal_symbol.
	It now handles saving the string itself.
	* dbxread.c (read_dbx_dynamic_symtab): Ditto.
	* mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
	* os9kread.c (record_minimal_symbol): Ditto.
	* solib.c (solib_add_common_symbols): Ditto.

	* coffread.c (coff_symtab_read): Don't presave name string on
	symbol_obstack before passing to prim_record_minimal_symbol_and_info.
	It now handles saving the string itself.
	* dbxread.c (record_minimal_symbol): Ditto.
	* elfread.c (record_minimal_symbol_and_info): Ditto.

	* dstread.c (record_minimal_symbol): Remove static function that just
	called prim_record_minimal_symbol with the same args (after change to
 	prim_record_minimal_symbol to do it's own name string saves).
	* nlmread.c (record_minimal_symbol): Ditto.
	* somread.c (record_minimal_symbol): Ditto.

	* hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
	(hpread_read_function_type): Ditto.
	(hpread_process_one_debug_symbol): Ditto.
	* mdebugread.c (parse_symbol): Ditto.
	(new_symbol): Ditto.
	* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.

	* coffread.c (process_coff_symbol): Use obsavestring to save
	SYMBOL_NAME, rather than obstack_copy0.
	* dstread.c (create_new_symbol): Ditto
	* symfile.c (obconcat): Ditto.
	* stabsread.c (patch_block_stabs): Ditto.
	* xcoffread.c (SYMNAME_ALLOC): Ditto.

	* symfile.c (obsavestring): Update comments
	* solib.c (solib_add_common_symbols): Remove local var origname.
1996-07-08 09:05:18 +00:00
Mark Alexander
b7cc3e7530 Add linux.mh and xm-linux.h. 1996-07-07 04:19:55 +00:00
Ian Lance Taylor
b777c6a733 * aout-target.h (MY(callback)): Set reloc_count fields. 1996-07-05 23:30:05 +00:00
Jeff Law
cf4c2392ef No longer need to sanitize away h8s stuff. 1996-07-05 19:05:26 +00:00
Jeff Law
25b344a4a2 No longer need to sanitize away h8s stuff. 1996-07-05 18:59:31 +00:00
Jeff Law
cce8528df9 No longer sanitize away h8s stuff. 1996-07-05 18:54:28 +00:00
Jeff Law
16cf520e5f No longer need to sanitize away h8s stuff. 1996-07-05 18:46:54 +00:00
Jeff Law
239889fdc8 No longer need to sanitize away h8s. 1996-07-05 18:43:31 +00:00
Jeff Law
d78f416f84 No longer sanitize away h8s stuff 1996-07-05 18:39:32 +00:00
Jeff Law
34255b708c No longer need to sanitize away h8/s stuff. 1996-07-05 18:30:03 +00:00
J.T. Conklin
910d7df246 * doc/c-m68k.texi: Document -m5200 flag.
* doc/as.texinfo: Likewise.
1996-07-05 17:47:22 +00:00
J.T. Conklin
8d20a0a883 * config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
scale factor.
1996-07-05 17:35:32 +00:00
Ian Lance Taylor
0d65f03d6e * mh-irix4 (RANLIB): Don't define; Irix 4 does have ranlib. 1996-07-05 15:50:04 +00:00
Ian Lance Taylor
c0b3470207 * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
(S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
1996-07-05 15:23:59 +00:00
Ian Lance Taylor
3f5d2072fb fix screwed up sanitization 1996-07-05 15:19:30 +00:00
Ian Lance Taylor
4ff09a4980 fix screwed up sanitization 1996-07-05 14:50:28 +00:00
Ian Lance Taylor
6af6c1e6ad * rdcoff.c (parse_coff): Get address to pass to debug_end_function
from function size, not value of .ef symbol.  From Ning
	Mosberger-Tang <ning@AZStarNet.com>.
1996-07-04 22:34:20 +00:00
Ian Lance Taylor
48f3aaf3ed * sunos.c (sunos_add_dynamic_symbols): Don't create dynamic
sections unless this is a SunOS link.
PR 10039.
1996-07-04 22:25:50 +00:00
Ian Lance Taylor
e44c2b1c06 * ldver.c (ldversion): Set version to cygnus-2.7.1. 1996-07-04 19:40:37 +00:00
Ian Lance Taylor
4cdbf68f7d * gprof.c (VERSION): Define as "2.7.1". 1996-07-04 19:39:24 +00:00
Ian Lance Taylor
6624477c48 * Makefile.in (VERSION): Set to cygnus-2.7.1. 1996-07-04 19:38:41 +00:00
Ian Lance Taylor
100b65dd23 * VERSION: Set to 2.7.1. 1996-07-04 19:35:51 +00:00
Ian Lance Taylor
b19c462304 keep sh3e tests 1996-07-04 19:14:54 +00:00
Ian Lance Taylor
1ab4cd57ed * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid
System V file name limitations.
	* configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use
	pc532macha rather than pc532machaout.
	* Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to
	epc532macha.o.
	(epc532macha.c): Rename target from epc532machaout.c.
1996-07-04 18:50:13 +00:00
Ian Lance Taylor
809f005e04 * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
stored on a System V file system.
VS: ----------------------------------------------------------------------
1996-07-04 18:40:07 +00:00
Ian Lance Taylor
13566744d9 * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
stored on a System V file system.
1996-07-04 18:35:44 +00:00