platform/upstream/binutils.git
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.

30 years ago* Makefile.in: Add all-librx target similar to all-libproc.
Jim Kingdon [Wed, 22 Jun 1994 18:17:14 +0000 (18:17 +0000)]
* Makefile.in: Add all-librx target similar to all-libproc.

30 years agoRemove .Sanitize to prevent release of proprietary sources. This will be added
Stu Grossman [Wed, 22 Jun 1994 18:10:45 +0000 (18:10 +0000)]
Remove .Sanitize to prevent release of proprietary sources.  This will be added
back when I figure out how to do it right.

30 years ago * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0.
Ian Lance Taylor [Wed, 22 Jun 1994 18:07:32 +0000 (18:07 +0000)]
* emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0.
From jrs@world.std.com (Rick Sladkey).

30 years ago * scripttempl/mipsbsd.sc: Let sections align to their natural
Ian Lance Taylor [Wed, 22 Jun 1994 17:47:11 +0000 (17:47 +0000)]
* scripttempl/mipsbsd.sc: Let sections align to their natural
boundaries.

30 years ago * mips-dis.c (_print_insn_mips): Build a static hash table mapping
Ian Lance Taylor [Wed, 22 Jun 1994 17:41:05 +0000 (17:41 +0000)]
* mips-dis.c (_print_insn_mips): Build a static hash table mapping
opcodes to the first instruction with that opcode, to speed
disassembly of large files.  From ralphc@pyramid.com (Ralph
Campbell).

30 years agokeep configure.bat
Ken Raeburn [Wed, 22 Jun 1994 17:39:31 +0000 (17:39 +0000)]
keep configure.bat

30 years ago * aoutx.h (aout_link_check_ar_symbols): Just skip N_STAB and N_FN
Ian Lance Taylor [Wed, 22 Jun 1994 14:55:58 +0000 (14:55 +0000)]
* aoutx.h (aout_link_check_ar_symbols): Just skip N_STAB and N_FN
        symbols; don't look them up in the hash table.  From
        ralphc@pyramid.com (Ralph Campbell).

30 years ago * config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF.
Jeff Law [Wed, 22 Jun 1994 06:32:54 +0000 (06:32 +0000)]
* config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF.
More gas/bfd lossage exposed by the new linker code.

30 years agoSanitization fixes
Stan Shebs [Wed, 22 Jun 1994 02:26:39 +0000 (02:26 +0000)]
Sanitization fixes

30 years agoModified Files:
Kung Hsu [Tue, 21 Jun 1994 23:10:25 +0000 (23:10 +0000)]
Modified Files:
  ChangeLog

        * config/i386/nm-linux.h: change calling convention of
        TARGET_CAN_USE_HARDWARE_WATCHPOINT() and
        target_insert_watchpoint() and
        target_remove_watchpoint().

30 years agoLook for as.new before looking in the path for the binary to test.
Rob Savoye [Tue, 21 Jun 1994 22:15:04 +0000 (22:15 +0000)]
Look for as.new before looking in the path for the binary to test.

30 years ago * nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
Ian Lance Taylor [Tue, 21 Jun 1994 21:21:05 +0000 (21:21 +0000)]
* nlmconv.c (powerpc_build_stubs): Don't generate the PowerPC
NetWare custom header; no longer needed.
(powerpc_mangle_relocs): Convert relocs against the uninitialized
data section into relocs against the data section.

30 years agoModified Files:
Kung Hsu [Tue, 21 Jun 1994 21:09:13 +0000 (21:09 +0000)]
Modified Files:
tm-mips64.h tm-bigmips64.h

        * config/mips/tm-mips64.h: define FORCE_LONG_LONG to force LONGEST
        to be long long in gdb.
        * config/mips/tm-bigmips.h: ditto.

