Commit Graph

6062 Commits

Author SHA1 Message Date
David MacKenzie
042c6907f3 * aoutx.h (howto_table_ext): Comment the field names.
* reloc.c (bfd_perform_relocation): Fix max and min values.
1993-06-22 21:57:24 +00:00
Ken Raeburn
9110f70b26 elfcode.h:bfd_section_from_shdr change 1993-06-22 21:42:31 +00:00
Jim Kingdon
fdebd6296a * hosts/std-host.h: Return value of puts and fputs is int not void. 1993-06-22 21:40:17 +00:00
Ken Raeburn
15012ad131 Sigh. Null pointer return might be right in some cases; don't abort. 1993-06-22 21:39:40 +00:00
Ken Raeburn
94dbb655ba More get_word/put_word changes.
(bfd_section_from_shdr, case SHT_PROGBITS): If section already exists, still
use its address to fill in the rawdata slot.
(section_from_elf_index): Abort if section pointer is null.
1993-06-22 21:38:10 +00:00
Jim Kingdon
acf7d010ce * stabs.texinfo: Express disapproval of 'D' symbol descriptor
politely rather than rudely.
1993-06-22 21:37:32 +00:00
Jim Kingdon
59ba57dad6 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
is SIG_DFL.

	* procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
	systems, not just Solaris.
1993-06-22 19:48:52 +00:00
David MacKenzie
346535cc1f * ldlex.l, ldgram.y: Support new -oformat option.
Remove attempt at supporting script fragments on the command line.
	* ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
	* mri.c (mri_format), ldgram.y: Change callers.
	* ldlang.h: Change prototype.
1993-06-22 17:41:28 +00:00
Jim Kingdon
9ddfb9eb20 * stabsread.c: Include <ctype.h>. 1993-06-22 08:20:18 +00:00
Jim Kingdon
3768398df8 * fork-child.c (fork_inferior): Quote exec_file so it can contain
funky characters.
1993-06-22 04:27:00 +00:00
Ken Raeburn
304b747aad fix include path again 1993-06-22 03:42:59 +00:00
Ken Raeburn
a1865d8049 Lots o' changes.
Mostly ELF changes, or misc cleanup.
1993-06-22 03:24:48 +00:00
Ken Raeburn
3ceaa2556e regenerated 1993-06-22 03:22:54 +00:00
Ken Raeburn
238ac6ecd2 Use new size-independent elf internal data structures.
(put_word, get_word): Define as appropriate for architecture word size.
Structure swapping functions changed to use them as appropriate.
(bfd_add_to_strtab): Now static.
(sym_is_global): New function.
(elf_map_symbols): Call it.  Now returns void.  Removed unused local variable.
(bfd_section_from_shdr): Mark string 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.
(elf_symbol_from_bfd_symbol): Hid conditionally-used variable inside condition
test.
(elf_print_symbol): Use fprintf_vma.
(elf_idx_of_sym, bfd_shdr_from_section): Unused functions commented out.
1993-06-22 03:21:12 +00:00
Ken Raeburn
ab00002f15 Use new size-independent elf internal data structures. 1993-06-22 03:07:39 +00:00
Ken Raeburn
268f94aca3 Use new size-independent versions of elf internal data structures. 1993-06-22 03:06:29 +00:00
Ken Raeburn
c48ff89fe1 Before casting a pointer into an integer field, verify that the field is
wide enough to hold it.
1993-06-22 03:00:43 +00:00
Ken Raeburn
2c3b9e4714 (srec_write_symbols): Use sprintf_vma, in case bfd_vma is too wide for
printf to handle.
1993-06-22 02:58:25 +00:00
Ken Raeburn
d429d6064c Don't define int64 stuff here. 1993-06-22 02:56:29 +00:00
Fred Fish
68eabdd300 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
bfd.h is included by target.h, which most of gdb includes.
	* depend:  Hand remove BFD_INCLUDES from ${CC} lines, now that
	it's in INCLUDE_CFLAGS.
1993-06-22 00:05:40 +00:00
Jim Kingdon
d628e5b2b6 various revisions to new files 1993-06-21 23:47:51 +00:00
Jim Kingdon
2c7ab4ca35 * config/i386/*aix*, i386aix-nat.c: New files.
* configure.in: Use them.
	* alldeps.mak: List them.
	* coffread.c (decode_base_type): Deal with anonymous enum type.
	* i387-tdep.c (print_387_status_word): Add comment re "top".
	* i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
	* dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*.  Define them if and
	only if not defined by a header file.
	* mipsread.c: Don't define L_SET or L_INCR.
1993-06-21 23:46:49 +00:00
David MacKenzie
2b63dbfefd * .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl. 1993-06-21 23:40:21 +00:00
Jim Kingdon
ecee7d0c2d new file 1993-06-21 23:39:59 +00:00
Jim Kingdon
c96d68c281 * config/i386/*aix*: New files.
* alldeps.mak: List them.
1993-06-21 23:14:07 +00:00
Fred Fish
cfb702c1e0 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
	gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
	Makefile.in (distclean, realclean):  Remove gdbme.c from list of
	things to remove.
1993-06-21 22:27:19 +00:00
Fred Fish
200a347093 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
* depend:  Hand updated to match.
1993-06-21 22:11:44 +00:00
Fred Fish
733d4e93a9 Bfd.h is now back in BFD_OBJ_DIR, update by hand to match pending Rich's
changes...
1993-06-21 20:18:10 +00:00
David D. Zuhn
af8647132a don't use dirname 1993-06-21 19:38:14 +00:00
Jim Kingdon
9b4be067af make mips-sony-bsd work 1993-06-21 19:37:13 +00:00
Jim Kingdon
550754345f expand on solib_add_common_symbols comment 1993-06-21 18:48:51 +00:00
Jim Kingdon
7edd8068e1 * snapshots.readme: Tell people to always report missing files. 1993-06-21 17:33:06 +00:00
Jim Kingdon
6418521d71 fix typo in name of elf32-generic.c 1993-06-21 17:27:37 +00:00
Fred Fish
c1aa3a2fbb Add all the mt-* files as things to keep. 1993-06-21 16:39:46 +00:00
Fred Fish
0bbc1a34ee Add news.h to list of files to keep. 1993-06-21 16:34:36 +00:00
Fred Fish
8d936d1f5b Add elf32-generic.c to list of files to keep. 1993-06-21 15:27:00 +00:00
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