Commit Graph

6026 Commits

Author SHA1 Message Date
Ken Raeburn 92c7228d74 Look in ../bfd, not ../include, for bfd.h. 1993-06-21 00:58:38 +00:00
Ken Raeburn 09058bfd6f Recent changes, mostly ELF and bfd.h generation. 1993-06-21 00:54:46 +00:00
Ken Raeburn fce361373d * elfcode.h (bfd_add_to_strtab): Now static.
(sym_is_global): New function.
(bfd_section_from_shdr): Makr stirng tables other than for section and symbol
names as normal sections having contents.
(fix_up_strtabs): New function; fixes up ELF header fields for stab sections
with string tables associated.
(elf_write_object_contents): Map fix_up_strtabs over all BFD sections.
Reordered condition tests for symbol flags; default to local-object value
instead of global-object.

* elfcode.h (new_section_hook): Define here.
1993-06-21 00:53:45 +00:00
Ken Raeburn 87cc59ceb6 Regenerated after my changes to bfd-in.h. 1993-06-21 00:50:48 +00:00
Ken Raeburn 898728d4c5 Regenerated after Kingdon's changes to cache.c.
(Declaration for bfd_cache_init is gone now.)
1993-06-21 00:50:12 +00:00
Ken Raeburn ada315eae4 No longer use dummy new-section-hook. 1993-06-21 00:36:35 +00:00
Ken Raeburn 12f367a13e Generate bfd.h in current directory by grabbing 64-bit definition (if any)
from sysdep.h (and nothing else) and inserting it into bfd-in2.h.
Remove ../include/bfd.h if found, in case it's left over from previous
versions of this code.
1993-06-21 00:34:11 +00:00
Ken Raeburn 58488bc652 Change insertion marker for new bfd.h generation scheme. 1993-06-21 00:30:11 +00:00
Ken Raeburn 50fccebe22 (INCLUDES): Look in ../bfd, not ../include, for bfd.h. 1993-06-20 22:25:46 +00:00
Ken Raeburn 17145ba27a Sun Jun 20 02:34:04 1993 Ashley Saulsbury (ans@sics.se)
* m88k-opcode.h : fixed tiny tiny mistake - xcr was incorrectly
	specified, should have both S1 and S2 fields identical
	If only finding the problem was as fast as fixing the bug !!!!
1993-06-20 21:56:23 +00:00
Jim Kingdon 089dc22027 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
(read_cpp_abbrev): Don't complain specially for $_.  Also return 0 if
	we don't recognize the abbrev.
1993-06-20 20:30:31 +00:00
Jim Kingdon 2a4e8cc37d * solib.c (solib_add_common_symbols): Add comment about performance. 1993-06-20 05:28:07 +00:00
David D. Zuhn 8eb5e28936 added stabs-in-elf menu entry, reformatted menus with C-c C-u a (texinfo mode command) 1993-06-19 22:18:24 +00:00
Fred Fish 3d26a081b1 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
test cases from bug reports.
1993-06-19 14:53:17 +00:00
David MacKenzie 65cab5894f * reloc.c (bfd_perform_relocation): Check for overflow on
pc-relative relocations if the howto asked for it.
1993-06-19 03:06:36 +00:00
Jim Kingdon 807e8368fa * stabs.texinfo: Document common blocks. 1993-06-19 00:45:34 +00:00
Jim Kingdon 06cdad7ff4 * Makefile.in (stmp-bfd.h): Ignore nonzero exit status from grep. 1993-06-18 23:02:56 +00:00
Jim Kingdon b32ae8e2c4 * config/riscos.m{h,t}: New files.
* configure.{host,in}: Use them.
1993-06-18 22:47:06 +00:00
Jim Kingdon 3222c7d01c new files for riscos 1993-06-18 22:21:38 +00:00
Jim Kingdon 7f6175b4dc * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files. 1993-06-18 22:20:49 +00:00
Jim Kingdon ee06f23011 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
* configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
1993-06-18 22:20:26 +00:00
Steve Chamberlain e615309a0b Look in the right place for bfd.h 1993-06-18 22:16:32 +00:00
Jim Kingdon 89e04499d1 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
	* configure.in (mips-sony-*): Use news-mips for host.
1993-06-18 21:49:24 +00:00
Jim Kingdon b487ba2e77 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
	* configure.in (mips-sony-*): Use news-mips for host.