30 years ago * configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
Ian Lance Taylor [Tue, 21 Jun 1994 17:50:33 +0000 (17:50 +0000)]
* configure.in: Set nlmconv_defs to -DNLMCONV_cputype for all the
netware targets.  Write it into Makefile as NLMCONV_DEFS.
* Makefile.in (nlmconv.o): Pass $(NLMCONV_DEFS) to $(CC).
* nlmconv.c: Only compile code for specific CPU types if
NLMCONV_cputype is defined.

30 years ago * nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
Ian Lance Taylor [Tue, 21 Jun 1994 17:20:20 +0000 (17:20 +0000)]
* nlmconv.c (main): Change uses of bfd_abs_section, etc., to use
bfd_abs_section_ptr or bfd_is_abs_section, etc.
(i386_mangle_relocs, alpha_mangle_relocs): Likewise.
(powerpc_build_stubs): Likewise.
* nm.c (filter_symbols, print_symbols): Likewise.
* objcopy.c (filter_symbols): Likewise.
(mark_symbols_used_in_relocations): Likewise.
* objdump.c (remove_useless_symbols, dump_relocs): Likewise.
* size.c (sysv_internal_printer): Likewise.

30 years agoAdded a nec-v810 target.
Sean Eric Fagan [Tue, 21 Jun 1994 17:08:22 +0000 (17:08 +0000)]
Added a nec-v810 target.

30 years agoAdded support for nev-v810 processor. A newlib *only* target, for now at
Sean Eric Fagan [Tue, 21 Jun 1994 17:07:44 +0000 (17:07 +0000)]
Added support for nev-v810 processor.  A newlib *only* target, for now at
least.

30 years ago * section.c (bfd_abs_section): Make const.
Ian Lance Taylor [Tue, 21 Jun 1994 16:47:07 +0000 (16:47 +0000)]
* section.c (bfd_abs_section): Make const.
(bfd_abs_section_ptr, bfd_is_abs_section): Define.
(bfd_und_section): Make const.
(bfd_und_section_ptr, bfd_is_und_section): Define.
(bfd_com_section): Make const.
(bfd_com_section_ptr): Define.
(bfd_ind_section): Make const.
(bfd_ind_section_ptr, bfd_is_ind_section): Define.
(bfd_abs_symbol, bfd_com_symbol): Make const.
(bfd_und_symbol, bfd_ind_symbol): Likewise.
(global_syms): Cast initialization of section field.
(STD_SECTION): Define as const, and cast initializations.
* bfd-in2.h: Rebuilt.
* Many files: Change uses of bfd_abs_section, etc., to use
bfd_abs_section_ptr or bfd_is_abs_section, etc.

30 years ago * subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
Ian Lance Taylor [Tue, 21 Jun 1994 16:45:09 +0000 (16:45 +0000)]
* subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.
(subseg_change): Store seg_info for bfd_abs_section_ptr in
abs_seg_info, and store seg_info for bfd_und_section_ptr in
und_seg_info.
(subseg_get): Likewise.  Also, don't set output_section if it is
already set.
(seg_info): Define as function.
* subsegs.h (seg_info): Declare as function rather than defining
as macro.
* write.c (relax_and_size_seg): Call seg_info rather than
bfd_get_section_userdata.

30 years ago * gdb.base/list.exp: Tweak alternate pattern for listing of an
Peter Schauer [Tue, 21 Jun 1994 07:01:10 +0000 (07:01 +0000)]
* gdb.base/list.exp:  Tweak alternate pattern for listing of an
included file to run under newer versions of expect.
* gdb.c++/demangle.exp:  Add spaces to the expect patterns between
consecutive >'s in templates to accomodate recent cplus-dem.c change.
Remove xfail for the virtual table of BDDHookV.

30 years ago * c-lang.c (asm_language_defn): New definitions for language_asm,
Peter Schauer [Tue, 21 Jun 1994 06:58:41 +0000 (06:58 +0000)]
* c-lang.c (asm_language_defn):  New definitions for language_asm,
mostly copied from c_language_defn, to avoid warnings when
switching between c and asm stack frames.

