Commit Graph

14842 Commits

Author SHA1 Message Date
Stan Shebs
faa077a592 * c-lang.h (c_op_print_tab): Don't declare, some compilers
consider illegal if structure not defined, and only used
	in c-lang.c anyway.
1995-12-06 01:33:49 +00:00
Ken Raeburn
624c91d1e7 * read.c (s_fill): If md_flush_pending_output is defined, call it. 1995-12-05 22:28:25 +00:00
Stan Shebs
211eda6694 From David Mosberger-Tang <davidm@azstarnet.com>:
* alpha-dis.c (print_insn_alpha): fixed decoding of cpys
        instruction.
1995-12-05 21:55:18 +00:00
Wilfried Moser
29ba0f2876 * tests2.exp: Add compiling of the test case. 1995-12-05 09:52:45 +00:00
David Edelsohn
eedc864a72 Fix .idata doc bug. 1995-12-05 03:57:07 +00:00
David Edelsohn
e503032eb1 Document the .idata section. 1995-12-05 03:36:11 +00:00
Ken Raeburn
9e4b3a2329 * config/obj-coff.c (size_section, fill_section, fixup_mdeps): Treat
rs_align_code like rs_align.
1995-12-04 23:11:02 +00:00
Ian Lance Taylor
55cac92082 * ihex.c (ihex_scan): Handle record types 4 and 5.
(ihex_object_p): Permit types 4 and 5.
	(ihex_set_section_contents): Remove check for out of range
	addresses.
	(ihex_write_object_contents): Generate types 4 and 5.
1995-12-04 22:08:45 +00:00
Kim Knuttila
545bf026d5 Removed some debugging prints. duh 1995-12-04 21:47:37 +00:00
Stan Shebs
4ac27a602f * mpw-configure: Add support for exec-prefix. 1995-12-04 20:48:19 +00:00
J.T. Conklin
60da007931 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
(sh_table): Added many SH3 opcodes.
* sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
1995-12-04 20:32:44 +00:00
J.T. Conklin
2434e38489 * gencode.c (tab): Added several sh3 opcodes.
(think): Added printonmatch for A_SSR and A_SPC.
* interp.c (SSR, SPC): Added definitions.
(saved_state_type): Added ssr and spc registers.
1995-12-04 20:27:38 +00:00
Jeff Law
ebf7305276 * config.guess: Recognize HP model 816 machines as having
a PA1.1 processor.

Already at the FSF.
1995-12-04 18:19:32 +00:00
Ian Lance Taylor
c222f1246f * configure: Ignore new autoconf configure options. 1995-12-04 17:34:36 +00:00
Ian Lance Taylor
1f4ae0d6b1 * elflink.h (elf_link_output_extsym): Just ignore warning and
indirect references to symbols which don't really exist.
1995-12-04 16:23:36 +00:00
Kim Knuttila
53d45489e3 Dumper for PowerPC .edata section 1995-12-04 01:58:54 +00:00
David Edelsohn
361e8876a0 * aout-arm.c (MY_swap_std_reloc_out): Use KEEPIT to get the symbol
index, don't call stoi.
1995-12-03 23:29:09 +00:00
David Edelsohn
3554987a2f * config/tc-arm.c (cp_address_required_here): Set pre_inc when
converting an absolute address into a PC-relative one.
1995-12-03 23:26:32 +00:00
Stan Shebs
204c73d82e Edit out GM-specific bits from files. 1995-12-03 22:11:25 +00:00
Per Bothner
a56c9325ec * eval.c (evaluate_subexp_standard case): Fix typo. 1995-12-03 20:32:55 +00:00
Jeff Law
f9384420ae * ch-exp.c (parse_named_record_element): Avoid aggregrate
initializations for automatic variables.

        * hppa-tdep.c (hppa_alignof): Fix typo in last change.

