deliverable/binutils-gdb.git
29 years ago * hosts/sysv4.h (qsort, strtol): Don't declare.
Ian Lance Taylor [Wed, 6 Jul 1994 23:28:31 +0000 (23:28 +0000)] 
* hosts/sysv4.h (qsort, strtol): Don't declare.

29 years ago * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
Peter Schauer [Wed, 6 Jul 1994 08:01:52 +0000 (08:01 +0000)] 
* dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
Move "no debugging symbols found" test to symfile.c.
* symfile.c (syms_from_objfile, reread_symbols):  Add
"no debugging symbols found" test.
* coffread.c (init_stringtab):  Handle stripped files with a
stringtab offset of zero gracefully.
* osfsolib.c (solib_create_inferior_hook):  Use DYNAMIC flag from
BFD instead of stop_pc heuristic to determine if it is a dynamically
linked object file.
* procfs.c (wait_fd):  Handle ENOENT error return from PIOCWSTOP
ioctl, it indicates that the process has exited.

29 years ago * coff-alpha.c (alpha_ecoff_mkobject_hook): New hook to
Peter Schauer [Wed, 6 Jul 1994 07:53:31 +0000 (07:53 +0000)] 
* coff-alpha.c (alpha_ecoff_mkobject_hook):  New hook to
additionally copy object type information from the alpha file
header to the BFD flags.
(alpha_ecoff_backend_data):  Use it.
(ecoffalpha_little_vec):  Add DYNAMIC to object_flags.
* aout64.c:  Fix typo in conditional QMAGIC definition.

29 years ago * hppabsd-core.c (hppabsd_core_core_file_p): Sanity check the
Jeff Law [Wed, 6 Jul 1994 06:17:06 +0000 (06:17 +0000)] 
* hppabsd-core.c (hppabsd_core_core_file_p): Sanity check the
value of clicksz to help weed out non HPPA BSD core files.

29 years ago * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
Ian Lance Taylor [Wed, 6 Jul 1994 05:14:48 +0000 (05:14 +0000)] 
* config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
align to a four byte boundary.

29 years ago Mach 3 support.
Stan Shebs [Tue, 5 Jul 1994 21:50:43 +0000 (21:50 +0000)] 
Mach 3 support.
* config.bfd (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*):
New targets.
* configure.host (i[34]86-*-mach3*, ns32k-*-mach3*): Recognize
"mach3" instead of "mach".
(m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New hosts.
* targets.c (m88kmach3_vec): New target vector.
(bfd_target_vector): Add i386mach3_vec and m88kmach3_vec, but
inside #if 0.
* aoutx.h (some_aout_object_p) [MACH]: Recognize executables by
checking for execute permission, instead of looking at entry
point.
* i386mach3.c: Update, define MACH, N_TXTOFF, N_TXTADDR,
N_SHARED_LIB, don't include aout/*.h files, etc.
* m88kmach3.c: New file, m88k Mach 3 target.
* config/m88k-mach3.mt, config/mips-mach3.mt: New files, target
makefile fragments.
* config/i386mach3.mh, config/m88kmach3.mh, config/mipsmach3.mh:
New files, host makefile fragments.
* hosts/m88kmach3.h, hosts/mipsmach3.h: New files, host definitions.

29 years agosome internals doc updates
Ken Raeburn [Tue, 5 Jul 1994 21:00:22 +0000 (21:00 +0000)] 
some internals doc updates

29 years agohandle 32-bit addends in exprs on alpha
Ken Raeburn [Tue, 5 Jul 1994 20:51:39 +0000 (20:51 +0000)] 
handle 32-bit addends in exprs on alpha

29 years ago * objcopy.c: Include libiberty.h.
Ian Lance Taylor [Tue, 5 Jul 1994 20:17:37 +0000 (20:17 +0000)] 
* objcopy.c: Include libiberty.h.
(copy_file): If output_target is NULL, set it to the target of the
input file.

29 years ago * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
Ian Lance Taylor [Tue, 5 Jul 1994 18:06:33 +0000 (18:06 +0000)] 
* config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
* config/obj-elf.c (obj_elf_common): Set alignment of common
symbol.
* config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
common symbol.

29 years ago * elfcode.h (swap_out_syms): Get alignment of common symbol from
Ian Lance Taylor [Tue, 5 Jul 1994 18:05:03 +0000 (18:05 +0000)] 
* elfcode.h (swap_out_syms): Get alignment of common symbol from
st_value field of saved ELF symbol information, if there is any.

29 years ago * scripttempl/hppaelf.sc (__stack_zero): Don't define this name,
Jeff Law [Tue, 5 Jul 1994 01:38:32 +0000 (01:38 +0000)] 
* scripttempl/hppaelf.sc (__stack_zero): Don't define this name,
it was for the HPUX dynamic loader's use and it creates problems
with ELF GDB.

29 years ago * hppa-tdep.c (read_unwind_info): ELF unwind information is in the
Jeff Law [Tue, 5 Jul 1994 01:32:46 +0000 (01:32 +0000)] 
* hppa-tdep.c (read_unwind_info): ELF unwind information is in the
.PARISC.unwind section now.

29 years ago * som.h (R_HPPA_COMPLEX): Define.
Jeff Law [Tue, 5 Jul 1994 01:19:31 +0000 (01:19 +0000)] 
* som.h (R_HPPA_COMPLEX): Define.
* elf32-hppa.h (R_HPPA_COMPLEX): Define.
(elf32_hppa_reloc_type): Delete R_PARISC_STUB_CALL_17.

29 years agoFix thinko in last change
Jeff Law [Tue, 5 Jul 1994 01:18:23 +0000 (01:18 +0000)] 
Fix thinko in last change

29 years ago * config/tc-hppa.c (is_complex): New macro.
Jeff Law [Tue, 5 Jul 1994 00:37:14 +0000 (00:37 +0000)] 
* config/tc-hppa.c (is_complex): New macro.
(cons_fix_new_hppa): "Handle" complex expressions.

29 years ago * breakpoint.c (mention): Always show breakpoint address if no
Stan Shebs [Tue, 5 Jul 1994 00:15:49 +0000 (00:15 +0000)] 
* breakpoint.c (mention): Always show breakpoint address if no
source file.

29 years ago * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):
Peter Schauer [Sat, 2 Jul 1994 08:55:43 +0000 (08:55 +0000)] 
* config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):
Define to enable handling of shared libraries for a.out executables,
run under Solaris BCP.

