Commit Graph

3384 Commits

Author SHA1 Message Date
Fred Fish 50055e94a1 * dwarfread.c (struct dieinfo): Add has_at_byte_size.
* dwarfread.c (struct_type):  In absence of AT_byte_size for
	bitfield, use size of object of member's type for the size of
	the anonymous object containing the bit field.
	* dwarfread.c (completedieinfo):  Set has_at_byte_size when
	an AT_byte_size attribute is seen.
	* mipsread.c (psymtab_to_symtab_1):  Fix misspelled cast to
	union aux_ext (was aux_ent).
	* i386-pinsn.c (print_insn):  Cast 2'nd arg to read_memory from
	unsigned char* to char*, for Lucid compiler.
	* i386-tdep.c (codestream_fill):  Fix cast of 2'nd arg to read_memory
	to be correct type (from unsigned char* to char*).
	* valprint.c (type_print_derivation_info):  Minor tweak to placement
	of commas in derived class printing.
	* xcoffread.c (builtin_type):  Fix misspelling in fatal message.
1992-08-09 06:14:59 +00:00
Roland Pesch 1815e42cc3 Strip has mutated; remove all existing option documentation, document
only -v (verbose).
1992-08-08 01:13:23 +00:00
Roland Pesch 426fad1ef9 Include -N description (and include -N in synopsis). 1992-08-08 00:36:16 +00:00
Roland Pesch 246504a5c4 Restore docn for -N, now reintroduced into this generation of linker. 1992-08-08 00:31:17 +00:00
Steve Chamberlain ae475b39b2 * ldlang.h: add new field "loadable" to output_section_statement.
* ldlang.c (lang_output_section_statement_lookup): initilize new
	field. (wild_doit): if new field is not set, then stop output
	section from being loadable.
	(lang_enter_output_section_statement): set the field from the
	NOLOAD keyword
	* ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
	* h8300hms.sc-sh, h8300hms.em: get -r right.