Fixes minor build problems.
1995-12-03 19:59:21 +00:00
Fred Fish
dee7a11cd2 * symfile.c (global_psymbols, static_psymbols): Remove, unused. 1995-12-03 03:34:55 +00:00
Peter Schauer
82a38509d8 * alpha-tdep.c (heuristic_proc_desc): Add heuristic to
determine the return address register, needed for OSF/1-3.2C.
	* config/alpha/tm-alpha.h (T7_REGNUM, T9_REGNUM):  Define.
1995-12-02 11:08:20 +00:00
Ian Lance Taylor
6ceb561287 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions. 1995-12-02 06:17:46 +00:00
Ian Lance Taylor
ffd1548911 * ihex.c: New file; support for Intel Hex format.
* targets.c (enum bfd_flavour): Add bfd_target_ihex_flavour.
	(ihex_vec): Declare.
	(bfd_target_vector): Always include ihex_vec.
	* bfd.c (struct _bfd): Add ihex_data field to tdata union.
	* Makefile.in: Rebuild dependencies.
	(BFD_LIBS): Add ihex.o
	(BFD_LIBS_CFILES): Add ihex.c.
	* bfd-in2.h: Rebuild.
1995-12-02 02:00:08 +00:00
Ian Lance Taylor
55ae43ab3a * srec.c (srec_scan): Set lma as well as vma. 1995-12-02 01:59:20 +00:00
Michael Meissner
98a2c9d2ea Fix typo; some progress in ppcbug support 1995-12-02 01:14:06 +00:00
Per Bothner
5be700fd21 Ooops. Fix to work with new scheme (where runtest invokes the compiler). 1995-12-01 22:50:47 +00:00
Stan Shebs
67e69d7e9e * mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.
1995-12-01 22:44:24 +00:00
Stan Shebs
90f543f684 * mpw-config.in: Don't always use te-generic.h for emulation.
(powerpc-apple-macos): Use emulation te-macos.h.
start-sanitize-gm
	(mips-gm-magic): New configuration.
end-sanitize-gm
	* mpw-make.sed (install, install-only): Edit in Mac-specific
	install procedure.