29 years ago * Support code for enabling the new style linker for PA ELF.
Jeff Law [Fri, 1 Jul 1994 19:00:17 +0000 (19:00 +0000)] 
* Support code for enabling the new style linker for PA ELF.
* elfcode.h (swap_symbol_in, swap_symbol_out): Externalize.
(elf_compute_section_file_positions): Pass link_info to
the begin_write_processing hook.
(bfd_elf_write_object_contents): Pass NULL for new link_info
argument to final_write_processing hook.
(elf_link_output_sym): Accept new "input_section" argument for
the symbols's input section.  All callers changed.  Call the
link_output_symbol_hook if it's defined.
(elf_bfd_final_link): Call the final_write_processing hook if
it's defined.
* libelf.h (elf_backend_link_output_symbol_hook): Declare.
(elf_backend_begin_write_processing): Add new "info" argument.
(elf_backend_final_write_processing): Likewise.
* elf32-target.h (elf_backend_link_output_symbol_hook): Provide
a default definition.
(elf32_bed): Add elf_backend_link_output_symbol_hook.
* elf64-target.h: Likewise.

* Major rework of the PA ELF code.  Uses the new style BFD
linker, major cleanups.
* hppa_stubs.h: Rewrite from scratch.  Much smaller and simpler.
* elf32-hppa.h: Delete all symbol extension related code.
(hppa_look_for_stubs_in_section): Delete decl.
(elf32_hppa_size_stubs, elf32_hppa_build_stubs): New decls.
* elf32-hppa.c: Symbol extension stuff moved form elf32-hppa.h
into elf32-hppa.c.  Do not include aout64.h.
(typdef hppa_stub_type): Delete.
(elf32_hppa_stub_name_list_struct): Delete.
(elf32_hppa_stub_description_struct): Delete.
(arg_reloc_type): Use simpler enumerations.  All references changed.
(arg_location, arg_reloc_relocation): Likewise.
(elf32_hppa_symextn_map_struct): Delete.
(get_symbol_value): Delete.
(elf32_hppa_get_sym_extn): Delete.
(find_stubs, new_stubs, type_of_mismatch): Delete.
(find_stub_by_name, add_stub_by_name): Delete.
(hppa_elf_stub_finish, hppa_elf_stub_reloc): Delete.
(hppa_elf_arg_reloc_needed): Renamed.  Simplify.
(hppa_elf_build_linker_stub, hppa_elf_create_stub_sec): Delete.
(hppa_elf_long_branch_needed_p): Delete.
(hppa_look_for_stubs_in_section): Delete.
(hppa_elf_get_section_contents): Delete.
(elf32_hppa_backend_symbol_processing): Delete.
(elf32_hppa_backend_section_processing): Delete.
(elf32_hppa_backend_section_from_shdr): Delete.
(elf32_hppa_backend_fake_sections): Delete.
(elf32_hppa_backend_section_from_bfd_section): Delete.
(NEW_INSTRUCTION): Delete.
(CURRENT_STUB_OFFSET): Delete.
(elf32_hppa_relocate_section): New function.
(elf32_hppa_bfd_final_link_relocate): New function.
(elf32_hppa_size_symext): New function.
(elf32_hppa_link_output_symbol_hook): New function.
(elf32_hppa_read_symext_info): New function.
(elf32_hppa_add_symbol_hook): New function.
(elf32_hppa_name_of_stub): New function.
(elf32_hppa_size_of_stub): New function.
(elf32_hppa_build_one_sub): New function.
(elf32_hppa_build_stubs): New function.
(elf32_hppa_size_stubs): New function.
(linker, stub and argument hash tables): Add appropriate
structures, definitions and functions to implement all three
hash tables.
(hppa_elf_relocate_insn): Don't need argument location information
in this function.
(add_entry_to_symext_chain): Accept a symbol's argument location
information rather than the symbol itself.  All callers changed.
(hppa_elf_gen_reloc_type): Simplify.
(hppa_elf_set_section_contents): Stub section is no longer special.
(hppa_elf_reloc): Greatly simplify.
(elf32_hppa_begin_write_processing): Accept link_info argument.
Handle being called from the BFD backend linker.
(elf32_hppa_final_write_processing): Likewise.
(elf_hppa_tc_make_sections): No longer call stub_finish.