30 years ago * Many files: change all bfd_target vectors to be const. Change
Ian Lance Taylor [Mon, 20 Jun 1994 21:55:45 +0000 (21:55 +0000)]
* Many files: change all bfd_target vectors to be const.  Change
all uses of bfd_target * to be const bfd_target *.  Change
bfd_target_vector and bfd_default_vector arrays to be const
bfd_target * const *.

30 years ago* Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
Ken Raeburn [Mon, 20 Jun 1994 20:44:46 +0000 (20:44 +0000)]
* Makefile.in (MANPAGES): Remove $(DEMANGLER_PROG).
(install): Install it explicitly, from build dir, not srcdir.

30 years agohandle target ppc-*-elf*, for zoo.
Ken Raeburn [Mon, 20 Jun 1994 20:36:56 +0000 (20:36 +0000)]
handle target ppc-*-elf*, for zoo.

30 years agoexpr.c (operand): If "0f" is followed by '\0', don't do eol checks.
Ken Raeburn [Mon, 20 Jun 1994 20:34:35 +0000 (20:34 +0000)]
expr.c (operand): If "0f" is followed by '\0', don't do eol checks.

30 years ago * objdump.c: Don't include elf/internal.h.
Ian Lance Taylor [Mon, 20 Jun 1994 20:31:46 +0000 (20:31 +0000)]
* objdump.c: Don't include elf/internal.h.
(bfd_elf_find_section): Don't declare.
(read_section_stabs): No special handling for ELF.  Always read
using BFD sections.

30 years ago * ecoff.c, libecoff.h, ecoffswap.h, coff-alpha.c, coff-mips.c,
Ian Lance Taylor [Mon, 20 Jun 1994 19:39:15 +0000 (19:39 +0000)]
* ecoff.c, libecoff.h, ecoffswap.h, coff-alpha.c, coff-mips.c,
elf32-mips.c: Renamed all externally visible ECOFF routines which
are local to BFD to start with _bfd_ecoff instead of just ecoff.

30 years ago * ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_out
Ian Lance Taylor [Mon, 20 Jun 1994 19:25:41 +0000 (19:25 +0000)]
* ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_out
via backend pointer, not directly.

30 years ago * mdebugread.c (parse_symbol): Don't call ecoff_swap_tir_in or
Ian Lance Taylor [Mon, 20 Jun 1994 18:27:29 +0000 (18:27 +0000)]
* mdebugread.c (parse_symbol): Don't call ecoff_swap_tir_in or
ecoff_swap_rndx_in directly; use the debug_swap pointer instead.
(upgrade_type, handle_psymbol_enumerators): Likewise.
(has_opaque_xref, cross_ref): Likewise.
(elfmdebug_build_psymtabs): Call swap->read_debug_info to read
debugging information, rather than doing it here.
* mipsread.c (mipscoff_symfile_read): Call read_debug_info entry
point in ecoff_debug_swap backend structure, rather than calling
ecoff_slurp_symbolic_info directly.

30 years ago * ecoff.c (ecoff_swap_tir_in): Change input argument to const.
Ian Lance Taylor [Mon, 20 Jun 1994 18:26:55 +0000 (18:26 +0000)]
* ecoff.c (ecoff_swap_tir_in): Change input argument to const.
(ecoff_swap_tir_out): Likewise.
(ecoff_swap_rndx_in, ecoff_swap_rndx_out): Likewise.
(ecoff_slurp_symbolic_info): Add new arguments to correspond to
read_debug_info entry point in ecoff_debug_swap structure.
Change all calls.
* libecoff.h (ecoff_slurp_symbolic_info): Change declaration.
* ecoffswap.h (ecoff_swap_tir_in, ecoff_swap_tir_out): Declare.
(ecoff_swap_rndx_in, ecoff_swap_rndx_out): Declare.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new
ecoff_debug_swap fields.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
* elf32-mips.c (mips_elf_read_ecoff_info): Undefine READ.
(mips_elf_ecoff_debug_swap): Initialize new ecoff_debug_swap
fields.
* configure.in (bfd_elf32_bigmips_vec): Use ecoff.o and
ecofflink.o.
(bfd_elf32_littlemips_vec): Likewise.
(ecoff_big_vec, ecoff_little_vec): Likewise.
(ecoffalpha_little_vec): Likewise.
* Makefile.in (BFD_LIBS): Remove ecoff.o and ecofflink.o.
(BFD32_BACKENDS): Add ecoff.o and ecofflink.o.

