Ian Lance Taylor [Tue, 30 Nov 1993 21:56:40 +0000 (21:56 +0000)]
* irix-core.c: New file for Irix 4 and Irix 5 core support.
Functions taken out of coff-mips.c. Handle vmap type VMAPFILE.
* coff-mips.c: Irix 4 core file support moved to irix-core.c.
* targets.c: If IRIX_CORE defined, include irix_core_vec in
target_vector.
* config/irix4.mh (HDEFINES): Add -DIRIX_CORE.
(HDEPFILES): Define to be irix-core.o.
* config/irix5.mh (HDEFINES): Define to be -DIRIX_CORE.
(HDEPFILES): Define to be irix-core.o.
* Makefile.in (OPTIONAL_BACKENDS): Added irix-core.o. Removed
sco-core.o, which no longer exists.
(CFILES): Added all *-core.c files.
Rebuilt dependencies.
David D. Zuhn [Tue, 30 Nov 1993 21:46:34 +0000 (21:46 +0000)]
handle space quoting issues
Ian Lance Taylor [Tue, 30 Nov 1993 21:45:15 +0000 (21:45 +0000)]
New file for Irix 4 and Irix 5 core file support. Split out of
coff-mips.c.
Jeff Law [Tue, 30 Nov 1993 21:44:41 +0000 (21:44 +0000)]
* gas/hppa/more.parse/parse.exp: Test for error on for subspace
directive is an XFAIL for SOM assmeblers.
* gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on
cross-subspace call test.
Jeff Law [Tue, 30 Nov 1993 21:43:15 +0000 (21:43 +0000)]
* write.c (TC_FORCE_RELOCATION): Provide a default definition.
(fixup_segment): Allow the target machine to specify that a
relocation must be generated for a particular fixup. Remove
#ifndef TC_HPPA hack.
* config/tc-hppa.h (TC_FORCE_RELOCATION): Define.
* config/tc-hppa.c (md_apply_fix_1): Never change fx_addsy to
be NULL. Only fixup_segment is supposed to do that.
(hppa_force_relocation): New function.
Ian Lance Taylor [Tue, 30 Nov 1993 20:26:35 +0000 (20:26 +0000)]
* Makefile.in (check): Do not use subdir_do, so that
TARGET_FLAGS_TO_PASS is used correctly.
Ian Lance Taylor [Tue, 30 Nov 1993 16:25:18 +0000 (16:25 +0000)]
* Makefile.in (stabs.o): Added dependencies.
Ian Lance Taylor [Tue, 30 Nov 1993 16:23:33 +0000 (16:23 +0000)]
* config/obj-ecoff.c (ecoff_frob_file): Don't call bfd_set_symtab.
Stu Grossman [Tue, 30 Nov 1993 00:14:37 +0000 (00:14 +0000)]
* i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
These definitely won't work under Netware.
Kung Hsu [Mon, 29 Nov 1993 23:40:31 +0000 (23:40 +0000)]
Modified Files:
ChangeLog stabsread.c
* stabsread.c(read_struct_field): Fix the check when getting to
member functions. (fix pr4000).
Ian Lance Taylor [Mon, 29 Nov 1993 21:52:21 +0000 (21:52 +0000)]
gcc -Wall -O lint:
* mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid
warning. Unnest comment.
(init_extra_frame_info): Remove unused variable mask.
(MASK): Fully parenthesize.
(mips_push_dummy_frame): Remove unused variable val.
(mips_skip_prologue): Remove unused variables f and b.
Peter Schauer [Mon, 29 Nov 1993 20:24:49 +0000 (20:24 +0000)]
* mipsread.c (parse_symbol, parse_partial_symbols): Do not create
(partial) symbols for opaque struct definitions.
Stu Grossman [Mon, 29 Nov 1993 19:40:08 +0000 (19:40 +0000)]
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst
to unsigned char to avoid domain warning for some values.
Roland Pesch [Mon, 29 Nov 1993 05:58:11 +0000 (05:58 +0000)]
Formatting improvements from 93q4 release.
Roland Pesch [Mon, 29 Nov 1993 02:45:53 +0000 (02:45 +0000)]
Fix punctuation after corrected xref.
Roland Pesch [Mon, 29 Nov 1993 02:43:47 +0000 (02:43 +0000)]
* gdb.texinfo (New Features): mention threads.
(Summary, C): fix xrefs in newly contributed text.
(Threads): index entries, clarifications, example
(passim): minor typos fixed, phrasing improvements
* remote.texi (Bootstrapping): rephrase text on ^C and add index
entries; (Server): explain use of gdbserver w/real-time systems,
add example of conflicting TCP port; (MIPS Remote) break up
running text into table, highlighting commands, and add example.
Jeff Law [Sun, 28 Nov 1993 21:17:36 +0000 (21:17 +0000)]
* gas/hppa/more.parse/appbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Jeff Law [Sun, 28 Nov 1993 21:16:24 +0000 (21:16 +0000)]
* app.c (do_scrub_next_char): Output a TAB before any
.app* directive.
Jeff Law [Sun, 28 Nov 1993 20:15:21 +0000 (20:15 +0000)]
* config/tc-hppa.c (fix_new_hppa): Make sure a sub_symbol
exists before trying to peek at its name.
(pa_space): Do not call pa_align_subseg. See hppa/unsorted/align3.s
for testcase.
(pa_align_subseg): Delete unused/unwanted function.
Jeff Law [Sun, 28 Nov 1993 20:14:41 +0000 (20:14 +0000)]
* gas/hppa/unsorted/align3.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Sun, 28 Nov 1993 19:57:00 +0000 (19:57 +0000)]
Fix typo in last change.
Jeff Law [Sun, 28 Nov 1993 06:54:22 +0000 (06:54 +0000)]
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
Jeff Law [Sun, 28 Nov 1993 06:54:04 +0000 (06:54 +0000)]
* read.c (read_a_source_file): Fix test for when to stick a colon
on the end of a label. Make code conditional on either MRI or
LABELS_WITHOUT_COLONS.
* app.c (do_scrub_next_char): If a line begins with whitespace, leave
the single whitespace character alone. Eat all others.
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
Jeff Law [Sun, 28 Nov 1993 06:52:42 +0000 (06:52 +0000)]
* gas/all/p2425.s: Insert a tab before assembler directives so
that the directives are not interpreted as labels.
* gas/hppa/basic/weird.s: Sync with GDB version.
* gas/hppa/more.parse/labelbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Jeff Law [Sun, 28 Nov 1993 06:52:28 +0000 (06:52 +0000)]
* gas/hppa/more.parse/labelbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Roland Pesch [Wed, 24 Nov 1993 22:23:23 +0000 (22:23 +0000)]
comment fix.
Roland Pesch [Wed, 24 Nov 1993 22:18:27 +0000 (22:18 +0000)]
* refcard.tex: avoid bad linebreaks even when REFEDITS=psrc.sed
(these probably crept w/minor changes in spacing when A4 stuff
updated recently); update copyright date consistently
* cygref.tex: bring up to date with refcard.tex
Jeff Law [Wed, 24 Nov 1993 20:45:32 +0000 (20:45 +0000)]
* gas/hppa/reloc/fixupbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
Bill Cox [Wed, 24 Nov 1993 19:28:23 +0000 (19:28 +0000)]
* .Sanitize: Remove references to chillrt and test-chill
subdirectories. They were moved to gcc/ch/runtime and
gcc/ch/testsuite respectively.
Jason Merrill [Wed, 24 Nov 1993 18:38:12 +0000 (18:38 +0000)]
Add gnats.tar.gz rule
Jeff Law [Wed, 24 Nov 1993 09:26:23 +0000 (09:26 +0000)]
* gas/hppa/reloc/exitbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
Jeff Law [Wed, 24 Nov 1993 09:24:39 +0000 (09:24 +0000)]
* config/tc-hppa.c (pa_procend): Do not call process_exit.
(exit_processing_complete): Delete unwanted variable and all
references.
Ian Lance Taylor [Wed, 24 Nov 1993 07:42:03 +0000 (07:42 +0000)]
* ecoff.c (ecoff_setup_ext): Renamed from ecoff_build_ext.
Changed to not actually build the external symbol information, as
that is now done by the ECOFF back end.
(ecoff_build_debug): Changed accordingly.
* ecoff.h (obj_ecoff_set_ext): Declare. obj-format.c function
called by ecoff_setup_ext.
* config/obj-ecoff.c (ecoff_frob_file): If debug_info count is 0,
set corresponding pointer to NULL. Don't set raw_size and
raw_syments.
(obj_ecoff_set_sym_index): Removed.
(obj_ecoff_set_ext): New function.
* config/obj-ecoff.h (obj_set_sym_index): Don't define.
(obj_ecoff_set_sym_index): Don't declare.
* config/obj-elf.c (obj_ecoff_set_ext, elf_get_extr,
elf_set_index): New functions used for ECOFF_DEBUGGING.
(elf_frob_file): Reworked ECOFF debug generation to use
new functions in bfd/ecofflink.c.
Ian Lance Taylor [Wed, 24 Nov 1993 07:31:02 +0000 (07:31 +0000)]
* elfcode.h (map_program_segments): Restore check of file_size !=
mem_size, but only if SHT_PROGBITS.
Ian Lance Taylor [Wed, 24 Nov 1993 07:21:28 +0000 (07:21 +0000)]
* ecofflink.c: New file to hold ECOFF debug information linking
routines.
* ecoff.c (ecoff_clear_output_flags, ecoff_rel, ecoff_dump_seclet,
ecoff_add_string, ecoff_get_debug): Removed. Functionality now in
ecofflink.c.
(ecoff_get_extr, ecoff_set_index): New functions.
(ecoff_slurp_symbolic_info): Don't save raw_size.
(ecoff_bfd_seclet_link): Rewrote to use ecofflink.c functions.
(ecoff_compute_section_file_positions): Don't set EXEC_P just
because there is a start address.
(ecoff_write_object_contents): Handle external symbols here. Use
ecofflink.c functions to write out debugging information.
* elf32-mips.c (mips_elf_read_ecoff_info, mips_elf_get_extr,
mips_elf_set_index): New functions.
(mips_elf_seclet_link): Discard empty sections, the .options
section and .gptab sections. Handle linking .mdebug section.
* libecoff.h (ecoff_data_type): Removed raw_size and ifdbase.
* libelf.h (elf_symbol_type): Added mips_extr to tc_data union.
* bfd-in.h: Added prototypes for routines in ecofflink.c (some are
called by gas, so they are public).
* bfd-in2.h: Rebuilt.
* Makefile.in (BFD_LIBS): Added ecofflink.o.
(CFILES): Added ecofflink.c.
(ecofflink.o): New target. Rebuilt dependencies.
Ian Lance Taylor [Wed, 24 Nov 1993 07:18:44 +0000 (07:18 +0000)]
New file to hold ECOFF linking routines used by both ECOFF and MIPS ELF.
Jeffrey Osier [Tue, 23 Nov 1993 22:39:01 +0000 (22:39 +0000)]
* binutils.texi: fix bug in nlmconv doc
Steve Chamberlain [Tue, 23 Nov 1993 08:06:20 +0000 (08:06 +0000)]
Split ChangeLog into two.
Steve Chamberlain [Tue, 23 Nov 1993 07:49:49 +0000 (07:49 +0000)]
* remote-e7000.c (e7000_wait): Cope with H8/300 register dump.
* config/h8300/h8300hms.mt: Add remote-e7000.
Jeff Law [Tue, 23 Nov 1993 06:27:45 +0000 (06:27 +0000)]
* som.c (hppa_object_p): Also recognize SHARED_MAGIC_CNX as
a valid magic number if it's been defined.
Peter Schauer [Mon, 22 Nov 1993 21:26:36 +0000 (21:26 +0000)]
* gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
* gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
.stabs directives in comments.
Ian Lance Taylor [Mon, 22 Nov 1993 19:22:23 +0000 (19:22 +0000)]
* ecoff.c (ecoff_mkobject): Don't create .scommon section; linker
no longer requires it.
(ecoff_bfd_seclet_link, ecoff_sizeof_headers,
ecoff_write_object_contents): Don't treat .scommon section
specially
Fred Fish [Mon, 22 Nov 1993 19:08:33 +0000 (19:08 +0000)]
* gdb/config/m88k/delta88.mh (NATDEPFILES): Added corelow.o and
coredep.o to this list.
* gdb/m88k-nat.c (m88k_register_u_addr): Avoid error when passed
the number for an M88110 extended register by just returning the
address of r0.
Fred Fish [Mon, 22 Nov 1993 19:01:55 +0000 (19:01 +0000)]
* bfd/config/delta88.mh (HDEFINES): Define this to be -DPTRACE_CORE.
* bfd/config/delta88.mh (HDEPFILES): Defined to be ptrace-core.o.
* bfd/ptrace-core.c: New file for dealing with core files with
start with the ptrace_user structure found on BCS compliant systems.
* bfd/targets.c (ptrace_core_vec): New vector.
Jeff Law [Mon, 22 Nov 1993 10:37:02 +0000 (10:37 +0000)]
* Minimal support for reading SOM fixup streams. Allows
objdump -r to do something reasonable.
* som.c (som_get_reloc_upper_bound): Implement.
(som_canonicalize_reloc): Implement.
(som_set_reloc_info, som_slurp_reloc_table): New functions.
Jeff Law [Mon, 22 Nov 1993 07:28:08 +0000 (07:28 +0000)]
* gas/hppa/reloc/reloc.exp: Minor fixes so that SOM & ELF can
share the same test code.
* gas/hppa/reloc/relocreduce.s: Likewise.
Jeff Law [Mon, 22 Nov 1993 06:14:24 +0000 (06:14 +0000)]
* gas/hppa/basic/fmem.s: Add quadword FP store instructions.
* gas/hppa/basic/basic.exp: Test quadword FP store instructions.
Jeff Law [Mon, 22 Nov 1993 06:04:32 +0000 (06:04 +0000)]
Add stabs.c to things-to-keep.
Ken Raeburn [Sun, 21 Nov 1993 21:29:46 +0000 (21:29 +0000)]
Modified to be based on lynx.h, like i386 and m68k versions.
Ken Raeburn [Sun, 21 Nov 1993 21:28:01 +0000 (21:28 +0000)]
define FPRINTF_ALREADY_DECLARED
Fred Fish [Sat, 20 Nov 1993 17:22:28 +0000 (17:22 +0000)]
* go32-xdep.c (re_comp, re_exec): Remove stubs now that gdb
always uses it's own version of regex.
Kung Hsu [Sat, 20 Nov 1993 02:28:03 +0000 (02:28 +0000)]
Modified Files:
ChangeLog valops.c symtab.c
* valops.c(value_struct_elt_for_reference): enhance search operator in
c++.
* symtab.c(decode_line_1): same as above.
Ian Lance Taylor [Fri, 19 Nov 1993 21:37:50 +0000 (21:37 +0000)]
* config/obj-coffbfd.c: Use PARAMS rather than EXFUN.
(yank_symbols): Don't call S_SET_EXTERNAL if the storage class is
already set. Fixes .def var; .val external_var; .scl 3; .endef.
(adjust_stab_section): Make static. Declare return type. Remove
unused variables.
* config/tc-i386.h: Declare tc_coff_fix2rtype and
tc_coff_sizemachdep.
Jim Kingdon [Fri, 19 Nov 1993 21:16:16 +0000 (21:16 +0000)]
* symtab.c (decode_line_1): Add comment about use of
return_to_top_level directly instead of error. Add comment saying
that the '' should not be needed--that the completer should be fixed.
Jeffrey Osier [Fri, 19 Nov 1993 21:12:49 +0000 (21:12 +0000)]
binutils.texi: minor fix for nlmconv chapter
Jim Kingdon [Fri, 19 Nov 1993 20:24:02 +0000 (20:24 +0000)]
* TODO: New file, describing tests we could write.
* gdb.t09/corefile.exp: Move description of tests to write to TODO.
Jim Kingdon [Fri, 19 Nov 1993 20:22:34 +0000 (20:22 +0000)]
* TODO: New file, describing tests we could write.
* gdb.t06/corefile.exp: Move description of tests to write to TODO.
Ken Raeburn [Fri, 19 Nov 1993 20:04:07 +0000 (20:04 +0000)]
sparc-coff related changes
Ian Lance Taylor [Fri, 19 Nov 1993 19:51:52 +0000 (19:51 +0000)]
* coff-a29k.c (a29k_reloc): For R_IREL, don't left shift
signed_value before sign extending it. Don't subtract out
reloc_entry->address. This makes it compatible with what gas is
generating.
Fixes PR 3790.
Ian Lance Taylor [Fri, 19 Nov 1993 19:41:49 +0000 (19:41 +0000)]
* elfcode.h (elf_fake_sections): Accept .sbss as the name for a
SHT_NOBITS sections.
(map_program_segments): Don't leave the loop after the first
SHT_NOBITS section.
(assign_file_positions_except_relocs): Only force sh_offset and
sh_addr to match modulo maxpagesize for a section which is not
SHT_NOBITS. Changed the method used to force page alignment after
a SHT_NOBITS section to only do it for the last such consecutive
section, and to really force page alignment.
Ian Lance Taylor [Fri, 19 Nov 1993 19:31:51 +0000 (19:31 +0000)]
* configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
* emulparams/elf32mipsb.sh (DATA_ADDR): Define.
(OTHER_READONLY_SECTIONS): Define for .reginfo.
(EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
* scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
Move OTHER_READONLY_SECTIONS after all the other readonly
sections. Don't use DATA_ADDR twice.
Ian Lance Taylor [Fri, 19 Nov 1993 19:29:49 +0000 (19:29 +0000)]
* ldmain.c (enter_file_symbols): Removed duplicate tests of p. If
p is in a common section, make sure the BFD has a section of that
name.
Ken Raeburn [Fri, 19 Nov 1993 19:17:14 +0000 (19:17 +0000)]
* coffcode.h (coff_slurp_symbol_table): Print more verbose message
in the case of an unknown (or unhandled) storage class.
Kung Hsu [Fri, 19 Nov 1993 19:13:41 +0000 (19:13 +0000)]
Modified Files:
ChangeLog symtab.c
* symtab.c(decode_line_1): fix the inconsistency of setting
breakpoint with '' or without them. The '' is needed when you
want name completion.
Jim Kingdon [Fri, 19 Nov 1993 17:20:18 +0000 (17:20 +0000)]
New file, for known lacks in testsuite
Ken Raeburn [Fri, 19 Nov 1993 17:00:07 +0000 (17:00 +0000)]
recent coff/lynx changes
Ken Raeburn [Fri, 19 Nov 1993 16:30:08 +0000 (16:30 +0000)]
(coff_bfd_reloc_type_lookup): Don't define if already defined.
(coff_slurp_line_table): Reformatted.
Ken Raeburn [Fri, 19 Nov 1993 16:23:37 +0000 (16:23 +0000)]
sparc.h (RELSZ): Use correct value.
Ian Lance Taylor [Thu, 18 Nov 1993 21:00:19 +0000 (21:00 +0000)]
Get ECOFF gas to work again after this morning's checkins.
Ian Lance Taylor [Thu, 18 Nov 1993 19:10:20 +0000 (19:10 +0000)]
Various entries.
Ian Lance Taylor [Thu, 18 Nov 1993 18:56:31 +0000 (18:56 +0000)]
* config/tc-mips.c: Check ECOFF_DEBUGGING rather than
OBJ_ECOFF in many cases.
(mips_any_noreorder): New variable.
(mips_cprestore_offset): Initialize to -1.
(mips_frame_reg): New variable.
(RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1,
RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros.
(md_pseudo_table): Handle "gpword" and "cpadd".
(md_begin): Initialize ok to false. If OBJ_ELF, set alignment
of text, data and bss sections to 4. Set alignment of
.reginfo section to 2. If ECOFF_DEBUGGING, create .mdebug
section.
(ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment
check.
(append_insn, macro_build, macro_build_lui): Take place
argument. Changed all callers.
(append_insn): If appending a nop, don't emit one.
(macro_build): Changed assertion for 'i', 'j', 'o' case.
(gp_reference): Removed.
(load_address): New function.
(macro): If mips_noreorder is used, set mips_any_noreorder.
Extensive changes to handle GP and PIC symbols differently.
Build both possible code choices using a variant frag, and
make a final decision at the end of assembly when all
information is known. Added PIC support for all symbol
references.
(mips_ip): Don't permit anything but a number after $ for a
coprocessor register. Don't use .lit4 or .lit8 sections when
generating PIC code. If OBJ_ELF, set alignment of .lit4 or
.lit8 section to 4.
(md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs.
(s_change_sec): Set alignment of ELF .rodata or .sdata section
to 4.
(s_mipsset): If .set noreorder, set mips_any_noreorder.
(s_cpload): Ignore .cpload if not generating PIC code. Warn
if .cpload is not in noreorder section.
(s_cprestore): Ignore .cprestore if not generating PIC code.
(s_gpword, s_cpadd): New functions.
(tc_get_register): Added frame argument; if true, set
mips_frame_reg to return value. Changed all callers.
(md_estimate_size_before_relax): Don't error out, but instead
determine how much a frag should grow.
(tc_gen_reloc): Return multiple relocs if appropriate, as
determined by md_estimate_size_before_relax.
(md_convert_frag): New function.
(mips_elf_final_processing): Set ELF header flags based on
mips_any_noreorder and mips_pic.
* config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define.
(MAX_RELOC_EXPANSION): Define to be 3.
(md_relax_frag): Define to be 0.
(md_convert_frag): Don't define.
(tc_get_register): Changed declaration.
Kung Hsu [Thu, 18 Nov 1993 18:54:11 +0000 (18:54 +0000)]
Modified Files:
ChangeLog valops.c
* valops.c(search_struct_method): to use unified search so type
conversion operator works in calling method. (this file should be
checked in with last commit, I missed it).
Ian Lance Taylor [Thu, 18 Nov 1993 17:24:53 +0000 (17:24 +0000)]
Various entries.
Ian Lance Taylor [Thu, 18 Nov 1993 17:12:47 +0000 (17:12 +0000)]
* elfcode.h (bfd_section_from_shdr): Don't dump core if target
section has no ELF section data.
(elf_make_sections): Set addralign of reloc section to 4.
(elf_fake_sections): Likewise.
(map_program_segments): Don't consider section 0.
(assign_file_positions_except_relocs): Don't consider section 0.
In the main loop, skip the symtab and strtab sections, since their
positions are set elsewhere.
(swap_out_syms): Set addralign of symtab section to 4. Set
addralign of strtab sections to 1.
(assign_file_positions_for_relocs): Don't consider section 0.
(write_object_contents): Don't write out section 0.
(sym_is_global): Take abfd argument. Call
elf_backend_sym_is_global if it is not NULL.
(elf_map_symbols): Pass abfd to sym_is_global.
(write_object_contents): Call elf_backend_final_write_processing
if it is defined.
Ian Lance Taylor [Thu, 18 Nov 1993 17:10:42 +0000 (17:10 +0000)]
* libelf.h (struct elf_backend_data): Added fields
elf_backend_sym_is_global and elf_backend_final_write_processing.
* elf32-target.h (elf32_bed): Added corresponding initializers.
* elf64-target.h (elf64_bed): Likewise.
Fred Fish [Thu, 18 Nov 1993 16:34:43 +0000 (16:34 +0000)]
Fix for PR 3978:
* valprint.c (val_print_string): When looking for a null
terminator compare current bufsize to fetchlimit to determine
when to stop, instead of computing buffer+fetchlimit which
may overflow for very large limits (like "unlimited").
Kung Hsu [Thu, 18 Nov 1993 02:30:33 +0000 (02:30 +0000)]
Modified Files:
ChangeLog eval.c valarith.c
* eval.c(evaluate_subexp): to use unified search so type conversion
operator works in calling method.
* valarith.c(value_x_binop, value_x_unop): same as above.
Ian Lance Taylor [Thu, 18 Nov 1993 00:07:33 +0000 (00:07 +0000)]
* libecoff.h: Include coff/ecoff.h.
(struct ecoff_backend_data): Move external debugging information
fields into a single field pointing to an ecoff_debug_swap
structure.
(ecoff_data_type): Move debugging information fields into a single
field pointing to an ecoff_debug_info structure.
* coff-alpha.c, coff-mips.c, ecoff.c: Corresponding changes.
Ian Lance Taylor [Wed, 17 Nov 1993 23:58:46 +0000 (23:58 +0000)]
* mipsread.c: Change use of ECOFF information to correspond to
changes in bfd/libecoff.h.
(mipscoff_symfile_offsets): Made static.
Ian Lance Taylor [Wed, 17 Nov 1993 23:26:43 +0000 (23:26 +0000)]
* configure.in (mips-*-irix5*): New target. Use elf and mips-big.
Ian Lance Taylor [Wed, 17 Nov 1993 23:25:35 +0000 (23:25 +0000)]
* Makefile.in (REAL_SOURCES): Added ecoff.c.
(REAL_HEADERS): Added ecoff.h.
(OBJS): Added ecoff.o.
(ecoff.o): New target.
Stan Shebs [Wed, 17 Nov 1993 23:25:23 +0000 (23:25 +0000)]
Wed Nov 17 13:56:10 1993 Stan Shebs (shebs@rtl.cygnus.com)
* i386lynx.c (swap_std_reloc_in, swap_ext_reloc_in): Ignore
garbage bits appearing in the upper end of symbolnums.
* config/sparc-lynx.mt (TDEFINES): Add -DFPRINTF_ALREADY_DECLARED.
Ian Lance Taylor [Wed, 17 Nov 1993 23:23:39 +0000 (23:23 +0000)]
New files for ECOFF debugging split out of config/obj-ecoff.c.
Ian Lance Taylor [Wed, 17 Nov 1993 23:06:12 +0000 (23:06 +0000)]
* write.c (is_dnrange): Do not define if md_relax_frag is defined.
(relax_segment): If md_relax_frag is defined, use it to handle a
frag of type rs_machine_dependent rather than looking through
md_relax_table.
* write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a
bss section. Set SEC_RELOC if there are any relocations, even for
a zero size section.
* write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, based
data offset on reloc[0]->address rather than reloc[j]->address, so
that multiple relocs can affect different memory locations.
* write.c (chain_frchains_together, relax_and_size_seg,
adjust_reloc_syms, write_relocs): Make third argument PTR, not
char *, to match definition of bfd_map_over_sections.
Ian Lance Taylor [Wed, 17 Nov 1993 23:03:42 +0000 (23:03 +0000)]
* read.c (read_a_source_file): If we find a bad pseudo-op,
do a continue to go on to the next line rather than a break.
Removed duplicate bad pseudo-op code which was never executed.
* read.c (s_lcomm): Do not require a comma after the name.
* read.c (s_lcomm): Set bss flag for .sbss section if used.
Jeffrey Osier [Wed, 17 Nov 1993 22:51:16 +0000 (22:51 +0000)]
* nlmconv.1: new man page
* objcopy.1: fixed format errors
Ian Lance Taylor [Wed, 17 Nov 1993 22:22:07 +0000 (22:22 +0000)]
* mips.h: (M_J_A): Added.
(M_LA): Removed.
Sean Eric Fagan [Wed, 17 Nov 1993 22:20:44 +0000 (22:20 +0000)]
Use sun4sol2 for a target of sparc-netware.
Ian Lance Taylor [Wed, 17 Nov 1993 22:19:49 +0000 (22:19 +0000)]
* mips.h (struct ecoff_debug_info): Define.
Sean Eric Fagan [Wed, 17 Nov 1993 20:31:32 +0000 (20:31 +0000)]
Need to declare nlm32_sparc_vec; oopsie.
Sean Eric Fagan [Wed, 17 Nov 1993 19:56:30 +0000 (19:56 +0000)]
New files and changed files for NetWare/SPARC.
Sean Eric Fagan [Wed, 17 Nov 1993 19:54:51 +0000 (19:54 +0000)]
Don't want the new files to disappear unexpectedly!
Sean Eric Fagan [Wed, 17 Nov 1993 19:54:02 +0000 (19:54 +0000)]
Two more files in BFD updated for NetWARE/SPARC.
Sean Eric Fagan [Wed, 17 Nov 1993 19:52:09 +0000 (19:52 +0000)]
NetWare/SPARC changes; required changes to the interface as well as
adding files.
Kung Hsu [Wed, 17 Nov 1993 18:07:58 +0000 (18:07 +0000)]
Modified Files:
ChangeLog eval.c valops.c
* valops.c (typecmp): improve prototype matching when calling
a method. Make 'p (*(ostream *) &cout) << "lll" ' to work.
* eval.c(evalute_subexp): fix operator search problem when call
like p x.'operator+'(i).
Stu Grossman [Wed, 17 Nov 1993 17:40:24 +0000 (17:40 +0000)]
Please CVS, let me kill this file!
Stu Grossman [Wed, 17 Nov 1993 17:39:00 +0000 (17:39 +0000)]
Please CVS, let me kill these files...
Ian Lance Taylor [Wed, 17 Nov 1993 17:05:33 +0000 (17:05 +0000)]
* Makefile.in: Use CFLAGS as well as LDFLAGS when linking.
David MacKenzie [Wed, 17 Nov 1993 12:52:07 +0000 (12:52 +0000)]
fix typo
Stu Grossman [Wed, 17 Nov 1993 07:56:28 +0000 (07:56 +0000)]
* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
common code into lynx-nat.c.
* lynx-nat.c: New module. Contains portable code for Lynx native
stuff (mostly ptrace related).
* config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o
* config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o
* config/nm-lynx.h, config/tm-lynx.h: New files to contain
non-architecture specific native and target defs.
* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all
(arch) portable stuff into ../{tm nm}-lynx.h.