29 years ago * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
Stan Shebs [Fri, 1 Jul 1994 18:44:26 +0000 (18:44 +0000)] 
* mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
* ser-mac.c (MacSerial.h): Include instead of Serial.h.

29 years ago * mpw-README: Update the GDB information.
Stan Shebs [Fri, 1 Jul 1994 01:21:18 +0000 (01:21 +0000)] 
* mpw-README: Update the GDB information.

29 years agoAdd CXX
Steve Chamberlain [Fri, 1 Jul 1994 00:39:20 +0000 (00:39 +0000)] 
Add CXX

29 years agoElim dup of file names
Stan Shebs [Thu, 30 Jun 1994 23:19:26 +0000 (23:19 +0000)] 
Elim dup of file names

29 years ago* config/default.exp: Look for "as.new" in "$base_dir/..", where it got
Ken Raeburn [Thu, 30 Jun 1994 22:54:44 +0000 (22:54 +0000)] 
* config/default.exp: Look for "as.new" in "$base_dir/..", where it got
compiled, not in "$base_dir".

* config/unknown.exp: Deleted.

29 years ago * rltty.c (control_meta_key_on): Don't compile if __GO32__ is
Steve Chamberlain [Thu, 30 Jun 1994 22:31:29 +0000 (22:31 +0000)] 
* rltty.c (control_meta_key_on): Don't compile if __GO32__ is
defined.
(rltty_set_default_bindings): Likewise.
* display.c (insert_some_chars, delete_chars): row_start should be
a short.
* parens.c (rl_insert_close): No FD_SET if using __GO32__.
* readline.c (rl_gather_tyi): Strip off spurious high bits.

29 years ago * infrun.c (wait_for_inferior): Print "Program exited normally"
Jim Kingdon [Thu, 30 Jun 1994 21:24:57 +0000 (21:24 +0000)] 
* infrun.c (wait_for_inferior): Print "Program exited normally"
regardless of batch_mode.
* defs.h, top.c (batch_mode): Removed.

29 years agoSome updates for const-ness added to BFD structures.
Ken Raeburn [Thu, 30 Jun 1994 19:09:58 +0000 (19:09 +0000)] 
Some updates for const-ness added to BFD structures.

29 years ago * config/tc-mips.c (macro): For M_LI_SS, decide how to handle it
Ian Lance Taylor [Thu, 30 Jun 1994 18:47:29 +0000 (18:47 +0000)] 
* config/tc-mips.c (macro): For M_LI_SS, decide how to handle it
based on contents of imm_expr and offset_expr, rather than
mips_pic.  For M_LI_DD, decide how to handle it based on segment
name of offset_expr, rather than mips_pic.
(mips_ip): If g_switch_value < 4, use immediate values for 'l'.
If g_switch_value < 8, use .rdata rather than .lit for 'L'.

29 years agoFix a booboo
Stan Shebs [Thu, 30 Jun 1994 03:25:02 +0000 (03:25 +0000)] 
Fix a booboo

29 years ago * Makefile.in (dcache_h): Remove redundant definition.
Stan Shebs [Thu, 30 Jun 1994 02:51:50 +0000 (02:51 +0000)] 
* Makefile.in (dcache_h): Remove redundant definition.
(init.c): Add a comment.
(top.c): Remove explicit compile action.
* breakpoint.c (mention): Share code indicating location of
break/watchpoints, don't print address if addressprint is off.
* breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h
(demangle): Remove redundant declarations.
* eval.c: Remove redundant function declarations.
* objfiles.h: Cosmetic and grammatical improvements.
* TODO: Various updates.

29 years ago * remote-mips.c: Replace all \r chars with \015.
Stan Shebs [Thu, 30 Jun 1994 01:59:36 +0000 (01:59 +0000)] 
* remote-mips.c: Replace all \r chars with \015.
(mips_receive_header): Display control characters readably.
(mips_xfer_memory): Add a simple progress display.