1995-12-01 22:40:56 +00:00
Per Bothner
e300da1c7d * pr-8405.ch, pr-8405.exp, Makefile.in: New test case. 1995-12-01 22:17:42 +00:00
Ian Lance Taylor
061e65f855 * ldgram.y (PHDRS): New token.
(ifile_p1): Accept phdrs.
	(section): Accept phdr_opt at the end of the section definition.
	(phdr_op): New nonterminal.
	(phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise.
	* ldlex.l: Accept PHDRS.
	* ldlang.h (struct lang_output_section_phdr_list): Define.
	(lang_output_section_statement_type): Add phdrs field.
	(struct lang_phdr): Define.
	(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define.
	(lang_new_phdr): Declare.
	* ldlang.c (lang_phdr_list): New static variable.
	(lang_output_section_statement_lookup): Initialize phdrs field.
	(lang_process): Call lang_record_phdrs.
	(lang_new_phdr): New function.
	(lang_section_in_phdr): New function.
	(lang_record_phdrs): New static function.
	* ld.texinfo: Document PHDRS.
1995-12-01 21:49:51 +00:00
Ian Lance Taylor
ae0a6bea51 * bfd.c (bfd_record_phdr): New function.
* bfd-in.h (bfd_record_phdr): Declare.
	* bfd_in2.h: Rebuild.
1995-12-01 21:45:33 +00:00
Ian Lance Taylor
3b95078004 * elf.c (assign_file_positions_for_segments): Sort the sections in
each segment.
	(get_program_header_size): Return the right size if segment_map is
	not NULL.
	(copy_private_bfd_data): Don't bother to sort the sections.
1995-12-01 21:44:38 +00:00
Ian Lance Taylor
ce0ee4bf49 * elf32-sparc.c (elf32_sparc_relocate_section): Remove bogus
BFD_ASSERT.
PR 8562.
1995-12-01 20:59:10 +00:00
Ian Lance Taylor
58142f101d * libbfd.c (bfd_malloc, bfd_realloc): New functions.
(bfd_zmalloc): Return PTR, not char *.  Take size_t, not
	bfd_size_type.
	* libbfd-in.h (bfd_malloc, bfd_realloc): Declare.
	(bfd_zmalloc): Change declaration.
	* libbfd.h: Rebuild.
	* Many files: Use bfd_malloc and bfd_realloc rather than malloc
	and realloc.  Don't set bfd_error_no_memory if they fail.
1995-12-01 19:48:10 +00:00
Ian Lance Taylor
2eec871057 * configure.in: Improve message about unsupported ELF targets.
* configure: Rebuild.
1995-12-01 19:38:40 +00:00
Per Bothner
d9eb60c63a * tests1.exp, tests2.exp (test_print_reject): Remove; causes
conflicts with later tests using test_print_reject in ../lib/gdb.exp.
	(passcount):  Remove.
	* tests2.exp (test_print_accept):  Removed.
	(test_write):  Re-write to use gdb_test rather than test_print_accept.
	* tests1.exp (test_print_accept_exact):  Removed.
	(tests_locations):  Rewrite to use gdb_test and not above proc.
1995-12-01 19:05:52 +00:00
Ian Lance Taylor
a91a8d08ae * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets. 1995-12-01 18:15:18 +00:00
Jackie Smith Cashion
8bae0a0c48 * gencode.c: Tidied instruction decoding, and added FP instruction
support.
* interp.c: Added dineroIII, and BSD profiling support. Also
run-time FP handling.

At the moment the options are still mostly build-time controlled,
rather than run-time. Also work still needs to be done to remove (long
long) usage (However this is trivial, just time-consuming).

The out-standing instruction work to be done is in supporting round
and trunc for FP operations, and providing better exception support.
1995-12-01 16:42:44 +00:00
Ian Lance Taylor
d4c8a45ee7 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
pattern is zero.  From Manfred Hollstein.
1995-12-01 15:56:25 +00:00
Michael Meissner
695b028f51 Fix subfc.,subfco,subco,subco. to be in the proper classifications 1995-12-01 12:40:39 +00:00
Michael Meissner
59c8431852 fix typo 1995-12-01 12:21:03 +00:00
Per Bothner
da2cfeb098 * tests1.ch, tests1.exp, tests2.ch, tests2.exp, Makefile.in:
New (extensive) test cases.
	* chexp.exp:  Fix relations to return TRUE or FALSE.
1995-12-01 08:17:13 +00:00
Per Bothner
a366d882c0 * language.c (lang_bool_type), language.h: New function.
* language.h (LA_BOOL_TYPE):  New macro.
	* eval.c (evaluate_subexp_standard)  Use LA_BOOL_TYPE instead
	of builtin_type_int where appropriate,
	* valarith.c (value_subscript):  Likewise.
1995-12-01 08:08:41 +00:00
Per Bothner
5f3e7bfcbf * valops.c (value_slice): Implement (value) bitstring slices.
* valprint.c (val_print):  If TYPE_LENGTH is zero, don't automatically
	print "<incomplete type>" - Chill has zero-length (string) types.
1995-12-01 08:06:45 +00:00
Per Bothner
c8b2ba5d48 * gdbtypes.c (check_stub_type): Removed; no longes needed.
* ch-exp.c (expect, parse_call):  Tweak error messages.
1995-12-01 08:04:51 +00:00
Kim Knuttila
b10f8e5e5c PowerPC changes 1995-12-01 02:08:19 +00:00
Kim Knuttila
590662481c PowerPC DLL Support 1995-12-01 01:01:42 +00:00
J.T. Conklin
cee52482d3 * config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compiler
defaults to K&R mode, but doesn't have varargs.h, so we have to
compile in ANSI mode.
1995-11-30 23:01:31 +00:00