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.
34 years ago
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.
34 years ago
Ken Raeburn
bd4d4b8aca
(obj_elf_frob_symbol, elf_frob_file, elf_file_symbol): Declare.
(elf_symbol): For sparc v9, use 64-bit symbol type.
34 years ago
Ken Raeburn
dee576a0a7
clean v9 from obj-elf.h
34 years ago
Ken Raeburn
25c09bbf44
Define ENV64 for sparc v9.
34 years ago
Ken Raeburn
7d0ed38fc3
(free): Returns void if __STDC__.
34 years ago
Ian Lance Taylor
2fd415dfa2
Don't crash if with_minimal_bfd is the empty string.
34 years ago
Ken Raeburn
4032436291
(s_comm): Values read are type valueT.
34 years ago
Ken Raeburn
2fe8b7b003
(expressionS): Field X_add_number is an offsetT.
34 years ago
Ken Raeburn
dae92eaba0
(integer_constant, floating_constant): Now return void.
34 years ago
Ken Raeburn
b17c891e58
move valueT typedef to as.h from struc-symbol.h
34 years ago
Ken Raeburn
f520031860
localize a conditionally used variable
34 years ago
David D. Zuhn
ccd2422106
simplify adding gprof to sh-*-*
34 years ago
Ken Raeburn
7e37f9ff25
more prototypes, in libelf.h
34 years ago
Ken Raeburn
72fc67ed29
Several changes: type fixes; prototypes; minimal-bfd work; elf fixes.
34 years ago
Ken Raeburn
fa5ba2170f
regenerated
34 years ago
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.
34 years ago
Ken Raeburn
789776d7be
fill out reloc table
34 years ago
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.
34 years ago
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.
34 years ago
John Gilmore
238ffce0bf
* gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS,
removed from the code by Kingdon.
34 years ago
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.
34 years ago
Jim Kingdon
afde243fa5
* gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
34 years ago
Jim Kingdon
c2153bf2ba
* Makefile.in: Remove gdb before creating a new one.
Update init.c atomically.
34 years ago
Steve Chamberlain
768328bc1b
New file.
34 years ago
Steve Chamberlain
817382d1ba
Build gprof for sh.
34 years ago
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.
34 years ago
Steve Chamberlain
1a11e53014
* run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.
34 years ago
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.
34 years ago
Steve Chamberlain
b4a1e77be8
* Makefile.in: Install correctly.
34 years ago
David D. Zuhn
9dea029fad
remove INSTALL=cp
34 years ago
Jim Kingdon
46d284c9fc
* gdb.t06/signals.c: Add xfails for sun3.
34 years ago
Jim Kingdon
306ee233ba
* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
34 years ago
Jim Kingdon
762665e153
* gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
test_stepping tests.
34 years ago
David Edelsohn
a76b3e14b1
* cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
34 years ago
Ian Lance Taylor
59624167d7
* config/hp300hpux.mt: Use emulation hp3hpux rather than
hp300hpux, since the latter does not exist.
34 years ago
Ian Lance Taylor
55636aa789
* ldlang.c (lang_relocate_globals): Skip indirect symbols, which
now have a non NULL srefs_chain.
34 years ago
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...)
34 years ago
David Edelsohn
b1d0b1614b
* h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer.
34 years ago
David Edelsohn
ce51bde687
(sim_csize): Initialize cpu.cache.
34 years ago
David Edelsohn
a5b5f81d79
(bfd_h8_disassemble): Correct fetching of instruction.
34 years ago
David MacKenzie
a04f1d001e
Passing -L. is no longer necessary.
34 years ago
David MacKenzie
ff76a7dbf3
Fix previous fix.
34 years ago
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.
34 years ago
Steve Chamberlain
56fc37746d
Keep writecode.c
34 years ago
David Edelsohn
f7e3d580dc
Makefile.in: Add -I../../bfd to pick up bfd.h.
34 years ago
David Edelsohn
9c06680d28
Fix typo.
34 years ago
Jim Kingdon
0c5af733b1
* config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
rather than including xm-bigmips.h.
34 years ago
Jim Kingdon
1500864f5b
* eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
default cases.
34 years ago
Jim Kingdon
fdf138bb6a
* Makefile.in (distclean): Remove y.tab.h.
34 years ago