Commit Graph

17286 Commits

Author SHA1 Message Date
Ian Lance Taylor f6f2b36e9b * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
OTHER_READWRITE_SECTIONS.
	* emulparams/elf32l4300.sh: Likewise.
1996-10-10 21:59:34 +00:00
Jeff Law 02d4ad193b * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
for mov (abs16),DN.
Bug found by gas testsuite.  Matsushita.
1996-10-10 21:42:01 +00:00
Ian Lance Taylor 914f899869 * configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
* configure: Rebuild.
1996-10-10 21:31:27 +00:00
Michael Meissner f8a011cfa5 Turn most warnings into errors 1996-10-10 21:26:59 +00:00
Jeff Law 778c521b85 * config/tc-mn10300.c (md_assemble): Use FMT_* macros for
formats rather than hard-coded constants.
Minor cleanup.
1996-10-10 20:33:47 +00:00
Jeff Law ba8ed10c7e * mn10300-opc.c (FMT*): Remove definitions.
Moved into opcode/mn10300.h
1996-10-10 20:31:06 +00:00
Jeff Law d9f4450770 * gas/mn10300/basic.exp: Check bit patterns for many
instructions.  Add missing test in do_mov1.
        * gas/mn10300/mov1.s: Add missing test.
We should now assemble just about anything without any
immediate operands.
1996-10-10 19:13:48 +00:00
Jeff Law 1e5ddd3be4 * mn10300-opc.c (mn10300_opcodes): Fix destination register
for shift-by-register opcodes.
Bug found by testsuite.
1996-10-10 19:08:46 +00:00
David Edelsohn e39174c3f8 * dlltool.c (scan_open_obj_file): Fix loop exit test.
Add missing parameter to def_exports.
1996-10-10 18:47:46 +00:00
Stan Shebs f20f247499 * mpw-make.sed (config.bfd, targmatch.sed): Edit references to
point explicitly to srcdir.
	(targmatch.h): Edit references to point explicitly to objdir.
1996-10-10 18:21:37 +00:00
Ian Lance Taylor 3e222a5a5b * config.bfd: When setting targ_cpu, don't get confused by
linux-gnu.
1996-10-10 18:15:23 +00:00
Ian Lance Taylor 3274332f90 * configure: Don't get confused by CPU-VENDOR-linux-gnu. 1996-10-10 18:15:03 +00:00
Jeff Law 1c3ae169f7 * config/tc-mn10300.c (md_assemble): Format D5 instructions
are 7 bytes long.  Write out instructions in big-endian format.

Matsushita.
1996-10-10 18:07:37 +00:00
Stan Shebs 3e41eeb4d3 * config.sub (-apple*): Remove, now redundant. 1996-10-10 17:39:10 +00:00
Ian Lance Taylor d9f3f187da * configure: Rework yesterday's sed script patch. 1996-10-10 17:03:43 +00:00
Ian Lance Taylor d7a579960b * config.sub: Merge with FSF. 1996-10-10 16:31:38 +00:00
Jeff Law 36b34aa4a9 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
into [AD][MN][01] for encoding the position of the register
        in the opcode.
Matsushita.
1996-10-10 16:28:14 +00:00
Stan Shebs 5dad831218 * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
VR4300 target.
	(ddb_ops, pmon_ops): Fix the documentation strings.
1996-10-10 01:17:05 +00:00
Per Bothner 44ad3d8321 * config.guess: Merge from FSF.
1996-09-12  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
        * config.guess: Use pc instead of unknown, for pc clone systems.
        Change linux to linux-gnu.

	Mon Jul 15 23:51:11 1996  Karl Heuer  <kwzh@gnu.ai.mit.edu>
        * config.guess: Avoid non-portable tr syntax.
1996-10-10 00:28:52 +00:00
Jeff Law c3fa8cd69c * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
* gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise.
        * gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise.
        * gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise.
        * gas/mn10300/{shift.s, sub.s}: Likewise.
        * gas/mn10300/basic.exp: Run them.
Beginnings of gas testsuite for mn10300.  Matsushita.
1996-10-09 20:19:00 +00:00
Ian Lance Taylor 458fc0567b * ld.h (ld_config_type): Add warn_section_align field.
* lexsup.c (OPTION_WARN_SECTION_ALIGN): Define.
	(ld_options): Add --warn-section-align.
	(parse_args): Handle --warn-section-align.
	* ldlang.c (lang_size_sections): If warn_section_align, warn if
	the start of a section changes due to alignment.
	* ld.texinfo, ld.1: Document --warn-section-align.
	* ld.texinfo: Change some single dashes to double dashes.