29 years ago * mpw-make.in: Use {s} instead of {srcdir} everywhere.
Stan Shebs [Thu, 30 Jun 1994 01:52:15 +0000 (01:52 +0000)] 
* mpw-make.in: Use {s} instead of {srcdir} everywhere.
(bindir, libdir): Remove extra colon.
(source.c): Compile with C instead of gC.
(c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
(install-only): Don't install MacGDB.
* source.c (openp) [MPW]: Add a debugging display.
(open_source_file) [MPW]: Use MPW basename finders.
[MPW_C]: Briefer versions of help for line and list commands.

29 years ago * mpw-make.in (as.c): Compile with C not gC.
Stan Shebs [Thu, 30 Jun 1994 00:59:49 +0000 (00:59 +0000)] 
* mpw-make.in (as.c): Compile with C not gC.
(config-stamp): Touch correctly.
(install-only): New target.
(install): Depend on all and install-only.

29 years ago * as.c (show_usage): Break long string into shorter ones.
Stan Shebs [Thu, 30 Jun 1994 00:55:33 +0000 (00:55 +0000)] 
* as.c (show_usage): Break long string into shorter ones.
(parse_args): Add -v, prints version id and continues.
* config/tc-mips.c (md_show_usage): Break long string.

29 years ago * ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_in) [MPW_C]:
Stan Shebs [Thu, 30 Jun 1994 00:20:40 +0000 (00:20 +0000)] 
* ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_in) [MPW_C]:
Alternate versions without ECOFF_64 that chokes MPW C.

29 years ago * mpw-build.in: (install-only): New target.
Stan Shebs [Thu, 30 Jun 1994 00:12:28 +0000 (00:12 +0000)] 
* mpw-build.in: (install-only): New target.

29 years agoFix typo
Stan Shebs [Thu, 30 Jun 1994 00:08:11 +0000 (00:08 +0000)] 
Fix typo

29 years ago * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.
Jean Marie Diaz [Wed, 29 Jun 1994 21:18:47 +0000 (21:18 +0000)] 
* config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.

29 years ago * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not
Jean Marie Diaz [Wed, 29 Jun 1994 20:59:53 +0000 (20:59 +0000)] 
* lexsup.c (parse_args): Accept -Bstatic and -Bdynamic.  Do not
accept plain -B.
* ld.texinfo: -Bstatic is not ignored.

29 years ago * remote-e7000.c (e7000_open): Don't try a tcp open if we're
Steve Chamberlain [Wed, 29 Jun 1994 20:20:42 +0000 (20:20 +0000)] 
* remote-e7000.c (e7000_open): Don't try a tcp open if we're
using go32.
* remote-hms.c (flush): New function.
(expect): Get edge case right.
(hms_read_inferior_memory): Be more tolerant of line noise.

29 years ago * configure.in: Use i386m3.mh and i386m3.mt as names of host and
Jean Marie Diaz [Wed, 29 Jun 1994 13:15:51 +0000 (13:15 +0000)] 
* configure.in: Use i386m3.mh and i386m3.mt as names of host and
target files, not non-existent mach3.mh and mach3.mt.

29 years ago* config.guess: Recognize Mach.
Jean Marie Diaz [Wed, 29 Jun 1994 13:13:53 +0000 (13:13 +0000)] 
* config.guess: Recognize Mach.

29 years ago * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
Peter Schauer [Wed, 29 Jun 1994 07:35:00 +0000 (07:35 +0000)] 
* gdb.c++/misc.cc:  Instantiate classes to inhibit the compiler
from optimizing them away.
* gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
patterns to include default constructors and assignment operators,
to match gcc versions beyond 2.5.8.

29 years ago * dbxread.c (dbx_symfile_read): Unconditionally add dynamic
Peter Schauer [Wed, 29 Jun 1994 07:31:53 +0000 (07:31 +0000)] 
* dbxread.c (dbx_symfile_read):  Unconditionally add dynamic
symbols for all symbol files.  Makes skipping over the
trampoline code work when stepping from a function in a shared
library into a function in a different shared library.
(read_dbx_dynamic_symtab):  Relocate mst_solib_trampoline address.

30 years ago * dbxread.c, partial-stab.h (near N_SO): SO stabs with blank
Stu Grossman [Tue, 28 Jun 1994 23:36:52 +0000 (23:36 +0000)] 
* dbxread.c, partial-stab.h (near N_SO):  SO stabs with blank
names mean end of .o file.
* infrun.c (wait_for_inferior):  Clean up multi-thread logic near
top of routine.  Handle new thread notification cleanly.
* lynx-nat.c (child_wait):  General cleanups, handle new LynxOS
thread notification scheme.
* (child_resume):  General cleanups, handle resumption of all
threads properly.

30 years ago * h8300-dis.c, mips-dis.c: Don't use true and false.
Stan Shebs [Tue, 28 Jun 1994 20:27:02 +0000 (20:27 +0000)] 
* h8300-dis.c, mips-dis.c: Don't use true and false.

30 years ago * mpw-config.in (emulname): Set based on target.
Stan Shebs [Tue, 28 Jun 1994 20:20:35 +0000 (20:20 +0000)] 
* mpw-config.in (emulname): Set based on target.
(ldemul-list.h): Construct.
* mpw-make.in (install-only): New target.
(install): Depend on install-only.

30 years ago * mpw-xconfig.in: Remove ldemul-list.h construction, now in
Stan Shebs [Tue, 28 Jun 1994 20:16:32 +0000 (20:16 +0000)] 
* mpw-xconfig.in: Remove ldemul-list.h construction, now in
generic config.