30 years ago * aoutx.h (NAME(aout,final_link)): Check flavour of sub, not abfd,
Ian Lance Taylor [Mon, 20 Jun 1994 15:51:28 +0000 (15:51 +0000)]
* aoutx.h (NAME(aout,final_link)): Check flavour of sub, not abfd,
when computing reloc sizes.  From Eric Youngdale
<ericy@cais.cais.com>.
* elfcode.h (elf_bfd_final_link): Don't try to compute maximum
reloc count or size for a non-ELF file.

30 years agoComment change.
Ian Lance Taylor [Mon, 20 Jun 1994 15:30:56 +0000 (15:30 +0000)]
Comment change.

30 years ago * mipsbsd.c (MY_final_link_callback): Define to avoid warning.
Ian Lance Taylor [Mon, 20 Jun 1994 15:25:58 +0000 (15:25 +0000)]
* mipsbsd.c (MY_final_link_callback): Define to avoid warning.

30 years ago * hp300hpux.c (MY_final_link_callback): Define to avoid warning.
Ian Lance Taylor [Mon, 20 Jun 1994 15:11:34 +0000 (15:11 +0000)]
* hp300hpux.c (MY_final_link_callback): Define to avoid warning.
(BMAGIC, QMAGIC): Define; used by aoutx.h.
(MY(slurp_symbol_table)): Change translate_from_native_sym_flags
calls to use new parameters.

30 years ago * demangle.h (cplus_demangle_opname): Declare.
Stan Shebs [Sat, 18 Jun 1994 23:14:00 +0000 (23:14 +0000)]
* demangle.h (cplus_demangle_opname): Declare.

30 years agoUse "default" rather than "unix".
Rob Savoye [Sat, 18 Jun 1994 20:17:26 +0000 (20:17 +0000)]
Use "default" rather than "unix".

30 years agoSetup default and unknown init files.
Rob Savoye [Sat, 18 Jun 1994 20:11:38 +0000 (20:11 +0000)]
Setup default and unknown init files.

30 years agoDon't pass AS and ASFLAGS, it's now done in the testing code.
Rob Savoye [Sat, 18 Jun 1994 20:06:27 +0000 (20:06 +0000)]
Don't pass AS and ASFLAGS, it's now done in the testing code.

30 years ago * lib/gdb.exp (string_to_regexp): Set a default result.
Stan Shebs [Sat, 18 Jun 1994 19:55:23 +0000 (19:55 +0000)]
* lib/gdb.exp (string_to_regexp): Set a default result.
(default_gdb_start): Fix misleading message.

30 years ago * breakpoint.c: Include annotate.h. Call annotate_field rather
Jim Kingdon [Sat, 18 Jun 1994 04:14:26 +0000 (04:14 +0000)]
* breakpoint.c: Include annotate.h.  Call annotate_field rather
than printing annotation directly.

30 years ago* main.c: Include string.h.
Jim Kingdon [Sat, 18 Jun 1994 04:02:02 +0000 (04:02 +0000)]
* main.c: Include string.h.

30 years ago * Makefile.in (config-stamp): Make sure there is at least one
Ian Lance Taylor [Fri, 17 Jun 1994 22:08:59 +0000 (22:08 +0000)]
* Makefile.in (config-stamp): Make sure there is at least one
element in the for loop.

30 years ago * aout-target.h (MY(callback)): Set the alignments of the text,
Ian Lance Taylor [Fri, 17 Jun 1994 18:49:39 +0000 (18:49 +0000)]
* aout-target.h (MY(callback)): Set the alignments of the text,
data and bss sections after determining the architecture.