1992-08-07 19:34:59 +00:00
Steve Chamberlain f6492282df * xm-go32.h: Define LSEEK_NOT_LINEAR
* serial.c (find_source_lines): if LSEEK_NOT_LINEAR is defined
	then work out the lseek positions of newlines by running through
	the file and `tell'ing.  This makes source file listing work on
	OS's where the relationship between physical position in file and
	canonical position is indeterminate, eg VMS and DOS.
1992-08-07 18:22:54 +00:00
Per Bothner 4b91c519fd * ldint.texinfo: New internals manual (beginnings thereof).
* PORTING:  Removed, merged into ldint.texinfo.
1992-08-07 01:37:39 +00:00
Fred Fish c02a37ea00 * stabsread.c: Ensure that all members of all allocated structures
are initialized to known state to avoid hard to find bugs with gdb
	using fields containing random data.
1992-08-06 21:44:36 +00:00
Per Bothner 5acafc2fd9 Use cp to INSTALL. 1992-08-06 20:03:49 +00:00
Fred Fish 3416d90bd6 * buildsym.c (start_subfile): Compact dirname initialization.
* buildsym.c (patch_subfile_names):  New function.
	* buildsym.c (end_symtab):  Make copy of dirname on symbol obstack.
	* buildsym.c (end_symtab):  Free all malloc'd subfile fields.
	* buildsym.h (patch_subfile_names):  Add prototype.
	* dbxread.c (process_one_symbol):  Call patch_subfile_names.
1992-08-06 19:59:46 +00:00
Steve Chamberlain 7fd3560a6a * read.c (s_fill): make the .fill size clamped error a warn and
fix bug where 0's were always placed.
1992-08-06 19:11:19 +00:00
Steve Chamberlain 1eaf4dd64d * config/tc-h8300.c: if a :8 is seen after an operand, fill top
two bytes of any constant with 0xff:
1992-08-06 19:09:57 +00:00
Fred Fish 8275e802a7 * buildsym.c (end_symtab): Make copy of dirname on symbol obstack. 1992-08-06 17:58:26 +00:00
Steve Chamberlain 4f3569faad Fix typo, I ment sun 3 .align is nbytes 1992-08-05 19:06:28 +00:00
Steve Chamberlain 9e43698e16 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
1992-08-05 19:05:43 +00:00
Steve Chamberlain 62594bd73c * config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun4 .align is nbytes, not ptwo.
1992-08-05 19:05:21 +00:00
Per Bothner ee9d275b29 * copy.c: When is_strip (because it is invoked as the strip
program), follow traditional argv processing:
	'strip file1 file2' now strips file1 and file2, rather
	than stripping file1 (as input), leaving output in file2.
1992-08-05 18:46:00 +00:00
John Gilmore 15ee4caab2 Update comments. It doesn't do MiniMON, it does UDI! 1992-08-05 17:49:48 +00:00
John Gilmore 934afcd434 * tc-m68k.c (try_index): Error if index scaling specified and
assembling for an older CPU than a 68020.

This bug was found at Adobe because GAS did not diagnose incorrect
68020 code generated by GCC when compiling for 68010.  We had to debug it
in the target system as failing instructions.
1992-08-05 08:59:10 +00:00
John Gilmore 38094c6033 * remote.c (getpkt): Only force retransmission ten times;
after that, assume bug in target code, and handle pkt anyway.
1992-08-05 08:46:44 +00:00
Per Bothner 917bffa7f6 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,
cdtest.exp:  A test program (copied from libg++/test-install)
	that tests that constructor and destructors are handled
	corrrectly.
1992-08-05 04:15:37 +00:00
Ken Raeburn c7a535938e delete cvs merge cruft 1992-08-04 21:41:14 +00:00
David D. Zuhn d4aea631b3 fix INFO-DIR-ENTRY 1992-08-04 08:24:09 +00:00
David D. Zuhn 01b8752d28 fix INFO-DIR-ENTRY, new gen-info-dir 1992-08-04 08:20:51 +00:00
Stu Grossman d0d0f75ef1 * configure.in: Add support for apollo 68k under BSD environment.
* xm-apollo68b.h:  New file to support above.
1992-08-04 00:09:14 +00:00
David D. Zuhn dfa891fc11 clean up Makefile.in (install), configure.in (the parts that choose what not to build for a host or target) 1992-08-03 22:44:29 +00:00
David D. Zuhn b40f9c73f7 fix installation problem which forced a relink of ld on 2nd and subsequent installation 1992-08-03 22:07:36 +00:00
Fred Fish eafc6d85c6 * configure.in: Recognize i486 host cpu, and use i386-elf
for i486-ncr-sysv4.
1992-08-03 07:36:45 +00:00
Fred Fish 26fe0d7d42 * config.sub (ncr3000): Change i386 to i486. 1992-08-03 07:35:08 +00:00
Fred Fish 9e4667f601 * configure.in: Recognize i486 host cpu.
* valprint.c (type_print_derivation_info):  Print derivation info
	in same form as class declarations in source.
	* valprint.c (type_print_varspec_suffix):  Split arg printing
	code out to type_print_args function.
1992-08-03 07:28:46 +00:00
Fred Fish 6030489a3a Back out of ill-considered addition of support for SHT_BEPROGBITS. 1992-08-02 15:48:21 +00:00
Ken Raeburn 680227f309 fix for pr1371: heed fx_offset in pcrel relocs 1992-08-01 23:20:55 +00:00
Fred Fish 3dfa6cfb66 * config/stratus.mt (CC): Remove definition.
* elf.c (bfd_section_from_shdr, elf_section_from_bfd_section,
	section_from_elf_index):  Add SHT_BEPROGBITS case for i860 in
	big endian mode.
	* elf.c (bfd_section_from_shdr):  Test for the possibility that
	section_from_elf_index returns NULL and don't dereference it.
1992-08-01 20:51:09 +00:00
Fred Fish 8c6e4bb248 * obstack.h: Merge changes from current FSF version. 1992-08-01 20:48:33 +00:00
Fred Fish c50533602e * dwarf.h: Replace with current version from gcc distribution.
* common.h (SHT_BEPROGBITS):  Add section type for i860 operating
	in big endian mode, where code is in a separate section.  The
	SHT_PROGBITS section is used for data.  From pfieland@stratus.com.
1992-08-01 20:47:51 +00:00
Fred Fish cd46ffad4e * dwarfread.c (struct dieinfo): Remove obsolete at_visibility,
at_import, at_frame_base.
	* dwarfread.c (completedieinfo):  Remove cases for obsolete
	AT_visibility, AT_import, and AT_frame_base attributes.
	* breakpoint.h (BREAKPOINT_MAX):  Increase from 10 to 16 for
	i860, which can keep up to 4 shadow breakpoints.
	* tm-stratus.h (USG):  Define.
	* tm-stratus.h (TARGET_BYTE_ORDER):  Define to BIG_ENDIAN.
	* xm-stratus.h (HOST_BYTE_ORDER):  Define to BIG_ENDIAN.
	* xm-stratus.h (xm-sysv4.h):  Include, name changed from xm-svr4.h.
	* xm-stratus.h (NO_JOB_CONTROL):  Remove define.
	* config/stratus.mt (TDEPFILES):  Include files available from
	stratus that are not yet in release pending receipt of paperwork
	at FSF.
	* buildsym.c (finish_block):  Minor code format change.
	* gdbtypes.h (struct field):  Add to comments.
	* gdbtypes.h (virtual_field_bits):  Add to comments.
	* objfiles.c (allocate_objfile):  Change obstack interface to
	match FSF merging efforts.
1992-08-01 20:40:59 +00:00
Ken Raeburn 47660bef1b fix for PRs 1360 and 1370 -- new v8 patterns for save,inc,dec 1992-08-01 03:19:58 +00:00
Ken Raeburn 6d27d3a205 * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
processor/opcode mismatch, so reword the error message.
        (md_assemble): If no CPU has been set (even if FPU/PMMU
        characteristics have been), default to 68020.  Don't need extra
        quotes around error string.
1992-08-01 02:26:13 +00:00
Ken Raeburn 03bb29bf79 (&!@# CVS breakage...)
* configure.in (mips host): Accept "ultrix" with version number.

        * expr.c (floating_constant): Separate "=-" to avoid confusing
        ancient or broken compilers.
1992-08-01 02:15:14 +00:00
Ken Raeburn c51ccfd50a * configure.in (mips host): Accept "ultrix" with version number.
* expr.c (floating_constant): Separate "=-" to avoid confusing
        ancient or broken compilers.

        * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
        processor/opcode mismatch, so reword the error message.
        (md_assemble): If no CPU has been set (even if FPU/PMMU
        characteristics have been), default to 68020.  Don't need extra
        quotes around error string.
1992-08-01 02:12:55 +00:00
Fred Fish 672786833c Update cygnus copies of currently undistributed i860 files maintained by
Peggy Fieland at stratus.com.
1992-07-31 23:17:54 +00:00
Jim Wilson 14f1fc24fa * read.c (potable): Revert sac's incorrect change made Jul 13.
Align really is supposed to be ptwo not nbytes.
1992-07-31 19:29:14 +00:00
David Henkel-Wallace ee7c00ac95 didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
David Henkel-Wallace 5898af2c4b Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
David Henkel-Wallace d81eea83fb Don't save obsolete/ 1992-07-28 18:58:12 +00:00
John Gilmore d6002bc45c Pull RCS ID. 1992-07-28 08:19:47 +00:00
John Gilmore 3b9b1e6cd6 Remove empty line. 1992-07-28 08:12:26 +00:00
Fred Fish d07734e31f * Makefile.in (VERSION): Bump to 4.6.2.
* Makefile.in (SFILES_MAINDIR):  Add stabsread.c
	* Makefile.in (OBS):  Add stabsread.o
	* Makefile.in (stabsread.o):  Add build rule.
	* stabsread.c, stabsread.h:  New files.
	* buildsym.c:  Split out stabs specific support to stabsread.c.
	* buildsym.h:  Split out stabs specific support to stabsread.h.
	* dbxread.c (stabsread.h):  Include
	* dbxread.c (dbx_new_init):  Call stabsread_new_init.
	* dbxread.c (dbx_psymtab_to_symtab_1):  Call stabsread_init.
	* dbxread.c (read_ofile_symtab):  Call end_stabs.
	* dbxread.c (process_one_symbol):  Call end_stabs and start_stabs.
	* dbxread.c (elfstab_build_psymtabs):  Call stabsread_new_init.
	* dwarfread.c (psymtab_to_symtab_1):  Call buildsym_init, add
	really_free_pendings to cleanups.
	* elfread.c (elf_new_init):  Call stabsread_new_init.
	* gdbtypes.c:  Small changes to maintenance commands.
	* mipsread.c (stabsread.h):  Include.
	* mipsread.c (psymtab_to_symtab_1):  Call end_stabs.
	* xcoffread.c (stabsread.h):  Include.
	* xcoffread.c (global_stabs):  Remove redundant def.
	* xcoffread.c (read_xcoff_symtab):  Call start_stabs and end_stabs.
1992-07-28 04:22:18 +00:00
David Henkel-Wallace 9e2b3581cb HP host support 1992-07-23 19:44:30 +00:00
David Henkel-Wallace d63a3da9bf HP stuff. 1992-07-23 19:01:47 +00:00