30 years ago * ldlex.l: Recognize \r the same as \n.
Stan Shebs [Tue, 28 Jun 1994 19:16:24 +0000 (19:16 +0000)] 
* ldlex.l: Recognize \r the same as \n.

30 years ago * mpw-config.in: New file, MPW configure fragment for binutils.
Stan Shebs [Tue, 28 Jun 1994 02:20:40 +0000 (02:20 +0000)] 
* mpw-config.in: New file, MPW configure fragment for binutils.
* mpw-make.in (install-only): New target.
(install): Also depend on install-only.

30 years agoRemove more GM-specific stuff
Stan Shebs [Tue, 28 Jun 1994 02:16:18 +0000 (02:16 +0000)] 
Remove more GM-specific stuff

30 years agoRemove more GM-specific stuff.
Stan Shebs [Tue, 28 Jun 1994 02:12:13 +0000 (02:12 +0000)] 
Remove more GM-specific stuff.

30 years ago * configure.in (i386-go32): When it's a host set
Steve Chamberlain [Tue, 28 Jun 1994 01:20:04 +0000 (01:20 +0000)] 
* configure.in (i386-go32): When it's a host set
host_makefile_frag.
* gasp.c  (get_any_string): Fix handling of % when in PharLap
mode.

30 years agoDon't keep the "is" cases, only the "was" cases.
Steve Chamberlain [Tue, 28 Jun 1994 01:19:19 +0000 (01:19 +0000)] 
Don't keep the "is" cases, only the "was" cases.

30 years agoReflect new rules.
Steve Chamberlain [Tue, 28 Jun 1994 01:17:29 +0000 (01:17 +0000)] 
Reflect new rules.

30 years ago * section.c (bfd_get_section_contents): Put in parens to get
Steve Chamberlain [Tue, 28 Jun 1994 01:09:50 +0000 (01:09 +0000)] 
* section.c (bfd_get_section_contents): Put in parens to get
precedence right.

30 years agoSpecify the file type.
Steve Chamberlain [Tue, 28 Jun 1994 01:05:38 +0000 (01:05 +0000)] 
Specify the file type.

30 years agoser-go32.c: Rewrite so it runs under windows.
Steve Chamberlain [Tue, 28 Jun 1994 00:52:59 +0000 (00:52 +0000)] 
ser-go32.c: Rewrite so it runs under windows.

30 years ago * configure: Check ${exec_prefixoption}, not ${exec_prefix}, to
Jean Marie Diaz [Mon, 27 Jun 1994 20:52:52 +0000 (20:52 +0000)] 
* configure: Check ${exec_prefixoption}, not ${exec_prefix}, to
see whether --exec-prefix was used.

30 years agoUse e7000-pc stuff.
Steve Chamberlain [Mon, 27 Jun 1994 17:17:27 +0000 (17:17 +0000)] 
Use e7000-pc stuff.

30 years ago * ser-e7kpc.c: New file to support the E7000 with the PC ISA
Steve Chamberlain [Mon, 27 Jun 1994 17:16:26 +0000 (17:16 +0000)] 
* ser-e7kpc.c: New file to support the E7000 with the PC ISA
bus interface.
* serial.c (serial_open): Notice device "pc".
* remote-e7000.c: Fix copyright date.
(expect): Compare \n and \r the same.
(e7000_open): Allow pc as a serial port
* sh/sh.mt: Add ser-e7kpc.
* h8300/h8300hms.mt: Add ser-e7kpc.
* main.c (proc_wait): Don't wait if using go32.

30 years ago * somread.c: Simplify by using stabsect_build_psymtabs.
Jeff Law [Mon, 27 Jun 1994 06:45:35 +0000 (06:45 +0000)] 
* somread.c: Simplify by using stabsect_build_psymtabs.
* dbxread.c (stabsect_build_psymtabs): New argument "text_name"
corresponding to the name of the text section.  All references
changed.
(somstab_build_psymtabs): Delete function, no longer needed.