30 years ago * sunos.c (sunos_add_one_symbol): Treat a common symbol from a
Ian Lance Taylor [Fri, 17 Jun 1994 18:47:50 +0000 (18:47 +0000)]
* sunos.c (sunos_add_one_symbol): Treat a common symbol from a
dynamic object as being in the .bss section of the object, rather
than as being undefined.

30 years ago * libhppa.h (bfd_hppa_insn2fmt, hppa_rebuild_insn): Make INLINE.
Jeff Law [Fri, 17 Jun 1994 18:11:17 +0000 (18:11 +0000)]
* libhppa.h (bfd_hppa_insn2fmt, hppa_rebuild_insn): Make INLINE.

30 years ago * config/tc-hppa.c: Misc trivial changes to make gcc -Wall happy.
Jeff Law [Fri, 17 Jun 1994 18:09:16 +0000 (18:09 +0000)]
    * config/tc-hppa.c: Misc trivial changes to make gcc -Wall happy.

30 years ago * elf32-hppa.h (elf_hppa_final_processing): Delete decl.
Jeff Law [Fri, 17 Jun 1994 17:18:25 +0000 (17:18 +0000)]
* elf32-hppa.h (elf_hppa_final_processing): Delete decl.

30 years ago * config/tc-hppa.h (elf_hppa_final_processing): Declare.
Jeff Law [Fri, 17 Jun 1994 17:13:13 +0000 (17:13 +0000)]
    * config/tc-hppa.h (elf_hppa_final_processing): Declare.

30 years ago * elfcode.h (elf_link_input_bfd): Don't try to read local symbols
Jeff Law [Fri, 17 Jun 1994 05:39:55 +0000 (05:39 +0000)]
* elfcode.h (elf_link_input_bfd): Don't try to read local symbols
if there aren't any in the input file.

30 years ago * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000
Jeff Law [Fri, 17 Jun 1994 04:50:29 +0000 (04:50 +0000)]
* scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000
when generating relocatable objects.

30 years agodeleted code for keep-v9 that does nothing useful
Ken Raeburn [Fri, 17 Jun 1994 00:52:10 +0000 (00:52 +0000)]
deleted code for keep-v9 that does nothing useful

30 years agounsanitize v9
Ken Raeburn [Fri, 17 Jun 1994 00:51:16 +0000 (00:51 +0000)]
unsanitize v9

30 years agounsanitize v9
Ken Raeburn [Fri, 17 Jun 1994 00:25:18 +0000 (00:25 +0000)]
unsanitize v9

30 years agofolding v9 change log in; stop sanitizing configure.in
Ken Raeburn [Thu, 16 Jun 1994 23:06:58 +0000 (23:06 +0000)]
folding v9 change log in; stop sanitizing configure.in

30 years ago * fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined,
Stan Shebs [Thu, 16 Jun 1994 23:04:55 +0000 (23:04 +0000)]
* fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined,
call it instead of doing normal loop.
* infcmd.c (attach_command): Don't call wait_for_inferior if
running Mach 3.
* infrun.c (proceed) [PREPARE_TO_PROCEED]: If defined, call
hook that can decide whether to step over the next breakpoint.
* utils.c (wrap_here): Abort if wrap_buffer not allocated.
(request_quit) [REQUEST_QUIT]: If defined, call it instead of
doing normal quit.

* Makefile.in (stop-gdb): New target.
* stop-gdb.c: New file, utility to get attention of waiting GDBs
in Mach 3.

30 years ago * configure.in: Improve sorting/formatting of hosts and targets.
Stan Shebs [Thu, 16 Jun 1994 22:02:24 +0000 (22:02 +0000)]
* configure.in: Improve sorting/formatting of hosts and targets.
(i[34]86-*-mach3*, i[34]86-*-osf1mk*, mips-*-mach3*,
m88*-*-mach3*, ns32k-*-mach3*): Recognize.
* Makefile.in (gdb-stop): New target.
* gdb-stop.c: New file, utility to gets attention of waiting GDBs
in Mach 3.

