Rob Savoye [Wed, 19 Oct 1994 03:02:17 +0000 (03:02 +0000)]
* monitor.c (monitor_load_srec,monitor_make_srec): Add an asrecord
loader that reads files using BFD and converts it on the fly.
* monitor.c (set_loadtype_command): Fixed so it doesn't core dump.
* monitor.c (monitor_load): check the load type and load the file
accordingly. Default to gr_load_image().
* monitor.c (monitor_load_ascii_srec): Load an ascii file in
srecord format by downloading to the monitor.
* w89k-rom.c, op50n-rom.c: set supported load types.
Rob Savoye [Wed, 19 Oct 1994 03:00:29 +0000 (03:00 +0000)]
Add a ^C to the init string.
Ian Lance Taylor [Tue, 18 Oct 1994 21:42:41 +0000 (21:42 +0000)]
rebuilt dependencies
Ian Lance Taylor [Tue, 18 Oct 1994 19:59:52 +0000 (19:59 +0000)]
* ldlex.l: Cast assignment to yy_ch_buf field to char *, not to
YY_CHAR *.
Ian Lance Taylor [Tue, 18 Oct 1994 19:34:31 +0000 (19:34 +0000)]
* Makefile.in (all-binutils): Depend upon all-byacc.
Ian Lance Taylor [Tue, 18 Oct 1994 19:26:16 +0000 (19:26 +0000)]
* configure.in: Don't build emacs on Irix 5.
Ian Lance Taylor [Tue, 18 Oct 1994 19:20:58 +0000 (19:20 +0000)]
* objcopy.c (copy_object): If the output file format is `binary',
and the start address was not set using --set-start, default the
start address to zero. This hack is because the `binary' output
file format uses the start address to set the virtual address of
the first byte in the file.
* binutils.texi, objcopy.1: Add some notes on generating S-records
and binary files.
Ian Lance Taylor [Tue, 18 Oct 1994 18:51:01 +0000 (18:51 +0000)]
* binary.c: New file for raw binary output format.
* Makefile.in (BFD_LIBS): Add binary.o.
(CFILES): Add binary.c.
* targets.c (binary_vec): Declare.
(bfd_target_vector): Include binary_vec.
Ian Lance Taylor [Tue, 18 Oct 1994 18:49:34 +0000 (18:49 +0000)]
* aout-target.h (MY_bfd_copy_private_section_data): Only copy
subformat to another bfd_target_aout_flavour file.
Ian Lance Taylor [Tue, 18 Oct 1994 16:58:24 +0000 (16:58 +0000)]
* srec.c (tdata_type): Add field tail.
(srec_mkobject): Initialize tail.
(srec_set_section_contents): Sort S record list by address.
Ian Lance Taylor [Tue, 18 Oct 1994 16:03:05 +0000 (16:03 +0000)]
* nm.c (print_symdef_entry): Call print_symname to print the
symbol name, so that --demangle works.
Ian Lance Taylor [Tue, 18 Oct 1994 15:55:10 +0000 (15:55 +0000)]
* Makefile.in (mostlyclean): Remove tmpdir.
Ian Lance Taylor [Tue, 18 Oct 1994 15:51:03 +0000 (15:51 +0000)]
* binutils-all/objcopy.exp: New file.
* config/default.exp: Initialize OBJCOPY and OBJCOPYFLAGS.
Ian Lance Taylor [Tue, 18 Oct 1994 15:49:53 +0000 (15:49 +0000)]
* objcopy.c (struct section_list): Add fields used, adjust, val.
(adjust_start, set_start_set, set_start): New static variables.
(adjust_section_vma, adjust_sections): New static variables.
(copy_options): Add --adjust-start, --adjust-vma,
--adjust-section-vma, --adjust-warnings, --no-adjust-warnings,
--set-start.
(parse_vma): New static function.
(copy_usage): Mention new options.
(copy_object): Handle --set-start and --adjust-start.
(setup_section): Correct type of last argument to PTR. Set used
field if section is removed. Handle --adjust-vma and
--adjust-section-vma.
(copy_section): Correct type of last argument to PTR.
(mark_symbols_used_in_relocations): Likewise.
(strip_main): Clear used field when handling -R.
(copy_main): Handle new options.
* binutils.texi (objcopy): Document new options.
* objcopy.1: Document new options.
Ian Lance Taylor [Tue, 18 Oct 1994 04:46:45 +0000 (04:46 +0000)]
* write.c (renumber_sections): New static BFD_ASSEMBLER function.
(write_object_file): Call it after removing gas created sections.
Rob Savoye [Tue, 18 Oct 1994 00:55:51 +0000 (00:55 +0000)]
* monitor.c (set_loadtype_command): Fixed so it doesn't core dump.
* monitor.c (monitor_load): check the load type and load the file
accordingly. Default to gr_load_image().
* monitor.c (monitor_load_ascii_srec): Load an ascii file in
srecord format by downloading to the monitor.
* w89k-rom.c, op50n-rom.c: set supported load types.
Ian Lance Taylor [Mon, 17 Oct 1994 23:59:36 +0000 (23:59 +0000)]
* oasys.c (oasys_slurp_symbol_table): Use udata.p rather than just
udata.
Ian Lance Taylor [Mon, 17 Oct 1994 23:52:27 +0000 (23:52 +0000)]
* symbols.c (symbol_create): Use udata.p, not just udata.
* config/obj-elf.c (obj_ecoff_set_ext): Likewise.
(elf_get_extr): Likewise.
Ian Lance Taylor [Mon, 17 Oct 1994 23:51:25 +0000 (23:51 +0000)]
* elfcode.h (elf_map_symbols): Sort the symbols into a new array,
rather than messing with Elf_Sym_Extra. Store the symbol index in
the udata.i field.
(swap_out_syms): Use outbound_syms as a pointer rather than as an
array. Don't worry about elf_sym_num.
(elf_symbol_from_bfd_symbol): Use udata.i rather than just udata.
* libelf.h (struct elf_sym_extra): Don't define.
(Elf_Sym_Extra): Don't define.
(struct elf_obj_tdata): Remove sym_extra field.
(elf_sym_extra): Don't define.
* elf32-hppa.c (elf32_hppa_backend_final_write_processing): Use
udata.i rather than elf_sym_extra array.
(elf32_hppa_backend_symbol_table_processing): Don't set
symextn_hdr->size; just use sh_size.
J.T. Conklin [Mon, 17 Oct 1994 23:23:31 +0000 (23:23 +0000)]
* configure.in (*-*-netware*): Add libio.
Ian Lance Taylor [Mon, 17 Oct 1994 22:07:16 +0000 (22:07 +0000)]
* read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
Ian Lance Taylor [Mon, 17 Oct 1994 22:03:14 +0000 (22:03 +0000)]
Use a hash table when writing out ELF symbol names.
* elfcode.h (elf_stringtab_init): New static function.
(bfd_new_strtab, bfd_add_to_strtab, bfd_add_2_to_strtab): Remove.
Change all callers to use elf_stringtab_init or
_bfd_stringtab_add, and get stringtab lengths using
_bfd_stringtab_size.
(elf_fake_sections): Change ignored argument to pointer to
boolean, and set the boolean to true if an error occurs. If an
error has already occurred, don't do anything.
(assign_section_numbers): Just set sh_size, not contents.
(elf_compute_section_file_positions): Pass the address of a
boolean to elf_fake_sections. Pass the address of a
bfd_strtab_hash to swap_out_syms. Write out the .strtab section.
(prep_headers): Change shstrtab to bfd_strtab_hash.
(swap_out_syms): Take a pointer to a bfd_strtab_hash as an
argument. Set it to the symbol names.
(NAME(bfd_elf,write_object_contents)): Write out the section
header names using _bfd_stringtab_emit.
(elf_debug_section): Remove first argument; get the section name
via the bfd_section pointer. Change caller.
(elf_bfd_final_link): Write out the symbol names using
_bfd_stringtab_emit. Likewise for the .dynstr section contents.
Free the symbol names at the end of the function.
(elf_link_input_bfd): Remove the last argument, output_names,
from relocate_section. Save the old symbol contents before
calling elf_link_output_sym, and restore them afterward.
* libelf.h (struct elf_link_hash_table): Change dynstr field to
struct bfd_strtab_hash.
(struct elf_backend_data): Remove last argument, output_names,
from elf_backend_relocate_section field.
(struct strtab): Don't define.
(struct elf_obj_tdata): Change strtab_ptr field to struct
bfd_strtab_hash.
* elf32-hppa.c (elf32_hppa_relocate_section): Remove last
argument, output_names.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
J.T. Conklin [Mon, 17 Oct 1994 22:03:09 +0000 (22:03 +0000)]
* scripttempl/nw.sc: Gather constructors and destructors and
define __CTOR__LIST__ and __DTOR_LIST__ appropriately.
Jim Kingdon [Mon, 17 Oct 1994 21:44:25 +0000 (21:44 +0000)]
Fix typo in my recent ChangeLog entry.
Jim Kingdon [Mon, 17 Oct 1994 21:41:20 +0000 (21:41 +0000)]
Fix thinko in ian's ChangeLog entry
Jim Kingdon [Mon, 17 Oct 1994 21:21:52 +0000 (21:21 +0000)]
* Makefile.in (ALLDEPFILES): Remove xcoffexec.c.
* Makefile.in: Remove xcoffexec.o rule.
* exec.c (exec_file_command): Add comment.
Fix data and bss relocation for VxWorks 5.1:
* remote-vx.c (vx_add_symbols): New function.
(vx_load_command, add_symbol_stub): Call it instead of
symbol_file_add.
(vx_wait): Remove comment which was wrong to useless.
* remote-vx.c: Reindent much of file.
* coffread.c (cs_to_section, find_targ_sec): New functions.
(process_coff_symbol): Set SYMBOL_SECTION to result
from cs_to_section.
(coff_symtab_read): Call cs_to_section and deal appropriate
rather than assuming sections are in a certain order. Deal with
BSS.
* coffread.c: Remove text_bfd_scnum variable.
Ken Raeburn [Mon, 17 Oct 1994 20:33:46 +0000 (20:33 +0000)]
updated version
Ian Lance Taylor [Mon, 17 Oct 1994 19:31:23 +0000 (19:31 +0000)]
* libbfd-in.h (DEFAULT_STRING_SPACE_SIZE): Don't define.
(bfd_add_to_string_table): Don't declare.
* libbfd.h: Rebuild.
* libbfd.c (bfd_add_to_string_table): Remove.
Ian Lance Taylor [Mon, 17 Oct 1994 18:27:40 +0000 (18:27 +0000)]
* elfcode.h (elf_swap_shdr_in): Use rawdata, not bfd_section.
Clear contents field.
(bfd_section_from_shdr): In SHT_STRTAB case, check bfd_section,
not rawdata. Don't set rawdata if e_shstrndx. Use bfd_section
rather than rawdata in commented out code. In SHT_REL[A] case,
don't bother to check elf_section_data of section returned by
section_from_elf_index.
(elf_fake_sections): Set bfd_section, not rawdata. Don't set
size.
(elf_map_symbols): Don't set elf_num_section_syms. Don't create
section symbols that already exist.
(assign_file_position_for_section): Use bfd_section, not rawdata.
(section_from_elf_index): Just check bfd_section field.
(elf_section_from_bfd_section): Likewise.
(elf_debug_section): Don't print rawdata, contents, or size.
(elf_link_add_object_symbols): Don't error out if
section_from_elf_index returns NULL.
(elf_bfd_final_link): Check return value from
section_from_elf_index against NULL, not bfd_is_abs_section.
(elf_link_input_bfd): Don't check section_from_elf_index return
value.
* libelf.h (struct elf_obj_tdata): Remove num_section_syms field.
(elf_num_section_syms): Don't define.
* elf.c (elf_get_str_section): Store section contents in contents
field rather than rawdata field.
(elf_string_from_elf_section): Likewise.
(_bfd_elf_make_section_from_shdr): Store BFD section pointer in
bfd_section field rather than rawdata field.
* elf32-hppa.c (elf32_hppa_read_symext_info): Use bfd_section
rather than rawdata.
(elf32_hppa_size_stubs): Likewise.
* elf32-mips.c (mips_elf_final_write_processing): Use bfd_section
rathern than rawdata.
(mips_elf_section_from_shdr): Likewise.
(mips_elf_section_processing): Likewise.
(mips_elf_section_from_bfd_section): Remove rawdata check.
Ian Lance Taylor [Mon, 17 Oct 1994 15:39:37 +0000 (15:39 +0000)]
* srec.c (pass_over): Set the start address for S7, S8 or S9.
Jeff Law [Mon, 17 Oct 1994 08:45:18 +0000 (08:45 +0000)]
* gas/hppa/reloc/reduce3.s: New test.
* gas/hppa/reloc/reloc.exp: run it.
Jeff Law [Mon, 17 Oct 1994 04:27:13 +0000 (04:27 +0000)]
* gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match
current reality.
Stan Shebs [Sun, 16 Oct 1994 00:19:02 +0000 (00:19 +0000)]
* corelow.c: Format to standard.
(core_close): Use name instead of bfd_filename.
Jim Kingdon [Sat, 15 Oct 1994 18:28:35 +0000 (18:28 +0000)]
* symfile.c (reread_symbols): Include bfd_errmsg string in error
message if bfd_close fails.
* exec.c (exec_close), solib.c (clear_solib), corelow.c
(core_close), objfiles.c (free_objfile), irix5-nat.c
(clear_solib), osfsolib.c (clear_solib), remote-utils.c
(gr_load_image): Check for errors from bfd_close.
* solib.c (look_for_base), remote-utils.c (gr_load_image),
remote-udi.c (download), corelow.c (core_open), symfile.c
(symfile_bfd_open), symfile.c (generic_load): Add comment
regarding error from bfd_close.
* remote-udi.c (download), remote-utils.c (gr_load_image): Add
comment about bogus handling of errors from bfd_openr.
* exec.c (exec_close): Add comment regarding memory leak and
dangling reference to vp->name.
Jim Kingdon [Sat, 15 Oct 1994 18:13:47 +0000 (18:13 +0000)]
* exec.c (map_vmap): Cast return from xmalloc to its proper type,
not to PTR.
* symfile.c (reread_symbols): Include bfd_errmsg string in error
message if bfd_close fails.
* exec.c (exec_close), solib.c (clear_solib), corelow.c
(core_close), objfiles.c (free_objfile), irix5-nat.c
(clear_solib), remote-utils.c (gr_load_image):
Check for errors from bfd_close.
* solib.c (look_for_base), remote-utils.c (gr_load_image),
remote-udi.c (download), corelow.c (core_open), symfile.c
(symfile_bfd_open), symfile.c (generic_load): Add comment
regarding error from bfd_close.
* remote-udi.c (download), remote-utils.c (gr_load_image): Add
comment about bogus handling of errors from bfd_openr.
* exec.c (exec_close): Add comment regarding memory leak and
dangling reference to vp->name.
Peter Schauer [Sat, 15 Oct 1994 10:53:17 +0000 (10:53 +0000)]
* .Sanitize: Add nm-nbsd.h.
Peter Schauer [Sat, 15 Oct 1994 10:50:07 +0000 (10:50 +0000)]
* eval.c (evaluate_subexp): Make fnptr a LONGEST instead
of using longest_to_int.
* infcmd.c (run_stack_dummy): Reinstate set_current_frame call,
mips and alpha targets need the real breakpoint pc for
creating the breakpoint frame.
* stack.c (return_command): Cast return value to the return
type of the function from which we return.
* values.c (set_return_value): Pass VALUE_CONTENTS unmodified
to STORE_RETURN_VALUE.
* symtab.c (lookup_symbol): Remove search for `static mangled
symbols', the search for `static symbols' already looks for
mangled and demangled symbols via lookup_block_symbol.
* valarith.c (value_binop): Use ANSI C arithmetic conversions
when performing integral evaluations, implement BINOP_EQUAL and
BINOP_LESS.
(value_equal, value_less): Use value_binop to perform the
comparison if both operands have TYPE_CODE_INT.
* rs6000-tdep.c (pop_frame): Make sure all registers are valid,
as they are written back later. Handle sp restore for frameless
functions. Use fdata.nosavedpc instead of fdata.frameless to
determine if the pc has been saved.
(function_frame_info): Handle `mr r31,r1', which is generated by
gcc-2.6, as a synonym for `oril r31,r1,0'.
(skip_trampoline_code): Handle shared library trampolines.
* xcoffread.c (read_xcoff_symtabs): Record XMC_GL symbols with
their real name. Enables setting of breakpoints in shared libraries
before the executable is run.
Rob Savoye [Sat, 15 Oct 1994 01:45:59 +0000 (01:45 +0000)]
* monitor.h, remote-mon.c: Hack up to so the old ROM monitor
interface code still works with the new ROM monitor
structures. Fake out a couple of fields.
Ken Raeburn [Fri, 14 Oct 1994 23:17:15 +0000 (23:17 +0000)]
update to version 2.5
Ken Raeburn [Fri, 14 Oct 1994 23:08:21 +0000 (23:08 +0000)]
From 2.5 release:
* Makefile.in (BISON): Use bison -y, not bison.
* Makefile.in (VERSION): Updated to 2.5.
(clean-here): Delete stamp-mk.com.
(distclean): Delete .gdbinit.
Also, note release in changelog.
J.T. Conklin [Fri, 14 Oct 1994 22:57:12 +0000 (22:57 +0000)]
* Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o.
(ei386nw.c, eppcnw.c): New targets.
* config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh,
scripttmpl/nw.sc: New files, for i386 and powerpc netware.
* configure.in: Changed netware ld_target name to be {i386,ppc}-nw
instead of {i386,ppc}-elf.
* configure.in (sparc*-*-netware): Removed. There is no such
thing anymore.
Ian Lance Taylor [Fri, 14 Oct 1994 22:34:50 +0000 (22:34 +0000)]
clobbered somehow by previous checkin
Stan Shebs [Fri, 14 Oct 1994 22:05:54 +0000 (22:05 +0000)]
* h8500-tdep.c (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): Rename to
h8500_read_sp, etc.
(h8500_read_pc, h8500_write_pc): Add pid argument.
* config/h8500/tm-h8500.h (TARGET_READ_SP, TARGET_WRITE_SP,
TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP):
Change to match functions above.
J.T. Conklin [Fri, 14 Oct 1994 21:38:10 +0000 (21:38 +0000)]
* ldint.texinfo: Move misplaced `@end iftex'.
Ian Lance Taylor [Fri, 14 Oct 1994 18:57:57 +0000 (18:57 +0000)]
* configure.in (configdirs): Remove definition--testsuite is no
longer configured.
* Makefile.in (testsuite): Remove target.
(site.exp): New target.
(check): Rewrite.
(clean, distclean): Don't recur into testsuite directory.
Ian Lance Taylor [Fri, 14 Oct 1994 18:56:29 +0000 (18:56 +0000)]
Rewrite testsuite.
* configure.in, Makefile.in: Remove.
* binutils-all/configure.in, binutils-all/Makefile.in: Remove.
* binutils-all/bintest.c: Remove.
* binutils-all/bintest.s: New file.
* binutils-all/nm.exp, binutils-all/objdump.exp: Rewrite.
* binutils-all/size.exp: Rewrite.
* config/default.exp: Load utils-lib.exp. Set AS and ASFLAGS.
Don't go up one directory from $base_dir. Create tmpdir.
(binutils_run, binutils-assemble): New procedures.
* config/unix.exp: Remove.
* config/mt-a29k-udi, config/mt-i386-aout: Remove.
* config/mt-i960-nindy, config/mt-lynx, config/mt-m68k: Remove.
* config/mt-mips-ecoff, config/mt-slite: Remove.
* config/mt-sparc-aout, config/mt-vxworks: Remove.
* lib/utils-lib.exp (binutil_version): Don't redirect standard
input when getting version. Don't unset errorInfo.
(default_binutils_run): New procedure.
(default_binutils_assemble): New procedure.
Ian Lance Taylor [Fri, 14 Oct 1994 16:04:27 +0000 (16:04 +0000)]
Fri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com)
* scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and
.rela.dtors to the list of .rel* sections.
Ian Lance Taylor [Fri, 14 Oct 1994 15:09:07 +0000 (15:09 +0000)]
* bfd.c (bfd_scan_vma): Cast end to be non const before passing it
to strtoul.
Jason Merrill [Thu, 13 Oct 1994 22:52:54 +0000 (22:52 +0000)]
Thu Oct 13 15:51:20 1994 Jason Merrill (jason@phydeaux.cygnus.com)
* Makefile.in (ALL_TARGET_MODULES): Add libstdc++.
(CHECK_TARGET_MODULES): Ditto.
(INSTALL_TARGET_MODULES): Ditto.
(TARGET_LIBS): Ditto.
(all-libstdc++): Note dependencies.
Jim Kingdon [Thu, 13 Oct 1994 20:44:08 +0000 (20:44 +0000)]
* NEWS: Add item about if and while.
Jim Kingdon [Thu, 13 Oct 1994 20:36:04 +0000 (20:36 +0000)]
* .gdbinit: Restore `end'; it was not excess. Reindent
list-objfiles to make this clear. Comment out all of
list-objfiles because old gdb's choke on it.
Ian Lance Taylor [Thu, 13 Oct 1994 18:41:39 +0000 (18:41 +0000)]
* bfd.c (bfd_scan_vma): Pass end argument on to strtoul.
Ken Raeburn [Thu, 13 Oct 1994 18:17:11 +0000 (18:17 +0000)]
configure.in: handle i[345]86-*-linux*, not just -linux
Ken Raeburn [Thu, 13 Oct 1994 15:45:43 +0000 (15:45 +0000)]
te-netbsd532.h -> te-nbsd532.h
Ian Lance Taylor [Thu, 13 Oct 1994 15:26:35 +0000 (15:26 +0000)]
* scripttempl/aout.sc: Set _etext and __etext to ., not
${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck,
will not break any other system. From Eric Valette
<ev@chorus.fr>.
Ian Lance Taylor [Thu, 13 Oct 1994 03:21:47 +0000 (03:21 +0000)]
correct comment
Ian Lance Taylor [Thu, 13 Oct 1994 03:20:47 +0000 (03:20 +0000)]
* config/mips/tm-bigmips64.h: Just define TARGET_BYTE_ORDER and
include tm-mips64.h.
Stan Shebs [Thu, 13 Oct 1994 02:37:31 +0000 (02:37 +0000)]
xcoffexec.c is gone
Stan Shebs [Thu, 13 Oct 1994 02:28:24 +0000 (02:28 +0000)]
* Makefile.in (ANNOTATE_OBS): New definition.
(COMMON_OBS): Add exec.o.
(annotate.o): Remove extra compile rule.
* config/*/*.mh, config/*/*.mt: Remove exec.o from *DEPFILES lists
everywhere.
Rob Savoye [Thu, 13 Oct 1994 02:04:51 +0000 (02:04 +0000)]
It works fully now.
Rob Savoye [Thu, 13 Oct 1994 02:03:09 +0000 (02:03 +0000)]
Cleanup debugging messages.
Stan Shebs [Thu, 13 Oct 1994 02:00:07 +0000 (02:00 +0000)]
* .gdbinit: Remove excess `end'.
Stan Shebs [Thu, 13 Oct 1994 01:16:19 +0000 (01:16 +0000)]
* exec.c: Merge in RS6000 support from xcoffexec.c.
(symfile.h, objfiles.h, xcoffsolib.h): Include.
(vmap): New global variable.
(exec_close): Close and free objects in vmap chain.
(exec_file_command) [IBM6000_TARGET]: Set up initial vmap.
(bfdsec_to_vmap, map_vmap): Moved here from xcoffexec.c.
(exec_files_info): Print vmap information.
* xcoffexec.c: Remove.
* config/rs6000/rs6000.mt, config/rs6000/rs6000lynx.mt
(TDEPFILES): Use exec.o instead of xcoffexec.o.
* TODO: Remove pertinent items.
Ken Raeburn [Thu, 13 Oct 1994 00:33:21 +0000 (00:33 +0000)]
Renamed config/te-netbsd532.h to te-nbsd532.h.
J.T. Conklin [Wed, 12 Oct 1994 23:35:54 +0000 (23:35 +0000)]
* config/cplus-dem.c: Removed. It isn't used. Even if it was,
it's better to use the one in libiberty.
Rob Savoye [Wed, 12 Oct 1994 23:12:47 +0000 (23:12 +0000)]
Cleanup debug logging, fix single stepping. WinBond works good!
Ken Raeburn [Wed, 12 Oct 1994 22:53:26 +0000 (22:53 +0000)]
* symbols.c (resolve_symbol_value, case O_symbol): Undo last change; it breaks
the rs6000 support, and doesn't seem to be needed.
Ian Lance Taylor [Wed, 12 Oct 1994 21:51:04 +0000 (21:51 +0000)]
* ecoff.c (ecoff_set_symbol_info): Mark local stProc or stLabel
symbols as BSF_DEBUGGING.
PR 5769.
Ken Raeburn [Wed, 12 Oct 1994 21:39:54 +0000 (21:39 +0000)]
* opncls.c (bfd_realloc): Deleted, since it's broken and fixing it would make
it slow. Besides, it isn't used much.
* elfcode.h (elf_map_symbols): Always allocate new storage for the symbol table.
Ian Lance Taylor [Wed, 12 Oct 1994 20:26:35 +0000 (20:26 +0000)]
* lexsup.c (parse_args): Change -V to be a synonym for -v. Add
--verbose to get the old -V behaviour.
* ld.1, ld.texinfo: Document this change.
Ken Raeburn [Wed, 12 Oct 1994 20:15:17 +0000 (20:15 +0000)]
Sigh. I nuked more than one set of dje's changes.
Ken Raeburn [Wed, 12 Oct 1994 20:13:12 +0000 (20:13 +0000)]
Restore dje's changes that I accidentally nuked.
J.T. Conklin [Wed, 12 Oct 1994 19:01:58 +0000 (19:01 +0000)]
* config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed to
a.out-<arch>-netbsd to match corresponding changes in BFD.
Ian Lance Taylor [Wed, 12 Oct 1994 18:11:52 +0000 (18:11 +0000)]
* config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
rather than explicitly adding the frag address.
* config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
the end of the line numbers; this replaces the zero entry which
used to be added by coff_add_linesym, removed Oct 7.
(coff_adjust_section_syms): Ignore sections with no seginfo.
Update the RS/6000 assembler for recent gas changes.
Ian Lance Taylor [Wed, 12 Oct 1994 16:19:33 +0000 (16:19 +0000)]
* rs6000-core.c (rs6000coff_core_file_matches_executable_p): Make
str1 and str2 const pointers.
Jeff Law [Wed, 12 Oct 1994 16:13:51 +0000 (16:13 +0000)]
* partial-stab.h (N_TEXT): Delete GDB_TARGET_IS_HPPA kludge; they
are no longer needed as of gcc-2.6.0.
Ian Lance Taylor [Wed, 12 Oct 1994 15:57:28 +0000 (15:57 +0000)]
* Makefile.in (INSTALL): Use top level install.sh script.
* config/README (INSTALL): Remove.
* config/delta88.mh (INSTALL): Remove.
* config/i386v4.mh (INSTALL): Remove.
* config/irix4.mh (INSTALL): Remove.
* config/irix5.mh (INSTALL): Remove.
* config/ncrt3000.mh (INSTALL): Remove.
Ken Raeburn [Wed, 12 Oct 1994 06:56:16 +0000 (06:56 +0000)]
shut up if only a subset was checked out in the first place
Ken Raeburn [Wed, 12 Oct 1994 05:46:05 +0000 (05:46 +0000)]
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink to
the appropriate stage* directory, and use it instead in the -B options.
(comparison): Revert yesterday's change.
Ken Raeburn [Wed, 12 Oct 1994 05:41:45 +0000 (05:41 +0000)]
* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if pc-relative,
use fx_offset only, ignore address of relocation.
Rob Savoye [Wed, 12 Oct 1994 03:34:08 +0000 (03:34 +0000)]
Breakpoints work, run works. Fixed "monitor" command.
Karen Christiansen [Tue, 11 Oct 1994 23:59:43 +0000 (23:59 +0000)]
updating to match changes made to progressive/build-all.mk
Rob Savoye [Tue, 11 Oct 1994 22:12:30 +0000 (22:12 +0000)]
Writing to memory now works for both targets.
Ian Lance Taylor [Tue, 11 Oct 1994 21:40:54 +0000 (21:40 +0000)]
Tue Oct 11 13:57:56 1994 Eric Youngdale (eric@andante.aib.com)
* elf32-i386.c (elf_i386_check_relocs): Make sure that a symbol
with a global offset table entry or a procedure linkage table
entry is added to the dynamic symbol table.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): If a symbol has
already gotten a procedure linkage table entry, change the
definition to the PLT entry.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
Ian Lance Taylor [Tue, 11 Oct 1994 21:13:45 +0000 (21:13 +0000)]
* lynx-core.c (lynx_core_file_p): SPARC Lynx appears to start
dumping the .data section in a core file at a page boundary.
Ian Lance Taylor [Tue, 11 Oct 1994 21:08:57 +0000 (21:08 +0000)]
* lynx-nat.c (child_wait): Correct handling of byte reversed SPARC
Lynx wait status.
(fetch_core_registers): Don't try to fetch a register if
regmap maps it to -1.
* sparc-tdep.c (sparc_frame_find_saved_regs): Use FRAME_SAVED_I0
and FRAME_SAVED_L0 when setting saved_regs_addr. SPARC Lynx
stores the registers in a weird order.
These patches make SPARC Lynx gdb usable, though it still has problems.
Jason Merrill [Tue, 11 Oct 1994 19:43:48 +0000 (19:43 +0000)]
Tue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)
* Makefile.in (CXXFLAGS): Use -fno-implicit-templates instead of
-fexternal-templates.
Because libstdc++ won't build with -fexternal-templates.
Ian Lance Taylor [Tue, 11 Oct 1994 19:25:42 +0000 (19:25 +0000)]
* config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
for an embedded PIC switch expression, since the definition of
S_IS_LOCAL was changed.
Jason Merrill [Tue, 11 Oct 1994 19:13:46 +0000 (19:13 +0000)]
Tue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)
* configure.in (target_libs): Add libstdc++.
(noconfigdirs): Add libstdc++ as appropriate.
Ken Raeburn [Tue, 11 Oct 1994 19:12:55 +0000 (19:12 +0000)]
* Makefile.in (comparison): When comparing as.new or gasp.new, try running the
binary through sed to avoid differences due to "stage1" or "stage2" having been
written into the binary.
Rob Savoye [Tue, 11 Oct 1994 04:37:18 +0000 (04:37 +0000)]
Memory_reads_inferior() and monitor_fetch_registers() now work good on
both targets. On to the "set" functions...
David Edelsohn [Mon, 10 Oct 1994 21:04:34 +0000 (21:04 +0000)]
Keep/lose arc stuff.
J.T. Conklin [Mon, 10 Oct 1994 20:54:28 +0000 (20:54 +0000)]
* nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
ctor/dtor tables needed by C++ programs are built.
Ken Raeburn [Mon, 10 Oct 1994 20:38:06 +0000 (20:38 +0000)]
* cofflink.c (_bfd_coff_final_link): Cast argument to bfd_h_put_32 to correct
type.
(coff_read_string_table): Cast argument to bfd_h_get_32 to correct type.
* elfcode.h (elf_link_output_extsym): Cast argument to bfd_elf_hash to correct
type.
Ken Raeburn [Mon, 10 Oct 1994 20:30:32 +0000 (20:30 +0000)]
* elf32-sparc.c (elf_sparc_howto_table): The PC10, PC22, and WPLT30 relocations
are PC-relative.
David Edelsohn [Mon, 10 Oct 1994 17:24:43 +0000 (17:24 +0000)]
Move COPYING.NEWLIB to cygnus_files.
Don't want it appearing in fsf releases!
Jim Wilson [Mon, 10 Oct 1994 01:06:20 +0000 (01:06 +0000)]
* Makefile.in (srconv.o): Add dependence on sysroff.c.
Jim Kingdon [Sun, 9 Oct 1994 14:52:02 +0000 (14:52 +0000)]
* gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
bug involving using inferior_pid to figure out whether to select a
frame.
Jim Kingdon [Sun, 9 Oct 1994 04:02:32 +0000 (04:02 +0000)]
* blockframe.c (reinit_frame_cache): Reinstate select_frame call
if inferior_pid is nonzero.
Peter Schauer [Sat, 8 Oct 1994 11:55:45 +0000 (11:55 +0000)]
* config/sparc/tm-sparc.h: Add PARAMS declarations to all
function declarations.
This page took 0.040338 seconds and 4 git commands to generate.