PR 10739.
1996-10-09 19:45:29 +00:00
Ian Lance Taylor 961d589322 * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each
subsystem type.  Ifdef out os2 type.  Recognize a version number.
1996-10-09 18:37:57 +00:00
Jeff Law 344d6417bb * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
"putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
Matsushita.
1996-10-09 17:20:59 +00:00
Stu Grossman 5faa6e1e4f * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
filenames with sed instead.
1996-10-09 14:47:29 +00:00
Jeff Law ed46a8ee9b * test-build.mk (HOLES): Add "xargs" for gdb. 1996-10-09 12:32:18 +00:00
Jeff Law 4efa6b75d8 * configure: Avoid hpux10.20 sed bug. 1996-10-09 12:08:15 +00:00
Stu Grossman 5621d991bf Add hpux-thread.c. 1996-10-09 08:46:25 +00:00
Angela Marie Thomas 32731d2b2a add mh-dgux386 to Things-to-keep 1996-10-09 05:51:52 +00:00
Ian Lance Taylor d0d63887aa * emultempl/pe.em (set_pe_subsystem): When setting the subsystem
to windows, set the entry point.
1996-10-09 03:27:41 +00:00
Stu Grossman 99283e8779 * defs.h: Remove decls of xmalloc and xrealloc. There is a
conflicting definition in libiberty.h.
1996-10-08 23:01:04 +00:00
Jeff Law db22905430 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
Fix various typos.  Add "PAREN" operand.
        (MEM, MEM2): Define.
        (mn10300_opcodes): Surround all memory addresses with "PAREN"
        operands.  Fix several typos.
Should parse all opcodes in the instruction specification, except the
"user extension instructions".
1996-10-08 21:09:57 +00:00
Jeff Law a6be605a1a * config/tc-mn10300.h (md_assemble): Tweak further so
that all instructions are parsed correctly.
1996-10-08 20:59:28 +00:00
Jeff Law 1d57416709 * mn10300.h (MN10300_OPERAND_PAREN): Define.
Matsushita.
1996-10-08 20:49:58 +00:00
Fred Fish a7f56d5aff Just some cleanups noticed while working on PR 10760
* dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
	than poking global variable (which is now static).
	* hpread.c (hpread_build_psymtabs): Ditto.
	* os9kread.c (os9k_symfile_read): Ditto.
	* xcoffread.c (xcoff_initial_scan): Ditto.

	* buildsym.h (free_pending_blocks): Declare here.
	(pending_blocks): Remove declaration of global symbol.
	(free_pendings): Remove declaration of global symbol.
	(make_blockvector): Declare here.
	(record_pending_block): Declare here.

	* dstread.c (make_blockvector): Remove static copy that was old
	clone of version in buildsym.c.
	(process_dst_block): Call record_pending_block rather than doing
	it by hand.
	(read_dst_symtab): Ditto.

	* buildsym.c (make_blockvector): Make global rather than static,
	(record_pending_block): New function, code moved from finish_block.
	(finish_block): Use record_pending_block.
	(free_pending_blocks): New function.
	(really_free_pendings): Call free_pending_blocks.
	(pending_blocks): Make static instead of global.
	(free_pendings): Make static instead of global.
1996-10-08 19:00:38 +00:00
Ian Lance Taylor 1c4794f58f * elflink.h (elf_link_add_object_symbols): If a symbol is a weak
definition in a dynamic object, add it to the dynamic symbol table
	if any dynamic object mentions it.  Reverts part of last patch.
PR 10827.
1996-10-08 18:50:59 +00:00
Stu Grossman b560034fab Add mh-windows. 1996-10-08 18:04:04 +00:00
Jeff Law 06b796584d * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
changes.
Matsushita.
1996-10-08 17:56:40 +00:00
Stu Grossman e7b9847623 Add windows.mh and xm-windows.h 1996-10-08 17:27:11 +00:00
Ian Lance Taylor 5e1e8f23cf * as.h: Include libiberty.h.
(xmalloc, xrealloc): Don't declare.
	* as.c: Don't include libiberty.h.
	* expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
	* config/tc-mips.c: Likewise.
	* messages.c: Likewise.
	(xstrerror): Don't declare.
	* xmalloc.c: Remove.