30 years ago * configure.in: Set UNDERSCORE in Makefile based on result of
Ian Lance Taylor [Thu, 16 Jun 1994 21:59:41 +0000 (21:59 +0000)]
* configure.in: Set UNDERSCORE in Makefile based on result of
invoking config.bfd with a second argument of ``_''.
* Makefile.in (underscore.c): Depend upon Makefile.  Don't try to
run $(CC) and $(NM), just use $(UNDERSCORE).  Create via temporary
file.
(demangle.o): Remove target.
($(NM_PROG)): Don't depend upon demangle.o, and don't link against
demangle.o.  It's in libiberty anyhow.
(cplus-dem.o): Don't depend upon demangle.o.
* binutils.texi: Mention -n and --no-strip-underscores arguments
to c++filt.

30 years ago * config.bfd: If second argument is ``_'', then, instead of
Ian Lance Taylor [Thu, 16 Jun 1994 21:58:48 +0000 (21:58 +0000)]
* config.bfd: If second argument is ``_'', then, instead of
echoing config file name, echo whether target uses leading
underscores on symbol names.  Add appropriate settings to
different cases.  Used by binutils/configure.in to set default for
c++filt.

30 years agoKeep v9 bits now.
Stan Shebs [Thu, 16 Jun 1994 21:18:05 +0000 (21:18 +0000)]
Keep v9 bits now.

30 years agov9 unsanitization
Ken Raeburn [Thu, 16 Jun 1994 21:04:02 +0000 (21:04 +0000)]
v9 unsanitization

30 years agokeep makefile.dos
Ken Raeburn [Thu, 16 Jun 1994 20:27:39 +0000 (20:27 +0000)]
keep makefile.dos

30 years ago * lexsup.c (parse_args): Add -shared to longopts, and handle it.
Ian Lance Taylor [Thu, 16 Jun 1994 19:32:07 +0000 (19:32 +0000)]
* lexsup.c (parse_args): Add -shared to longopts, and handle it.
* ldmain.c (main): Initialize link_info.shared to false.  Give
error if link_info.relocateable and link_info.shared are both set.

30 years ago * elfcode.h (elf_bfd_final_link): If trying to generate a shared
Ian Lance Taylor [Thu, 16 Jun 1994 19:30:49 +0000 (19:30 +0000)]
* elfcode.h (elf_bfd_final_link): If trying to generate a shared
object, warn and return false.

30 years ago * bfdlink.h (struct bfd_link_info): Add new field shared.
Ian Lance Taylor [Thu, 16 Jun 1994 19:29:26 +0000 (19:29 +0000)]
* bfdlink.h (struct bfd_link_info): Add new field shared.

30 years ago * configure.in: If EMUL_EXTRA* is defined in a config file, treat
Ian Lance Taylor [Thu, 16 Jun 1994 19:11:03 +0000 (19:11 +0000)]
* configure.in: If EMUL_EXTRA* is defined in a config file, treat
it as naming an emulation to be added to EMULATION_OFILES.
* config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386.

30 years ago * Makefile.in: Rebuilt dependencies.
Ian Lance Taylor [Thu, 16 Jun 1994 19:01:48 +0000 (19:01 +0000)]
* Makefile.in: Rebuilt dependencies.
(ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o,
eelf64_sparc.o.  Remove $(OTHER_EMULATIONS).
(ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets.
* config/i386-linux.mt (OTHER_EMULATIONS): Don't define.
(ei386linux.c): Remove; now in Makefile.in.
* config/i386-lynx.mt (OTHER_EMULATIONS): Don't define.
* config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define.
* config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define.
* config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define.
(eelf64_sparc.c): Remove; now in Makefile.in.
* config/sun4sol2.mt (OTHER_EMULATIONS): Don't define.
(eelf32_sparc.c): Remove; now in Makefile.in.

30 years agoThu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com)
Ian Lance Taylor [Thu, 16 Jun 1994 18:36:40 +0000 (18:36 +0000)]
Thu Jun 16 14:25:22 1994  Eric Youngdale  (ericy@cais.cais.com)

* emultempl/linux.em: New file providing support for linking
against Linux shared libraries.
* config/i386-linux.mt (ei386linux.c): Depend upon linux.em.
* emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux.

30 years agoThu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com)
Ian Lance Taylor [Thu, 16 Jun 1994 18:29:21 +0000 (18:29 +0000)]
Thu Jun 16 14:25:22 1994  Eric Youngdale  (ericy@cais.cais.com)