1993-06-18 21:39:27 +00:00
Per Bothner 3ae36cb686 * objdump.c (syms2): Removed unused variable.
* objdump.c (remove_useless_symbols):  New function.
	* objdump.c (comp):  Simplify.
	* objdump.c (dis-assemble_data):  Make simpler and more
	efficient how we filter out useless symbols:  Just filter
	BEFORE the sort (using remove_useless_symbols).
	* objdump.c (objdump_print_address):  Simplify.
	Change output syntax to match gdb.
1993-06-18 21:37:21 +00:00
Steve Chamberlain d4bbd6ace2 Make it work in subdirs. 1993-06-18 21:37:12 +00:00
Steve Chamberlain ebd7d72e33 New file for configuring. 1993-06-18 21:24:00 +00:00
Per Bothner 5b6c633678 * m68k-dis.c (print_insn_arg): Change return value to byte count
or error code.
	* m68k-dis.c:  Re-write to detect invalid operands before
	printing anything, so we can handle this the same way we
	handle invalid opcodes.
1993-06-18 21:18:53 +00:00
Steve Chamberlain a3a0a4d0a5 Look in the right place for bfd.h. 1993-06-18 21:08:36 +00:00
Steve Chamberlain fdc506e668 Lint. 1993-06-18 20:53:58 +00:00
K. Richard Pixley 3681a95291 comment change. This is a mips file, not 88k. 1993-06-18 19:56:00 +00:00
David D. Zuhn 5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
Fred Fish 5e27ed65e2 Add note about endianess of the stabs-in-elf stabs binary data. 1993-06-18 19:24:44 +00:00
Fred Fish cc4fb84844 * stabs.texinfo: Add some basic info about stabs-in-elf.
(this may require attention from a tex/texinfo wizard..)
1993-06-18 19:15:45 +00:00
David D. Zuhn fe560b9fdf change program_transform_name quoting 1993-06-18 19:04:06 +00:00
Jim Kingdon 6ae55c65c8 * stabs.texinfo (Top): Minor cleanup. 1993-06-18 19:01:43 +00:00
Jim Kingdon 41126f153d * cache.c (bfd_cache_init): Increment open_files and call close_one
if necessary.
	(bfd_open_file): Don't increment open_files here.
1993-06-18 18:40:02 +00:00
Jim Kingdon 6278bcbda7 * config/delta88.mh: Don't set CC. 1993-06-18 18:38:05 +00:00
David D. Zuhn 1a4874f78f append transformbasename to transformed name 1993-06-18 18:18:12 +00:00
Jim Kingdon 394d1b3f0d #if 0 out some more declarations which conflict with system headers 1993-06-18 18:15:58 +00:00
Jim Kingdon 83660d21a7 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h. 1993-06-18 18:14:26 +00:00
Jim Kingdon e23b7b308a new file 1993-06-18 17:54:36 +00:00
Jim Kingdon 244ffee7f1 * Makefile.in: Add elf32-{mips,m88k,generic}.
elf32-{mips,m88k,generic}.c: New files.
	targets.c (target_vector): Include bfd_elf32_{mips,m88k,generic}_vec.
	elfcode.h (elf_object_p): Match elf32-generic for all machines which
	don't match a different target.
1993-06-18 17:45:41 +00:00
Fred Fish 5c0e7bd6ef * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
	  avoid spurious xfails.
	* gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
	* gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
	* gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
1993-06-18 17:43:51 +00:00
Jim Kingdon e64ec645a8 * buildsym.h: Doc fix for processing_acc_compilation. 1993-06-18 17:40:50 +00:00
David D. Zuhn 9cd039e778 more install/program_transform_name fixes 1993-06-18 17:03:58 +00:00
David D. Zuhn df063d29cc fix INSTALL_XFORM definition 1993-06-18 16:57:33 +00:00
Jim Kingdon 6b4b4d1791 * cache.c, bfd-in.h: New function bfd_make_cacheable.
opncls.c (bfd_fdopenr): Suggest it in the comment.
	* cache.c (bfd_cache_init): Increment open_files.
1993-06-18 16:13:10 +00:00
Jim Kingdon 2c4f2c7296 * Makefile.in: Add elf32-{mips,m88k}.
elf32-{mips,m88k}.c: New files.
	targets.c (target_vector): Include bfd_elf32_{mips,m88k}_vec.
1993-06-18 16:07:34 +00:00
John Gilmore 933ae8d4fd Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe.  Leave the 64-bit types for now,
since they are in flux.

* hosts/*.h:  Remove declarations of all these types.
1993-06-18 10:29:14 +00:00