Michael Meissner [Mon, 12 Feb 1996 22:17:39 +0000 (22:17 +0000)]
Undef PPC before use
Fred Fish [Mon, 12 Feb 1996 22:13:18 +0000 (22:13 +0000)]
* somsolib.c (som_solib_add): Use xmalloc rather than bare
unchecked call to malloc.
* remote-mips.c (pmon_load_fast): ditto.
* remote-mm.c (mm_open): ditto.
* hpread.c (hpread_lookup_type): ditto.
* remote-adapt.c (adapt_open): ditto.
Per Bothner [Mon, 12 Feb 1996 21:04:11 +0000 (21:04 +0000)]
Merge from FSF.
Fred Fish [Mon, 12 Feb 1996 21:03:12 +0000 (21:03 +0000)]
* f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
allocate_saved_f77_common_node, allocate_common_entry_node,
add_common_block): Use xmalloc rather than malloc, some of which
were unchecked.
* gnu-regex.c: At same point as other gdb specific changes
#undef malloc and then #define it to xmalloc.
* ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
bare unchecked calls to malloc/realloc.
* stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
unchecked call to malloc.
Ian Lance Taylor [Mon, 12 Feb 1996 20:41:58 +0000 (20:41 +0000)]
* app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
comment character.
Ian Lance Taylor [Mon, 12 Feb 1996 20:33:06 +0000 (20:33 +0000)]
Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
* config/m68k-parse.h (enum pic_relocation): Define.
(struct m68k_exp): Add pic_reloc field.
* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
(tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
(NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
otherwise.
* config/tc-m68k.c: Delete definition of NO_RELOC.
(struct m68k_it): Add pic_reloc field.
(add_fix): Copy over pic_reloc field.
(md_pseudo_table): Interpret .align parameter as byte count.
(mote_pseudo_table): Likewise.
(tc_m68k_fix_adjustable): New function.
(get_reloc_code): New function.
(md_assemble): Use it as last argument to fix_new_exp.
(md_apply_fix_2): For a relocation against a symbol don't put the
addend into the data.
(tc_gen_reloc): Different addend computation for OBJ_ELF.
(m68k_ip): Don't relax an operand that requires pic relocation.
(md_begin): Align .text, .data and .bss on 4 byte boundary by
default.
* write.c (fixup_segment): Don't add symbol value to addend if
TC_M68K and OBJ_ELF.
* config/m68k-parse.y (yylex): Handle @PLTPC, etc.
(motorola_operand): Add rule for `(zapc, EXPR)'.
Ian Lance Taylor [Mon, 12 Feb 1996 19:54:37 +0000 (19:54 +0000)]
Mon Feb 12 14:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* mh-m68kpic, mt-m68kpic: New files.
Ian Lance Taylor [Mon, 12 Feb 1996 19:41:47 +0000 (19:41 +0000)]
* ieee.c: Extensive changes to write code to put types in the
global type block when possible, to output ranges for all memory
occupied by the module, and to improve efficiency.
Ian Lance Taylor [Mon, 12 Feb 1996 19:41:09 +0000 (19:41 +0000)]
* debug.c (struct debug_handle): Remove class_mark field. Add
id_list and compare_list fields.
(struct debug_class_id): Define.
(struct debug_type_compare_list): Define.
(debug_write): Initialize info->id_list
(debug_write_name): Remove reference to info->class_mark.
(debug_write_type): Get id for all structs and classes. Simplify
test for whether struct has already been written.
(debug_write_class_type): Get id for all classes. Simplify test
for whether class has already been written.
(debug_write_block): Don't write out blocks other than the top
level block if they have no local variables.
(debug_set_class_id): New static function.
(debug_type_samep): New static function.
(debug_class_type_samep): New static function.
* prdbg.c (pr_start_struct_type): Always print id.
(pr_start_class_type): Likewise.
(pr_tag_type): Likewise.
Ian Lance Taylor [Mon, 12 Feb 1996 15:08:04 +0000 (15:08 +0000)]
Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
* ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
*really* is permissible before the comma.
Ian Lance Taylor [Mon, 12 Feb 1996 05:12:40 +0000 (05:12 +0000)]
* config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
inserting nop instructions.
PR 8974.
Peter Schauer [Sat, 10 Feb 1996 11:30:35 +0000 (11:30 +0000)]
* gdb.texinfo (Print settings): Document
`set/show print static-members' commands.
Fred Fish [Fri, 9 Feb 1996 22:55:37 +0000 (22:55 +0000)]
* configure.in (CY_AC_PATH_TCLH): Remove.
* configure: Regenerate.
Ian Lance Taylor [Fri, 9 Feb 1996 15:55:06 +0000 (15:55 +0000)]
* config/te-aux.h: Change include of aux.h to aux-coff.h.
Ian Lance Taylor [Fri, 9 Feb 1996 15:53:53 +0000 (15:53 +0000)]
* coff-aux.c: Change include of aux.h was to aux-coff.h.
Ian Lance Taylor [Fri, 9 Feb 1996 15:53:40 +0000 (15:53 +0000)]
* aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS
systems which think that aux is a com port.
Fred Fish [Fri, 9 Feb 1996 15:23:30 +0000 (15:23 +0000)]
* Makefile.in (clean): Add missing '{'.
Fred Fish [Fri, 9 Feb 1996 15:23:05 +0000 (15:23 +0000)]
* gdb.c++/Makefile.in (clean): Add missing '{'.
Ian Lance Taylor [Fri, 9 Feb 1996 01:29:59 +0000 (01:29 +0000)]
* config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
class setting for a CALLNAME symbol in COFF.
Ian Lance Taylor [Fri, 9 Feb 1996 01:04:21 +0000 (01:04 +0000)]
* read.c (potable): Pass negative numbers for new .balign[wl] and
.p2align[wl] pseudo-ops.
(s_align_bytes): Treat a negative argument as specifying the fill
length.
(s_align_ptwo): Likewise.
Ian Lance Taylor [Fri, 9 Feb 1996 00:26:56 +0000 (00:26 +0000)]
* ldlang.c (lang_size_sections): Increment the section size when a
padding statement is encountered.
PR 8965.
Brendan Kehoe [Thu, 8 Feb 1996 23:41:30 +0000 (23:41 +0000)]
actually sed off the X in the OSF1 version
Brendan Kehoe [Thu, 8 Feb 1996 23:38:33 +0000 (23:38 +0000)]
* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version.
Ian Lance Taylor [Thu, 8 Feb 1996 19:07:20 +0000 (19:07 +0000)]
Thu Feb 8 14:01:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf32-m68k.c (elf_m68k_relocate_section): For a R_68K_RELATIVE
relocation put the addend both in the reloc entry and the data.
(elf_m68k_finish_dynamic_symbol): Likewise. Mask out marker in
GOT offset value.
* elf32-m68k.c (elf_m68k_relocate_section): If -Bsymbolic, resolve
a R_68K_PCxx reloc against a defined global symbol directly.
(elf_m68k_check_relocs): Don't count such a reloc.
* elf32-m68k.c (elf_m68k_check_relocs): Don't record a symbol with
a PLTxx reloc as dynamic. Disallow PLTxxO reloc against a local
symbol for now, otherwise always record the symbol as dynamic.
(elf_m68k_adjust_dynamic_symbol): If a symbol with a PLTxx reloc
is not referenced by a dynamic object, and we are not making a
shared object, then don't make a PLT entry. If we do make a PLT
entry, make sure the symbol has been recorded as dynamic.
Ian Lance Taylor [Thu, 8 Feb 1996 00:22:02 +0000 (00:22 +0000)]
* read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
(do_align): Take new len parameter. Change all callers. Pass it
to md_do_align.
(s_align_bytes): Arg now indicates the length of the fill pattern.
(s_align_ptwo): Likewise.
* config/obj-coff.c (write_object_file): Pass length to
md_do_align.
* config/tc-i386.h (md_do_align): Take new len parameter.
* config/tc-m88k.h (md_do_align): Likewise.
* config/tc-m88k.c (m88k_do_align): Likewise.
* config/tc-sh.h (md_do_align): Likewise.
* config/tc-sh.c (sh_do_align): Likewise.
* doc/as.texinfo: Document new pseudo-ops.
* config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
done in cvt_frag_to_fill.
PR 8974.
Ian Lance Taylor [Wed, 7 Feb 1996 22:00:28 +0000 (22:00 +0000)]
* config/tc-sh.h (sh_do_align): Declare.
(md_do_align): Define.
* config/tc-sh.c (sh_do_align): New function.
PR 8974.
Ian Lance Taylor [Wed, 7 Feb 1996 20:20:56 +0000 (20:20 +0000)]
* ecoff.c (ecoff_build_lineno): Don't try to store the address
difference if the next address is before the current one.
Ian Lance Taylor [Wed, 7 Feb 1996 19:36:48 +0000 (19:36 +0000)]
update copyrights
Stu Grossman [Wed, 7 Feb 1996 19:35:38 +0000 (19:35 +0000)]
* symtab.c (gdb_mangle_name): Change opname var to be const to
match return val of cplus_mangle_name.
* i960-tdep.c: Change arg types of next_insn to match callers.
Ian Lance Taylor [Wed, 7 Feb 1996 19:35:15 +0000 (19:35 +0000)]
* config/tc-m68k.c (struct m68k_cpu): Add alias field.
(archs): Initialize new field.
(m68k_ip): Don't list alias names when listing CPUs which support
an instruction.
Ian Lance Taylor [Wed, 7 Feb 1996 19:34:29 +0000 (19:34 +0000)]
* as.c (main): Call parse_args before read_begin.
* app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
front of generated pseudo-ops.
* read.c (potable): Ignore "name".
(s_app_file): Permit a single quote after the string, since one
may appear in m68k MRI mode.
Ian Lance Taylor [Wed, 7 Feb 1996 19:20:35 +0000 (19:20 +0000)]
* ieee.c (ieee_start_compilation_unit): Clear modified and
modified_alloc fields of info.
Ian Lance Taylor [Wed, 7 Feb 1996 19:19:22 +0000 (19:19 +0000)]
* configure.in: Check for --enable-shared. Substitute new
variables BFDLIB and OPCODES.
* configure: Rebuild.
* Makefile.in (BFDLIB): Set to @BFDLIB@.
(OPCODES): Set to @OPCODES@.
Ian Lance Taylor [Wed, 7 Feb 1996 19:13:20 +0000 (19:13 +0000)]
* configure.in: Check for --enable-shared. If linking against
shared BFD and opcodes, fix library name on SunOS, and try to set
-rpath reasonably.
* configure: Rebuild.
Ian Lance Taylor [Wed, 7 Feb 1996 19:08:04 +0000 (19:08 +0000)]
* configure.in: Don't set CC. Look for --enable-shared. Set
BFDLIB and HLDFLAGS and substitute them.
* configure: Rebuild.
* Makefile.in (LIBS): Use @BFDLIB@.
(HLDFLAGS): New variable.
(gprof): Use $(HLDFLAGS).
Ian Lance Taylor [Wed, 7 Feb 1996 19:03:38 +0000 (19:03 +0000)]
* configure.in: Look for --enable-shared. Change the value of
BFDLIB when linking against a shared library on SunOS.
* configure: Rebuild.
* configure.host: If using a shared BFD library, try to pass a
reasonable -rpath option when linking.
* Makefile.in (BFDLIB): Set to @BFDLIB@.
Ian Lance Taylor [Wed, 7 Feb 1996 19:00:52 +0000 (19:00 +0000)]
* Makefile.in (SONAME): New variable.
($(SHLINK)): Make a link to the transformed name, as well.
(stamp-tshlink): New target.
(install): Skip stamp-tshlink during install.
Ian Lance Taylor [Wed, 7 Feb 1996 18:59:11 +0000 (18:59 +0000)]
* configure.host: When making a shared library, set HLDFLAGS to
pass an appropriate -rpath option. Use the make variable SONAME
as the shared library soname, rather than computing it here. On
SunOS, build stamp-tshlink in place of $(SHLINK).
* Makefile.in (SONAME): New variable.
($(SHLINK)): Make a link to the transformed name, as well.
(stamp-tshlink): New target.
(install): Skip stamp-tshlink during install.
Michael Meissner [Wed, 7 Feb 1996 18:41:52 +0000 (18:41 +0000)]
Fix WRS bug where -Ttext 0x10000 left first program header invalid
Tom Tromey [Wed, 7 Feb 1996 17:44:58 +0000 (17:44 +0000)]
* gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
double-clicking will work again.
(create_asm_win): Put "break" at end of all B1 bindings.
(create_file_win): Lower "sel" tag, don't raise it.
(ensure_line_visible): New proc.
(update_listing, update_assembly): Use it.
(create_copyright_window): Destroy window on Leave event.
(create_command_window): Put "break" at end of all B2 bindings.
Fred Fish [Wed, 7 Feb 1996 15:38:24 +0000 (15:38 +0000)]
* config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
apparently aren't needed in any reasonably recent version of
linux.
Per Bothner [Wed, 7 Feb 1996 05:54:17 +0000 (05:54 +0000)]
* pr-8894.exp, pr-8894.ch, pr-8894-grt.ch: New test case.
Per Bothner [Wed, 7 Feb 1996 05:43:04 +0000 (05:43 +0000)]
* stabsread.c (read_range_type): If !self-subrange and language
is Chill, assume a true range. If a true_range is a sub_subrange,
use builtin_type_int for index_type.
This is for PR chill/8894.
J.T. Conklin [Tue, 6 Feb 1996 22:19:05 +0000 (22:19 +0000)]
* configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c.
don't define TRAD_HEADER.
* configure: Rebuild.
* netbsd-core.c: New file, support for NetBSD core files.
* hosts/*nbsd.h: Removed.
David Edelsohn [Tue, 6 Feb 1996 20:23:08 +0000 (20:23 +0000)]
* reloc.c (BFD_RELOC_SPARC_[567]): New reloc types.
(BFD_RELOC_SPARC_LO7 reloc type): Deleted.
* libbfd.h, bfd-in2.h: Regenerated.
* elf32-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Renamed from
bfd_elf32_bfd_reloc_type_lookup.
(reloc_type{,_names}): Deleted.
(_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table.
Add sparc64 relocs.
(sparc_reloc_map): Add sparc64 relocs.
(sparc_elf_notsupported_reloc): New static function.
(sparc_elf_wdisp16_reloc): New static function.
(elf32_sparc_check_relocs): Handle R_SPARC_WDISP{16,19}.
(elf32_sparc_relocate_section): Likewise.
(bfd_elf32_bfd_reloc_type_lookup): Define.
* elf64-sparc.c (sparc64_elf_wdisp16_reloc): Deleted.
(reloc_type{,_names}): Deleted.
(elf_sparc_howto_table): Deleted.
(sparc_reloc_map): Deleted.
(_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table.
(bfd_elf64_bfd_reloc_type_lookup): Change from function to #define.
Ian Lance Taylor [Tue, 6 Feb 1996 19:15:26 +0000 (19:15 +0000)]
Rename XL to JX, and remove sanitization.
Ian Lance Taylor [Tue, 6 Feb 1996 19:10:04 +0000 (19:10 +0000)]
Rename XL to JX, and remove sanitization.
Ian Lance Taylor [Tue, 6 Feb 1996 17:34:18 +0000 (17:34 +0000)]
* configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a
*-*-hpux* host.
Ian Lance Taylor [Tue, 6 Feb 1996 17:27:44 +0000 (17:27 +0000)]
* Makefile.in (program_transform_name): New variable.
(install): Transform library name before installing it.
Steve Chamberlain [Tue, 6 Feb 1996 02:49:52 +0000 (02:49 +0000)]
From Michael_Snyder@NeXT.COM (Michael Snyder):
* valops.c (value_arg_coerce): Coerce float to double, unless the
function prototype specifies float.
Ian Lance Taylor [Mon, 5 Feb 1996 23:57:39 +0000 (23:57 +0000)]
* archures.c (bfd_mach_i960_hx): Define.
* bfd-in2.h: Rebuild.
* cpu-i960.c (scan_960_mach): Accept machine "hx".
(MATRIX): Expand entries for HX.
(arch_info_struct): Add i960:hx entry.
* bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx.
* coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX.
(coff_set_flags): Handle bfd_mach_i960_hx.
Ian Lance Taylor [Mon, 5 Feb 1996 23:54:25 +0000 (23:54 +0000)]
* i960-dis.c (mem): Add HX dcinva instruction.
(reg): Add HX instructions.
start-sanitize-i960xl
The HX instructions are the XL instructions, so this just involves
arranges for them to not be sanitized.
end-sanitize-i960xl
Ian Lance Taylor [Mon, 5 Feb 1996 23:52:42 +0000 (23:52 +0000)]
* config/tc-i960.c (ARCH_HX): Define.
(arch_tab): Add HX.
(targ_has_sfr): Handle ARCH_HX.
(targ_has_iclass): Handle ARCH_HX.
(tc_coff_fix2rtype): Add return 0 to avoid warning.
(tc_headers_hook): If the architecture was specified explicitly,
use it when setting the flags. Set the extern variable coff_flags
rather than headers->filehdr.f_flags, since the latter is set
unconditionally in obj-coff.c.
(i960_handle_align): Remove unused variable fixp.
Ian Lance Taylor [Mon, 5 Feb 1996 23:37:25 +0000 (23:37 +0000)]
* i960.h (I_HX, I_HX2): Define.
start-sanitize-i960xl
(I_XL): Remove. The HX supports all XL instructions.
end-sanitize-i960xl
(i960_opcodes): Add HX instructions.
Ian Lance Taylor [Mon, 5 Feb 1996 23:35:09 +0000 (23:35 +0000)]
* i960.h (F_I960HX): Define.
Ian Lance Taylor [Mon, 5 Feb 1996 23:32:23 +0000 (23:32 +0000)]
tipo
Ian Lance Taylor [Mon, 5 Feb 1996 21:40:24 +0000 (21:40 +0000)]
* configure.in: If --enable-shared was used, set SET_LIB_PATH to
$(REALLY_SET_LIB_PATH) in Makefile.
* Makefile.in (SET_LIB_PATH): New variable.
(REALLY_SET_LIB_PATH): New variable.
($(DO_X)): Use $(SET_LIB_PATH).
(install.all, gcc-no-fixedincludes, $(ALL_MODULES)): Likewise.
($(NATIVE_CHECK_MODULES), $(CROSS_CHECK_MODULES)): Likewise.
($(INSTALL_MODULES), $(CONFIGURE_TARGET_MODULES)): Likewise.
($(ALL_TARGET_MODULES), $(CHECK_TARGET_MODULES)): Likewise.
($(INSTALL_TARGET_MODULES), $(ALL_X11_MODULES)): Likewise.
($(CHECK_X11_MODULES), $(INSTALL_X11_MODULES)): Likewise.
(all-gcc, all-bootstrap, check-gcc, install-gcc): Likewise.
(install-dosrel): Likewise.
(all-opcodes): Depend upon all-libiberty.
Ian Lance Taylor [Mon, 5 Feb 1996 21:35:22 +0000 (21:35 +0000)]
Support for building bfd and opcodes as shared libraries, based on
patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
* Makefile.in (LIBDEPS): New variable.
(LIBS): Use -L../bfd -lbfd.
(gprof): Depend upon $(LIBDEPS) rather than $(LIBS).
Ian Lance Taylor [Mon, 5 Feb 1996 21:32:01 +0000 (21:32 +0000)]
Support for building bfd and opcodes as shared libraries, based on
patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in: Set OPCODES and BFD to search directories.
Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
* configure: Rebuild.
* Makefile.in (LDFLAGS, HLDFLAGS): New variables.
(LIBDEPS): New variable.
(as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
$(HLDFLAGS) in link.
(check): Set LD_LIBRARY_PATH in the environment.
Ian Lance Taylor [Mon, 5 Feb 1996 21:28:15 +0000 (21:28 +0000)]
Support for building bfd and opcodes as shared libraries, based on
patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in (HLDFLAGS): New substitution.
* configure: Rebuild.
* configure.host: Set HLDFLAGS on SunOS.
* Makefile.in (HLDFLAGS): New variable.
(BFDDEP): New variable.
(BFDLIB): Change to -L../bfd -lbfd.
($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use
$(HLDFLAGS) in link.
(check): Set LD_LIBRARY_PATH in the environment.
Ian Lance Taylor [Mon, 5 Feb 1996 21:17:52 +0000 (21:17 +0000)]
Support for building as a shared library, based on patches from
Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
* configure: Rebuild.
* Makefile.in (ALLLIBS): New variable.
(PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
(COMMON_SHLIB, SHLINK): New variables.
(.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
(STAGESTUFF): Remove variable.
(all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
(stamp-piclist, piclist): New targets.
($(SHLIB), $(SHLINK)): New targets.
($(OFILES)): Depend upon stamp-picdir.
(disassemble.o): Build twice if PICFLAG is set.
(MOSTLYCLEAN): Add pic/*.o.
(clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
(distclean): Remove pic and stamp-picdir.
(install): Install shared libraries.
(stamp-picdir): New target.
Ian Lance Taylor [Mon, 5 Feb 1996 21:14:14 +0000 (21:14 +0000)]
Support for building as a shared library, based on patches from
Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
SHLIB_CFLAGS, COMMON_SHLIB, PICLIST, SHLINK.
* configure: Rebuild.
* configure.host: If --enable-shared, adjust shared library stuff
based on the host. If the host is SunOS, and the linker supports
-rpath, set HLDFLAGS to use it.
* Makefile.in (ALLLIBS): New variable.
(PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
(COMMON_SHLIB, SHLINK): New variables.
(.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
(STAGESTUFF): Remove variable.
(all): Depend upon $(ALLLIBS) and @PICLIST@ rather than
$(TARGETLIB).
(stamp-ofiles): New target, like old ofiles target, but build
using a temporary file and move-if-change, and touch stamp-ofiles
when done.
(ofiles): Just depend upon stamp-ofiles.
(stamp-piclist, piclist): New targets.
($(SHLIB), $(SHLINK)): New targets.
(targets.o, archures.o): Build twice if PICFLAG is set.
(do_mostlyclean): Remove pic/*.o.
(do_clean): Remove stamp-ofiles, $(SHLIB), $(SHLINK), piclist, and
stamp-piclist.
(do_distclean): Remove pic and stamp-picdir.
(install): Install shared libraries.
($(OFILES)): Depend upon stamp-picdir.
(stamp-picdir): New target.
Tom Tromey [Mon, 5 Feb 1996 20:50:26 +0000 (20:50 +0000)]
* language.c (set_language_command): Use languages table when
printing available languages.
Ian Lance Taylor [Mon, 5 Feb 1996 16:11:08 +0000 (16:11 +0000)]
* libcoff-in.h: Add comment reminding people that libcoff.h is a
generated file.
* libcoff.h: Rebuild.
Ian Lance Taylor [Mon, 5 Feb 1996 15:48:59 +0000 (15:48 +0000)]
* elf32-mips.c (mips_elf_create_dynamic_sections): Clear
ELF_LINK_NON_ELF flag.
(mips_elf_create_got_section): Likewise.
* elf.c: Revert last change, since it breaks dynamic linking.
* elf-bfd.h (struct elf_backend_data): Remove want_hdr_in_seg
field.
* elf32-mips.c (elf_backend_want_hdr_in_seg): Don't define.
* elfxx-target.h (elf_backend_want_hdr_in_seg): Don't define.
(elfNN_bed): Don't initialize want_hdr_in_seg field.
Ian Lance Taylor [Mon, 5 Feb 1996 15:47:53 +0000 (15:47 +0000)]
* elflink.h (elf_adjust_dynamic_symbol): Don't try to get the
flavour of a section with no owner.
Ian Lance Taylor [Sun, 4 Feb 1996 04:01:36 +0000 (04:01 +0000)]
* coffcode.h: Move today's libcoff.h change into coffcode.h.
Fred Fish [Sat, 3 Feb 1996 23:47:12 +0000 (23:47 +0000)]
* libcoff.h (bfd_coff_link_add_one_symbol): Combine macro args back into
one line. Some compilers (sunos 4.1.3 for example) won't accept args
split across more than one line.
Fred Fish [Sat, 3 Feb 1996 19:39:34 +0000 (19:39 +0000)]
* command.c (add_cmd): Add missing initialization for enums member.
Reorder members to match structure declaration to make it easier to
tell when one is missing.
Fred Fish [Sat, 3 Feb 1996 18:06:12 +0000 (18:06 +0000)]
* exec.c (exec_file_command): Fix problem reported by Hans Verkuil
(hans@wyst.hobby.nl) where filename in malloc'd memory is referenced
after being freed.
Michael Meissner [Sat, 3 Feb 1996 15:46:00 +0000 (15:46 +0000)]
Winsup needs libiberty
Peter Schauer [Sat, 3 Feb 1996 11:32:34 +0000 (11:32 +0000)]
* dwarfread.c (read_func_scope): Avoid GDB core dumps if
AT_name tag is missing.
* procfs.c (procfs_stopped_by_watchpoint): Fix logic when
FLTWATCH and FLTKWATCH are defined.
* remote.c (remote_read_bytes): Advance memaddr for transfers,
return number of bytes transferred for partial reads.
* top.c (init_signals): Reset SIGTRAP to SIG_DFL.
Michael Meissner [Sat, 3 Feb 1996 00:31:03 +0000 (00:31 +0000)]
Move .sdata2/.sbss2 into read-only section
Michael Meissner [Fri, 2 Feb 1996 23:01:14 +0000 (23:01 +0000)]
Fix typo
Ian Lance Taylor [Fri, 2 Feb 1996 21:50:53 +0000 (21:50 +0000)]
* configure: Regenerate.
Steve Chamberlain [Fri, 2 Feb 1996 21:43:15 +0000 (21:43 +0000)]
Spell off correctly.
Steve Chamberlain [Fri, 2 Feb 1996 21:42:12 +0000 (21:42 +0000)]
* win32-nat.c (mappings): Add ppc registers.
(child_resume): Turn of step for ppc.
Steve Chamberlain [Fri, 2 Feb 1996 19:45:14 +0000 (19:45 +0000)]
* aclocal.m4 (BFD_BINARY_FOPEN): Understand cygwin32.
* configure: Regenerate.
Jeff Law [Fri, 2 Feb 1996 19:14:40 +0000 (19:14 +0000)]
* elf32-hppa.c (elf32_hppa_backend_symbol_table_processing): Don't
try to do arithmetic on a void *, cast it to a unsigned char * first.
Some solaris compilers don't like void * arithmetic.
Ian Lance Taylor [Fri, 2 Feb 1996 19:10:33 +0000 (19:10 +0000)]
Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
* Makefile.in (INSTALL_XFORM): Remove -e.
Ian Lance Taylor [Fri, 2 Feb 1996 17:46:05 +0000 (17:46 +0000)]
* write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
than comparing S_GET_SEGMENT to undefined_section.
(write_object_file): Skip symbols which were equated to an
undefined or common symbol.
* symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
S_IS_COMMON rather than comparing S_GET_SEGMENT to
undefined_section.
(S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
or S_IS_COMMON call S_GET_VALUE.
* config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
* config/obj-aout.c (obj_emit_relocations): If a reloc is equated
to an undefined or common symbol, convert the reloc to be against
the target symbol.
(obj_crawl_symbol_chain): Skip symbols which were equated to an
undefined or common symbol.
* config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
* config/obj-bout.c (obj_emit_relocations): If a reloc is equated
to an undefined or common symbol, convert the reloc to be against
the target symbol.
(obj_crawl_symbol_chain): Skip symbols which were equated to an
undefined or common symbol.
* config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
S_IS_COMMON rather than comparing S_GET_SEGMENT to
undefined_section.
(yank_symbols): Skip symbols which were equated to an undefined or
common symbol.
Jeff Law [Fri, 2 Feb 1996 17:20:54 +0000 (17:20 +0000)]
* lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
Load libgloss.exp.
Jeff Law [Fri, 2 Feb 1996 03:22:45 +0000 (03:22 +0000)]
* gdb.disasm/hppa.exp: Compile directly into an executable, use
the executable, not the .o to run the tests from.
Remove a useless step and avoid loading a .o into a target board
(loads into address zero which causes all kinds of problems).
Geoffrey Noer [Fri, 2 Feb 1996 01:07:16 +0000 (01:07 +0000)]
Changes to configure.in so that -gm-magic targets won't build libgloss
anymore.
Stan Shebs [Thu, 1 Feb 1996 23:25:52 +0000 (23:25 +0000)]
* mpw-mh-mpw (CC_MWC68K): Add options similar to those used
in CC_MWCPPC, and -mc68020 -model far.
(AR_MWLINK68K): Add -xm library.
(AR_AR): Define.
(CC_LD_MWLINK68K): Remove -d.
(EXTRALIBS_MWC68K): Define.
Ian Lance Taylor [Thu, 1 Feb 1996 23:15:23 +0000 (23:15 +0000)]
* elf-bfd.h (ELF_LINK_NON_ELF): Define.
* elf.c (_bfd_elf_link_hash_newfunc): Set elf_link_hash_flags to
ELF_LINK_NON_ELF.
* elflink.h (elf_link_add_object_symbols): Reset ELF_LINK_NON_ELF
flag for a newly defined symbol.
(NAME(bfd_elf,record_link_assignment)): Likewise.
(elf_adjust_dynamic_symbol): If ELF_LINK_NON_ELF is set, try to
set the DEF or REF_REGULAR flags correctly.
Steve Chamberlain [Thu, 1 Feb 1996 21:39:44 +0000 (21:39 +0000)]
* configure: Regenerate with autoconf 2.7.
Ian Lance Taylor [Thu, 1 Feb 1996 21:34:29 +0000 (21:34 +0000)]
* Makefile.in (bfd-in2.h): Make bfd.h, not protos, in docdir.
(libbfd.h, libcoff.h): Corresponding change.
Ian Lance Taylor [Thu, 1 Feb 1996 21:24:15 +0000 (21:24 +0000)]
* config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
* config/obj-bout.h (S_IS_LOCAL): Likewise.
Ian Lance Taylor [Thu, 1 Feb 1996 21:05:52 +0000 (21:05 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with
a PLT32 reloc as dynamic.
(elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc
is not referenced by a dynamic object, and we are not making a
shared object, then don't make a PLT entry. If we do make a PLT
entry, make sure the symbol has been recorded as dynamic.
Ian Lance Taylor [Thu, 1 Feb 1996 21:02:03 +0000 (21:02 +0000)]
* emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,
for SVR4 compatibility.
PR 8794.
Stan Shebs [Thu, 1 Feb 1996 20:42:27 +0000 (20:42 +0000)]
* mpw-configure (extralibs_name, rez_name): Set correctly
for MWC68K compiler.
* mpw-README: Add more info on the necessary build tools.
Ian Lance Taylor [Thu, 1 Feb 1996 20:36:23 +0000 (20:36 +0000)]
* configure.in: Make sure we only add m68k-parse.o to
${extra_objects} once, no matter how many m68k targets have been
enabled.
* configure: Rebuild.
Steve Chamberlain [Thu, 1 Feb 1996 18:39:00 +0000 (18:39 +0000)]
* config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
xm-cygwin32.h): New.
* config/i386/(*win32*): Becomes *cygwin32*.
* configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
(powerpcle-*-cygwin32): New.
* configure: Regenerate.
* win32-nat.c (child_create_inferior): Call CreateProcess
with the right program arg.
Steve Chamberlain [Thu, 1 Feb 1996 18:23:56 +0000 (18:23 +0000)]
* configure.in, config.sub: Recognize cygwin32.
Steve Chamberlain [Thu, 1 Feb 1996 18:08:36 +0000 (18:08 +0000)]
* configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
(powerpc*-*-cygwin32): New.
* configure: Regenerated.
Jeff Law [Thu, 1 Feb 1996 18:03:01 +0000 (18:03 +0000)]
* config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
Ian Lance Taylor [Thu, 1 Feb 1996 15:52:04 +0000 (15:52 +0000)]
* ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE.
PR 8909.
Fred Fish [Thu, 1 Feb 1996 04:15:53 +0000 (04:15 +0000)]
* serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
Stan Shebs [Thu, 1 Feb 1996 03:26:15 +0000 (03:26 +0000)]
Name change
This page took 0.041545 seconds and 4 git commands to generate.