* i386linux.c: Many new functions and definitions for linker
support for Linux shared libraries.
* bfd-in.h (bfd_linux_size_dynamic_sections): Declare.
* bfd-in2.h: Rebuild.

30 years ago * aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
Ian Lance Taylor [Thu, 16 Jun 1994 18:25:00 +0000 (18:25 +0000)]
* aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objects
and treat them as OMAGIC.

30 years ago * aout64.h (BMAGIC): Define.
Ian Lance Taylor [Thu, 16 Jun 1994 18:24:14 +0000 (18:24 +0000)]
* aout64.h (BMAGIC): Define.

30 years ago * ldexp.c (exp_print_tree): Don't crash if etree_rel section has
Ian Lance Taylor [Thu, 16 Jun 1994 16:32:03 +0000 (16:32 +0000)]
* ldexp.c (exp_print_tree): Don't crash if etree_rel section has
no owner--it might be bfd_abs_section.  From Eric Youngdale
<ericy@cais.cais.com>.

30 years ago * scripttempl/aout.sc: Let sections align to their natural
Ian Lance Taylor [Thu, 16 Jun 1994 16:23:19 +0000 (16:23 +0000)]
* scripttempl/aout.sc: Let sections align to their natural
boundaries.

30 years ago* as.c (parse_args): Cast xmalloc return value.
Ken Raeburn [Thu, 16 Jun 1994 01:08:16 +0000 (01:08 +0000)]
* as.c (parse_args): Cast xmalloc return value.

30 years agov9, vms changes and some stuff i checked in recently but didn't log
Ken Raeburn [Thu, 16 Jun 1994 01:04:00 +0000 (01:04 +0000)]
v9, vms changes and some stuff i checked in recently but didn't log

30 years agoWed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Thu, 16 Jun 1994 01:03:01 +0000 (01:03 +0000)]
Wed Jun 15 17:36:07 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_.
(top.c.o, annotate.c.o): Add build rules.
* macgdb.r (SysTypes.r): Include.
('vers'): New resource, version info.
(mFile, mEdit, mDebug): Enable all menu items.
(mDebug): Add key equivalents for continue, step, next.
(wConsole): Add zoom and close boxes to window.
* mac-xdep.c (new_console_window): New function, code taken from
mac_init.
(mac_command_loop): Use GetCaretTime for wait interval, call
do_idle on null events.
(do_idle): New function.
(zoom_window): Implement zooming.
(v_scroll_proc): New function, handles vertical scrolling.
(activate_window): Do activation of console window.
(do_menu_command): Implement items of file, edit, and debug menus.
(do_keyboard_command): Fix command extraction.
(adjust_console_sizes, adjust_console_text): New functions.
(hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc,
hacked_putc): Don't call draw_console.
* ser-mac.c (mac_open): Add an error message for invalid ports.
(first_mac_write): New global.
(mac_write): Use first_mac_write to sleep on first several writes.

30 years ago Fri Jun 3 17:25:08 1994 Pat Rankin (rankin@eql.caltech.edu)
Ken Raeburn [Thu, 16 Jun 1994 01:02:18 +0000 (01:02 +0000)]
Fri Jun  3 17:25:08 1994  Pat Rankin  (rankin@eql.caltech.edu)

