Ian Lance Taylor
76c64db09f
Various entries.
1993-07-07 17:22:56 +00:00
Ken Raeburn
e28e0b95ed
Typedef changes. V9 work.
1993-07-07 17:16:02 +00:00
Ken Raeburn
125f0b0d84
(sparc_ip): Initialize `len' variable to make gcc shut up.
...
(md_create_short_jump, md_create_long_jump, md_number_to_chars,
md_section_align): Adjusted for new interface.
(s_reserve): Permit use for other than a.out format.
(s_common): Handle Solaris-2 version.
(s_xword): For numbers, call big_cons.
(sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64 reloc types.
(md_number_to_chars): Handle 8-byte values.
1993-07-07 16:58:29 +00:00
Ken Raeburn
3c8df4ba76
(md_create_short_jump, md_create_long_jump,
...
md_number_to_chars, md_section_align): Adjusted for new interface.
1993-07-07 16:56:24 +00:00
Ken Raeburn
6e3785155d
Change various calls (e.g., to symbol_new, md_number_to_chars) to cast
...
valueT or addressT arguments to correct types.
1993-07-07 16:40:30 +00:00
Ken Raeburn
039d8f7350
(struct fix): Fields fx_offset and fx_addnumber are now type valueT.
...
(fix_new): Argument offset is now type offsetT.
1993-07-07 16:39:13 +00:00
Ken Raeburn
d536474829
(write_object_file): Locals from_addr, to_addr, table_addr are now addressT.
...
Supply prototype for bfd_alloc for now.
(fixup_segment): Local add_number is now valueT. Fix some range-checking bugs.
(relax_align): Type `int' should be sufficient for the exponent.
(fix_new): Argument offset is offsetT. Locals size and newsize are valueT.
1993-07-07 16:33:38 +00:00
Ken Raeburn
2b68b820a9
* symbols.c (symbol_new): Symbol value is type valueT.
...
(S_SET_VALUE, S_GET_VALUE): Likewise.
(S_IS_*): Specify int return type explicitly.
* symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed prototypes.
1993-07-07 16:25:37 +00:00
Ken Raeburn
bd4d4b8aca
(obj_elf_frob_symbol, elf_frob_file, elf_file_symbol): Declare.
...
(elf_symbol): For sparc v9, use 64-bit symbol type.
1993-07-07 16:22:12 +00:00
Ken Raeburn
dee576a0a7
clean v9 from obj-elf.h
1993-07-07 16:19:59 +00:00
Ken Raeburn
25c09bbf44
Define ENV64 for sparc v9.
1993-07-07 16:17:29 +00:00
Ken Raeburn
7d0ed38fc3
(free): Returns void if __STDC__.
1993-07-07 16:14:44 +00:00
Ian Lance Taylor
2fd415dfa2
Don't crash if with_minimal_bfd is the empty string.
1993-07-07 15:26:14 +00:00
Ken Raeburn
4032436291
(s_comm): Values read are type valueT.
1993-07-07 12:37:58 +00:00
Ken Raeburn
2fe8b7b003
(expressionS): Field X_add_number is an offsetT.
1993-07-07 12:36:51 +00:00
Ken Raeburn
dae92eaba0
(integer_constant, floating_constant): Now return void.
1993-07-07 12:35:48 +00:00
Ken Raeburn
b17c891e58
move valueT typedef to as.h from struc-symbol.h
1993-07-07 12:33:43 +00:00
Ken Raeburn
f520031860
localize a conditionally used variable
1993-07-07 12:33:11 +00:00
David D. Zuhn
ccd2422106
simplify adding gprof to sh-*-*
1993-07-06 22:00:57 +00:00
Ken Raeburn
7e37f9ff25
more prototypes, in libelf.h
1993-07-06 21:14:36 +00:00
Ken Raeburn
72fc67ed29
Several changes: type fixes; prototypes; minimal-bfd work; elf fixes.
1993-07-06 20:48:07 +00:00
Ken Raeburn
fa5ba2170f
regenerated
1993-07-06 20:46:32 +00:00
Ken Raeburn
6a3eb9b606
* elfcode.h (elf_read): Delete static declaration, since function has moved.
...
(elf_map_symbols): Write out section symbols for all sections, for now.
(elf_symbol_from_bfd_symbol): Allow match if both symbols are section symbols
for the same section.
(elf_find_nearest_line): Don't print message, just return false.
1993-07-06 20:43:42 +00:00
Ken Raeburn
789776d7be
fill out reloc table
1993-07-06 20:36:42 +00:00
Ken Raeburn
c812942fc5
Hack to cut down compilations needed for minimal-bfd:
...
* Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
(ofiles): New target. Build a list of unique file names, in case
any got duplicated.
(TARGETLIB): Use list of files from ofiles.
* configure.in: Set BFD_MACHINES and BFD_BACKENDS depending on
minimal-bfd flag and target makefile frag contents.
1993-07-06 20:27:25 +00:00
Ken Raeburn
70e009144e
Stricter prototyping, to force type conversions between 64-bit target and
...
32-bit host values.
* libbfd.c (bfd_xmalloc_by_size_t): New function.
* opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations.
(obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
(new_bfd): Prototype-style definition, using DEFUN.
(bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type
size_t, not bfd_size_type.
* ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
* bfd.c (bfd_default_error_trap, bfd_error_trap,
bfd_error_nonrepresentabltrap): Prototypes.
* libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted
prototypes for arg type change.
* archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize,
do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.
1993-07-06 20:20:31 +00:00
John Gilmore
238ffce0bf
* gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS,
...
removed from the code by Kingdon.
1993-07-06 19:43:06 +00:00
Ken Raeburn
defcfb5570
(enum bfd_reloc_code_real): Put simple power-to-two relocs together, and add
...
64-bit versions. Also add sparc v9 reloc types.
(bfd_generic_get_relocated_section_contents): Argument to alloca is size_t.
1993-07-06 19:29:36 +00:00
Jim Kingdon
afde243fa5
* gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
1993-07-06 19:04:59 +00:00
Jim Kingdon
c2153bf2ba
* Makefile.in: Remove gdb before creating a new one.
...
Update init.c atomically.
1993-07-06 18:56:48 +00:00
Steve Chamberlain
768328bc1b
New file.
1993-07-06 18:28:42 +00:00
Steve Chamberlain
817382d1ba
Build gprof for sh.
1993-07-06 18:04:05 +00:00
Jim Kingdon
958e954a58
* gdb.texinfo (Break Commands): Remove stuff about flushing terminal
...
input when evaluating breakpoint conditions; the bug has been fixed.
* gdb.texinfo (Continuing and Stepping): Argument to "continue"
sets the ignore count to N-1, not to N.
1993-07-06 17:43:51 +00:00
Steve Chamberlain
1a11e53014
* run.c (main), interp.c (sim_set_timeout): Remove timeout
...
functionality.
1993-07-06 17:31:34 +00:00
Jim Kingdon
de6a270409
* Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
...
(ALLCONFIG): Add config/alpha/alpha-osf1.mh.
* infcmd.c (_initialize_infcmd): In docstring for "continue",
describe argument as setting ignore count.
1993-07-06 17:15:02 +00:00
Steve Chamberlain
b4a1e77be8
* Makefile.in: Install correctly.
1993-07-06 17:12:20 +00:00
David D. Zuhn
9dea029fad
remove INSTALL=cp
1993-07-06 17:10:44 +00:00
Jim Kingdon
46d284c9fc
* gdb.t06/signals.c: Add xfails for sun3.
1993-07-06 05:23:10 +00:00
Jim Kingdon
306ee233ba
* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
1993-07-06 04:05:49 +00:00
Jim Kingdon
762665e153
* gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
...
test_stepping tests.
1993-07-06 03:50:00 +00:00
David Edelsohn
a76b3e14b1
* cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
1993-07-05 23:50:15 +00:00
Ian Lance Taylor
59624167d7
* config/hp300hpux.mt: Use emulation hp3hpux rather than
...
hp300hpux, since the latter does not exist.
1993-07-05 21:32:35 +00:00
Ian Lance Taylor
55636aa789
* ldlang.c (lang_relocate_globals): Skip indirect symbols, which
...
now have a non NULL srefs_chain.
1993-07-05 21:32:13 +00:00
Mark Eichin
86fd58bf53
solaris doesn't have siginterrupt, though it has sigaction; however,
...
in this case siginterrupt would just be setting the default. (This was
the only patch needed to make devo build solaris-x-a29kudi...)
1993-07-05 15:06:51 +00:00
David Edelsohn
b1d0b1614b
* h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer.
1993-07-04 22:07:17 +00:00
David Edelsohn
ce51bde687
(sim_csize): Initialize cpu.cache.
1993-07-04 07:37:45 +00:00
David Edelsohn
a5b5f81d79
(bfd_h8_disassemble): Correct fetching of instruction.
1993-07-04 06:49:43 +00:00
David MacKenzie
a04f1d001e
Passing -L. is no longer necessary.
1993-07-03 02:23:22 +00:00
David MacKenzie
ff76a7dbf3
Fix previous fix.
1993-07-03 02:18:12 +00:00
David MacKenzie
173a0c3d26
* ldmain.c (main): Don't add scriptdir to the lib search path.
...
* genscripts.sh: Put the scripts in the ldscripts directory, not
emulations.
* configure.in (ldscripts): Make, instead of emulations.
* Makefile.in (scriptdir): Take off the "ld" part.
(install, clean, distclean): Use ldscripts, not emulations.
In tests, pass -L., not -Lemulations.
(ldmain.o): Don't pass -DSCRIPTDIR=....
* ldlang.c (lang_process): Add "ldscripts/" to the name of the
default script file.
1993-07-03 02:01:03 +00:00