30 years ago * somread.c: Renamed from paread.c. Changed function names and
Jeff Law [Mon, 27 Jun 1994 06:09:40 +0000 (06:09 +0000)] 
* somread.c: Renamed from paread.c.  Changed function names and
comments to reflect that this file deals with SOM (an object file
format), rather than the PA (a cpu).
(Makefile.in): Chaned appropriately.
(config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise.
* dbxread.c (somstab_build_psymtabs): Renamed from
pastab_build_psymtabs.

30 years ago * libelf.h (relocate_section): New argument "output_names" added
Jeff Law [Mon, 27 Jun 1994 00:17:41 +0000 (00:17 +0000)] 
* libelf.h (relocate_section): New argument "output_names" added
to prototype.
* elfcode.h (elf_link_input_bfd): New argument "output_names"
added to prototype of relocate_section.  Pass the output symbol
names to relocate_section.
* elf32-i386.c (elf_i386_relocate_section): Use "output_names" to
determine the name of a local symbol.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.

30 years ago * mpw-config.in: Parse target and use to generate forward includes
Stan Shebs [Sun, 26 Jun 1994 23:51:45 +0000 (23:51 +0000)] 
* mpw-config.in: Parse target and use to generate forward includes
to tc-, obj-, and atof- files, use te-generic.h for emulation.
* mpw-make.in (VERSION): Define.
(as.c): Compile with GCC.
(TARG_OBJECTS, CLIBS): Define.
(as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link
command.
(config.h, config-stamp): Build.
config/ho-mpw.h (HOST_SPECIAL_INIT): Define.

30 years agoRemove GM-specific hackery, no longer needed.
Stan Shebs [Sun, 26 Jun 1994 23:41:34 +0000 (23:41 +0000)] 
Remove GM-specific hackery, no longer needed.

30 years ago * as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specific
Stan Shebs [Sun, 26 Jun 1994 23:36:46 +0000 (23:36 +0000)] 
* as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specific
initialization.

30 years ago * mpw-config.in: Use sed instead of StreamEdit, add definitions
Stan Shebs [Sun, 26 Jun 1994 23:00:20 +0000 (23:00 +0000)] 
* mpw-config.in: Use sed instead of StreamEdit, add definitions
for mips target.
* mpw-make.in: Remove mips targets definitions, add rule to
compile with GCC, remove ecoff.c.o and ecofflink.c.o from list of
required object files.

30 years ago * mpw-configure (host_alias, target_alias): Rename from hostalias
Stan Shebs [Sun, 26 Jun 1994 22:52:54 +0000 (22:52 +0000)] 
* mpw-configure (host_alias, target_alias): Rename from hostalias
and targetalias, add into generated Makefile.
(mk.tmp): If present, add into generated Makefile.
* mpw-build (all-gas): Build config.h first before gas proper.

30 years ago * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait"
Jeff Law [Sun, 26 Jun 1994 22:52:06 +0000 (22:52 +0000)] 
* gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait"
before exiting.  Enclose both calls inside a "catch".
(objdump_finish): Likewise.

30 years agoFrom rob:
Jeff Law [Sun, 26 Jun 1994 19:26:33 +0000 (19:26 +0000)] 
From rob:

* gas/lib/gas-defs.exp (gas_finish): Call "close" before exiting.
Make note about possibly needing a call to "wait" too.
(objdump_finish): Likewise.

30 years ago * core-sol2.c: New file to handle ELF and BCP core file flavours.
Peter Schauer [Fri, 24 Jun 1994 16:27:52 +0000 (16:27 +0000)] 
* core-sol2.c:  New file to handle ELF and BCP core file flavours.
* config/sparc/sun4sol2.mh (NATDEPFILES):  Use it instead of
core-svr4.

30 years ago * core-sol2.c: New file to handle ELF and BCP core file flavours.
Peter Schauer [Fri, 24 Jun 1994 16:26:33 +0000 (16:26 +0000)] 
* core-sol2.c:  New file to handle ELF and BCP core file flavours.
* config/sparc/sun4sol2.mh (NATDEPFILES):  Use it instead of
core-svr4.
* Makefile.in:  Updated for core-sol2.c.

30 years ago Add Solaris BCP (the part of Solaris which allows it to run
Peter Schauer [Fri, 24 Jun 1994 16:18:35 +0000 (16:18 +0000)] 
Add Solaris BCP (the part of Solaris which allows it to run
SunOS4 a.out files) core file handling.
* aoutf1.h (external_solaris_bcp_core, swapcore_solaris_bcp):
New structure and its swap in function.
(internal_sunos_core):  New member c_data_addr, to receive the
start address of the data section in the core file.
(swapcore_sun3, swapcore_sparc, sunos4_core_file_p):  Use it.
(sunos4_core_file_p):  Recognize Solaris BCP core file.
(sunos4_core_file_matches_executable_p):  Always indicate match
for Solaris BCP core files.

30 years ago * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
Peter Schauer [Fri, 24 Jun 1994 15:25:55 +0000 (15:25 +0000)] 
* gdb.c++/cplusfuncs.exp:  Use string_to_regexp and a regular
expression match in print_addr_of to avoid unintented matches.
* gdb.c++/virtfunc.exp:  Accept alternate ptype output of g++
versions up to 2.5.8.

30 years ago * config/mips/xm-makeva.h: Removed, no longer necessary.
Peter Schauer [Fri, 24 Jun 1994 15:22:35 +0000 (15:22 +0000)] 
* config/mips/xm-makeva.h:  Removed, no longer necessary.

30 years ago * config/mips/xm-makeva.h: Removed, no longer necessary.
Peter Schauer [Fri, 24 Jun 1994 15:21:24 +0000 (15:21 +0000)] 
* config/mips/xm-makeva.h:  Removed, no longer necessary.
* Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h,
config/mips/xm-mips.h, config/mips/xm-news-mips.h,
config/mips/xm-riscos.h:  Remove references to xm-makeva.h

30 years ago * README: Add notes about SPARCworks cc under Solaris 2.x
Peter Schauer [Fri, 24 Jun 1994 15:19:08 +0000 (15:19 +0000)] 
* README:  Add notes about SPARCworks cc under Solaris 2.x
(from Casper H.S. Dik casper@fwi.uva.nl).
* config/mips/xm-makeva.h:  Removed, no longer necessary.
* Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h,
config/mips/xm-mips.h, config/mips/xm-news-mips.h,

30 years ago* gdba.el: Put program input and output in a separate buffer.
Jim Kingdon [Fri, 24 Jun 1994 13:39:35 +0000 (13:39 +0000)] 
* gdba.el: Put program input and output in a separate buffer.

30 years agoRemoving a mistake I made (don't put newlib in host_tools).
Sean Eric Fagan [Fri, 24 Jun 1994 05:44:12 +0000 (05:44 +0000)] 
Removing a mistake I made (don't put newlib in host_tools).

30 years ago Preliminary support for generating shared libraries, from Eric
Ian Lance Taylor [Thu, 23 Jun 1994 21:36:03 +0000 (21:36 +0000)] 
Preliminary support for generating shared libraries, from Eric
Youngdale <ericy@cais.cais.com>.
* elfcode.h (prep_headers): If DYNAMIC, set e_type to ET_DYN.
(elf_link_add_object_symbols): If generating a shared library,
create dynamic sections for first input BFD with the right format.
(elf_link_create_dynamic_sections): Don't create .interp section
if creating a shared library.
(elf_link_input_bfd): Skip dynamic sections in input file.
(elf_bfd_final_link): If creating a shared library, it's OK for
dynobj to have sections which are not SEC_IN_MEMORY.
* elf32-i386.c (elf_i386_size_dynamic_sections): Only set .interp
section if not creating a shared library.
* elf32-sparc.c (elf_sparc_size_dynamic_sections): Likewise.

30 years ago * elfcode.h (elf_object_p): Don't set DYNAMIC just because there
Ian Lance Taylor [Thu, 23 Jun 1994 20:14:58 +0000 (20:14 +0000)] 
* elfcode.h (elf_object_p): Don't set DYNAMIC just because there
is an SHT_DYNAMIC section.

30 years agoChange --with-targets to --enable-targets, per GNU coding standards.
David MacKenzie [Thu, 23 Jun 1994 20:08:57 +0000 (20:08 +0000)] 
Change --with-targets to --enable-targets, per GNU coding standards.

30 years ago * Makefile.in (gprof): Depend on $(LIBS).
Jeff Law [Thu, 23 Jun 1994 17:23:30 +0000 (17:23 +0000)] 
* Makefile.in (gprof): Depend on $(LIBS).

30 years ago * annotate.texi (TODO): New node, for keeping track of annotations
Jim Kingdon [Thu, 23 Jun 1994 01:15:24 +0000 (01:15 +0000)] 
* annotate.texi (TODO): New node, for keeping track of annotations
suggested but not yet implemented.

30 years ago* gdba.el: Put program output in a separate buffer.
Jim Kingdon [Thu, 23 Jun 1994 00:59:47 +0000 (00:59 +0000)] 
* gdba.el: Put program output in a separate buffer.

30 years ago * linker.c (_bfd_generic_link_add_archive_symbols): Initialize
Ian Lance Taylor [Thu, 23 Jun 1994 00:36:38 +0000 (00:36 +0000)] 
* linker.c (_bfd_generic_link_add_archive_symbols): Initialize
pass from abfd->archive_pass, and save it there as well.

30 years ago * lexsup.c (parse_args): Add support for new options -( -) with
Ian Lance Taylor [Thu, 23 Jun 1994 00:36:00 +0000 (00:36 +0000)] 
* lexsup.c (parse_args): Add support for new options -( -) with
synonyms --start-group --end-group.
* ldlang.h (enum statement_enum): Add lang_group_statement_enum.
(lang_group_statement_type): Define new struct.
(lang_statement_union_type): Add group_statement field.
(lang_enter_group, lang_leave_group): Declare.
* ldlang.c (lang_for_each_statement_worker): Handle
lang_group_statement_enum.
(map_input_to_output_sections, print_statement): Likewise.
(lang_size_sections, lang_do_assignments): Likewise.
(open_input_bfds): Completely rewrite.  Now does its own looping,
rather than using lang_for_each_statement.  Handle groups.
(lang_process): Update call to open_input_bfds.
(print_group): New static function.
(lang_enter_group, lang_leave_group): New static functions.
* ldfile.c (ldfile_open_file): If the file has already been
opened, just return rather than taking an assertion failure.
* ldver.c (help): Mention new options.
* ld.texinfo: Document new options.

30 years agolinker.c (FAIL): Undefine macro before defining as enum.
Ken Raeburn [Thu, 23 Jun 1994 00:10:06 +0000 (00:10 +0000)] 
linker.c (FAIL): Undefine macro before defining as enum.

30 years ago * energize-patches, main.c (main), top.c (gdb_init, pwd_command),
Fred Fish [Thu, 23 Jun 1994 00:08:09 +0000 (00:08 +0000)] 
* energize-patches, main.c (main), top.c (gdb_init, pwd_command),
top.h: Change all occurances of dirbuf to gdb_dirbuf.  Collides
with global variable of same name in libnsl.so on UnixWare.

30 years agoconfig.bfd (powerpc-*-elf*): New target, like powerpc-*-sysv4*.
Ken Raeburn [Wed, 22 Jun 1994 23:40:17 +0000 (23:40 +0000)] 
config.bfd (powerpc-*-elf*): New target, like powerpc-*-sysv4*.

30 years ago * ldlang.c (end_of_data_section_statement_list): Don't define.
Ian Lance Taylor [Wed, 22 Jun 1994 23:07:14 +0000 (23:07 +0000)] 
* ldlang.c (end_of_data_section_statement_list): Don't define.
(lang_leave_output_section_statement): Don't set obsolete variable
end_of_data_section_statement_list.

30 years ago * hash.c (bfd_hash_allocate): Don't call bfd_set_error if
Ian Lance Taylor [Wed, 22 Jun 1994 22:37:54 +0000 (22:37 +0000)] 
* hash.c (bfd_hash_allocate): Don't call bfd_set_error if
obstack_alloc returns NULL unless the size is non-zero.

* linker.c (archive_hash_allocate): Define.
(_bfd_generic_link_add_archive_symbols): Use archive_hash_allocate
rather than obstack_alloc, for clarity.

30 years agoModified Files:
Kung Hsu [Wed, 22 Jun 1994 21:45:22 +0000 (21:45 +0000)] 
Modified Files:
symtab.c ChangeLog

        * symtab.c (decode_line_1): fix a bug in dealing with '<>'
        embedded in template name.

30 years ago * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an
Ian Lance Taylor [Wed, 22 Jun 1994 20:11:07 +0000 (20:11 +0000)] 
* scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an
ALIGN.

30 years ago * ldlang.c (lang_size_sections): Adjust current region address
Ian Lance Taylor [Wed, 22 Jun 1994 20:04:29 +0000 (20:04 +0000)] 
* ldlang.c (lang_size_sections): Adjust current region address
even for sections with an explicit address.  From
ralphc@pyramid.com (Ralph Campbell).

30 years ago * elfcode.h (elf_get_reloc_upper_bound): Correct.
Ian Lance Taylor [Wed, 22 Jun 1994 20:00:05 +0000 (20:00 +0000)] 
* elfcode.h (elf_get_reloc_upper_bound): Correct.

30 years ago * mpw-make.in (VERSION): Update to 4.12.3.
Stan Shebs [Wed, 22 Jun 1994 19:57:02 +0000 (19:57 +0000)] 
* mpw-make.in (VERSION): Update to 4.12.3.
(SiowGDB): New target, GDB using SIOW library.
(init-new.c): New target, attempt to generate init.c from sources.
(main.c.o, top.c.o): Put each in its own segment.
* main.c (main) [MPW]: Always call mac_init.
* utils.c (query) [MPW]: Always return "yes" if in MacGDB, output
an extra newline otherwise.
* mac-xdep.c: More comments in various places, remove junk.
(mac_init): Add tests for MPW and SIOW.
(use_wne, has_color_qd): Renamed.
(use_color_qd): New variable.
(grow_window): Only do console resizing to console window,
call resize_console_window.
(zoom_window): Call resize_console_window.
(resize_console_window, scroll_text): New functions.
(adjust_console_sizes): Always align viewrect to even multiples of
text lines.
(adjust_console_text): Always scroll by whole lines.
(hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a
recalculation of scroll positions if a newline was output.
(hacked_fflush): Similarly, for flushing.
(hacked_fgetc): New function, aborts if called in MacGDB.
* ser-mac.c (mac_readchar): Rename starttime to start_time,
remove debugging printf.
(mac_write): Sleep on first 4 writes.
(sec_sleep): New function, works like standard sleep.
* macgdb.r: Adjust positioning and contents of About box.
Set minimum size to 2000K, preferred size to 5000K.
* config/m68k/xm-mpw.h (fgetc): Define as a macro.

30 years ago * aout64.c (BMAGIC, QMAGIC): Define if not already defined. From
Ian Lance Taylor [Wed, 22 Jun 1994 19:38:57 +0000 (19:38 +0000)] 
* aout64.c (BMAGIC, QMAGIC): Define if not already defined.  From
Peter Schauer <pes@regent.e-technik.tu-muenchen.de>.

30 years ago Linux ZMAGIC support from Eric Youngdale <ericy@cais.cais.com>.
Ian Lance Taylor [Wed, 22 Jun 1994 19:13:55 +0000 (19:13 +0000)] 
Linux ZMAGIC support from Eric Youngdale <ericy@cais.cais.com>.
* libaout.h (struct aoutdata): Add field zmagic_disk_block_size.
* aout-target.h (MY(callback)): Only set alignment according to
architecture if the section sizes are aligned to that alignment,
for backward compatibility.
(MY(set_sizes)): Initialize zmagic_disk_block_size field.
* aoutx.h (adjust_z_magic): Set ztih if using q_magic_format.  Set
text section filepos to zmagic_disk_block_size if not ztih.  Use a
different padding algorithm if not ztih.
* i386linux.c (MY_text_includes_header): Don't define.

This page took 0.041958 seconds and 4 git commands to generate.