* config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define
these new VMS symbol-type macros for `complex float' and
`complex double' support.  Their values come from the existing
DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in <descrip.h>.
(DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of
REAL8 and COMPLX8; not used yet, because gcc outputs the same
.stabs for `double' regardless of whether `-mg' is used.
config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
for gcc2's predefined types "complex float", "complex double",
and "complex long double" (identical to complex double).

30 years agoFor sparc64 target, use sparc cpu files and add sparcv9 to extra_defs. No
Ken Raeburn [Thu, 16 Jun 1994 00:49:06 +0000 (00:49 +0000)]
For sparc64 target, use sparc cpu files and add sparcv9 to extra_defs.  No
longer treat sparc64-*-aout* specially.

30 years ago(config-stamp): If $(defs) contains multiple words, emit a #define line for
Ken Raeburn [Thu, 16 Jun 1994 00:46:20 +0000 (00:46 +0000)]
(config-stamp): If $(defs) contains multiple words, emit a #define line for
each.

30 years agosparc v9 unsanitization
Ken Raeburn [Thu, 16 Jun 1994 00:36:48 +0000 (00:36 +0000)]
sparc v9 unsanitization

30 years ago * libelf.h (struct elf_obj_tdata): New field dt_needed_name.
Ian Lance Taylor [Thu, 16 Jun 1994 00:01:32 +0000 (00:01 +0000)]
* libelf.h (struct elf_obj_tdata): New field dt_needed_name.
(elf_dt_needed_name): New accessor macro.
* elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name
is set, use that instead of the filename for the DT_NEEDED dynamic
entry.
* elf.c (bfd_elf_set_dt_needed_name): New function.
* bfd-in.h (bfd_elf_set_dt_needed_name): Declare.
* bfd-in2.h: Rebuilt.

30 years ago * ldemul.h (ldemul_open_dynamic_archive): Declare.
Ian Lance Taylor [Wed, 15 Jun 1994 23:49:01 +0000 (23:49 +0000)]
* ldemul.h (ldemul_open_dynamic_archive): Declare.
(ld_emulation_xfer_type): Add new field open_dynamic_archive.
* ldemul.c: Include ldexp.h and ldlang.h.
(ldemul_open_dynamic_archive): New function.
* ldfile.h (ldfile_open_file_search): Declare.
* ldfile.c: Include ldemul.h.
(try_open_bfd): Rename from cache_bfd_openr.  Return boolean
argument, not bfd *.  Change all callers.
(ldfile_open_file_search): Rename from open_a.  Return boolean
argument, not bfd *.  Clean up.  Change all callers.
(ldfile_open_file): If doing a dynamic link, call
ldemul_open_dynamic_archive rather than assuming the extension of
a dynamic object is ".so".
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
New function.
(ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive
field.
* emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise.

30 years agocomment on v9 stuff
Ken Raeburn [Wed, 15 Jun 1994 23:27:54 +0000 (23:27 +0000)]
comment on v9 stuff

30 years agoadded elf64-sparc.*
Ken Raeburn [Wed, 15 Jun 1994 22:55:16 +0000 (22:55 +0000)]
added elf64-sparc.*

30 years agounsanitizing v9
Ken Raeburn [Wed, 15 Jun 1994 22:41:46 +0000 (22:41 +0000)]
unsanitizing v9

30 years agoregenerated (unsanitize v9)
Ken Raeburn [Wed, 15 Jun 1994 22:40:59 +0000 (22:40 +0000)]
regenerated (unsanitize v9)

30 years agounsanitize v9
Ken Raeburn [Wed, 15 Jun 1994 22:31:16 +0000 (22:31 +0000)]
unsanitize v9

30 years agounsanitize v9
Ken Raeburn [Wed, 15 Jun 1994 22:10:50 +0000 (22:10 +0000)]
unsanitize v9

30 years agoTweak v9 support to ready it for release.
Ken Raeburn [Wed, 15 Jun 1994 22:05:40 +0000 (22:05 +0000)]
Tweak v9 support to ready it for release.