1996-10-08 17:15:20 +00:00
Stu Grossman 8a5c77a19e * config/i386/windows.mh config/i386/xm-windows.h:: New config
files to support building Wingdb (built under Microsoft build
	environment).
1996-10-08 17:12:06 +00:00
Stu Grossman 7d44ab7f63 Add osf-share directory. 1996-10-08 17:07:35 +00:00
Stu Grossman 5d394f7072 * Makefile.in: Add rule for hpux-thread.o (needs special header
files).
	* (SUBDIRS):  Remove mswin.
	* Change procedure for creating init.c.  Speeds things up quite a
	bit.
	* config.in configure configure.in:  Check for select, poll.
	* Check for OSF header files before including hpux-thread.o.
	* Don't configure doc or testsuite when building under MSVC.
	* findvar.c value.h (read_register_pid write_register_pid):  Make
	global.  Needed for hppa-tdep.c.
	* (supply_register):  Don't set pid to inferior_pid when supplying
	registers.
	* hppa-tdep.c (saved_pc_after_call):  frame_saved_pc ->
	FRAME_SAVED_PC.
	* (frame_saved_pc):  Change name to hppa_frame_saved_pc.
	* (hppa_pop_frame):  Don't use a pid of 0 with target_write_pc.
	Use write_pc instead, which uses the correct pid.
	* (target_read_pc target_write_pc):  Use read/write_register_pid
	instead of read/write_register to preserve the pid passed in.
	* inftarg.c (child_can_run):  Add flag child_suppress_run to allow
	hpux-threads.c to override this as a runnable target.
	* config/pa/nm-hppah.h:  Define target_new_objfile and
	target_pid_to_str.
	* config/pa/tm-hppa.h (FRAME_SAVED_PC):  Use hppa_frame_saved_pc
	instead of frame_saved_pc.
	* config/m68k/tm-m68k.h:  Define TARGET_M68K for Wingdb.
	* config/m68k/tm-monitor.h:  Use FRAME_CHAIN_VALID_ALTERNATE, since
	we can't easily determine the start file bounds with ELF.
	* config/mips/tm-mips.h:  Define TARGET_MIPS for Wingdb.
	* hpux-thread.c:  New file for HPUX/OSF thread support.
	* osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
	RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
	cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
	cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
	cma_stack_int.h cma_tcb_defs.h cma_util.h}:  New files for OSF
	thread support.
1996-10-08 17:06:17 +00:00
Ian Lance Taylor 40d53fdf16 * Makefile.in (ldlex.c): Don't pass any options to $(LEX). 1996-10-08 16:07:50 +00:00
Ian Lance Taylor d39bedb220 * Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the
default for flex, and is not recognized by lex.
PR 10819.
1996-10-08 16:07:23 +00:00
Ian Lance Taylor 9d81de1984 * sunos.c (struct sunos_link_hash_table): Add got_base field.
(sunos_link_hash_table_create): Initialize got_base.
	(bfd_sunos_size_dynamic_sections): If the .got section is more
	than 0x1000 bytes, set __GLOBAL_OFFSET_TABLE_ and got_base to
	0x1000.
	(sunos_check_dynamic_reloc): Subtract got_base from a base
	relative relocation.
PR 10684.
1996-10-08 16:02:35 +00:00
Stu Grossman 8200045106 * tilde.c (tilde_word_expand): __MSDOS___ -> __MSDOS__ 1996-10-08 16:00:54 +00:00
Stu Grossman 8150179797 * configure.host: Add support for windows host (a build done
under the Microsoft build environment).
1996-10-08 15:54:19 +00:00
Ian Lance Taylor fe4ff51570 * elf32-mips.c (elf_mips_isa): New static function.
(_bfd_mips_elf_merge_private_bfd_data): Don't warn about linking
	-mips1 and -mips2 code together, or -mips3 and -mips4 code.
1996-10-08 15:41:08 +00:00
Stu Grossman d0e01d94fa * configure.in config/mh-windows: Add support for windows host
(that is a build done under the Microsoft build environment).
1996-10-08 15:36:18 +00:00
Ian Lance Taylor 81eb5025a9 * Makefile.in: Replace all uses of srcroot with s, to shrink
command line lengths.
1996-10-08 14:48:47 +00:00