aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-02-06 * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on aIan Lance Taylor2-0/+4
*-*-hpux* host.
1996-02-06 * Makefile.in (program_transform_name): New variable.Ian Lance Taylor2-6/+14
(install): Transform library name before installing it.
1996-02-06 From Michael_Snyder@NeXT.COM (Michael Snyder):Steve Chamberlain1-0/+6
* valops.c (value_arg_coerce): Coerce float to double, unless the function prototype specifies float.
1996-02-05 * archures.c (bfd_mach_i960_hx): Define.Ian Lance Taylor5-42/+54
* 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.
1996-02-05 * i960-dis.c (mem): Add HX dcinva instruction.Ian Lance Taylor1-0/+7
(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
1996-02-05 * config/tc-i960.c (ARCH_HX): Define.Ian Lance Taylor2-32/+66
(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.
1996-02-05 * i960.h (I_HX, I_HX2): Define.Ian Lance Taylor2-0/+519
start-sanitize-i960xl (I_XL): Remove. The HX supports all XL instructions. end-sanitize-i960xl (i960_opcodes): Add HX instructions.
1996-02-05 * i960.h (F_I960HX): Define.Ian Lance Taylor2-0/+257
1996-02-05tipoIan Lance Taylor2-2/+2
1996-02-05 * configure.in: If --enable-shared was used, set SET_LIB_PATH toIan Lance Taylor1-0/+9
$(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.
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor2-2/+11
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).
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+19
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.
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+22
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.
1996-02-05 Support for building as a shared library, based on patches fromIan Lance Taylor4-27/+244
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.
1996-02-05 Support for building as a shared library, based on patches fromIan Lance Taylor5-65/+341
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.
1996-02-05 * language.c (set_language_command): Use languages table whenTom Tromey2-17/+38
printing available languages.
1996-02-05 * libcoff-in.h: Add comment reminding people that libcoff.h is aIan Lance Taylor1-0/+4
generated file. * libcoff.h: Rebuild.
1996-02-05 * elf32-mips.c (mips_elf_create_dynamic_sections): ClearIan Lance Taylor1-0/+27
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.
1996-02-05 * elflink.h (elf_adjust_dynamic_symbol): Don't try to get theIan Lance Taylor1-2/+3
flavour of a section with no owner.
1996-02-04 * coffcode.h: Move today's libcoff.h change into coffcode.h.Ian Lance Taylor1-3/+7
1996-02-03 * libcoff.h (bfd_coff_link_add_one_symbol): Combine macro args back intoFred Fish2-2/+7
one line. Some compilers (sunos 4.1.3 for example) won't accept args split across more than one line.
1996-02-03 * command.c (add_cmd): Add missing initialization for enums member.Fred Fish1-8/+9
Reorder members to match structure declaration to make it easier to tell when one is missing.
1996-02-03 * exec.c (exec_file_command): Fix problem reported by Hans VerkuilFred Fish1-0/+6
(hans@wyst.hobby.nl) where filename in malloc'd memory is referenced after being freed.
1996-02-03Winsup needs libibertyMichael Meissner1-0/+4
1996-02-03 * dwarfread.c (read_func_scope): Avoid GDB core dumps ifPeter Schauer4-3/+37
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.
1996-02-03Move .sdata2/.sbss2 into read-only sectionMichael Meissner1-10/+42
1996-02-02Fix typoMichael Meissner2-1/+5
1996-02-02 * configure: Regenerate.Ian Lance Taylor2-0/+8
1996-02-02 Spell off correctly.Steve Chamberlain1-1/+1
1996-02-02 * win32-nat.c (mappings): Add ppc registers.Steve Chamberlain2-3/+97
(child_resume): Turn of step for ppc.
1996-02-02 * aclocal.m4 (BFD_BINARY_FOPEN): Understand cygwin32.Steve Chamberlain1-0/+5
* configure: Regenerate.
1996-02-02 * elf32-hppa.c (elf32_hppa_backend_symbol_table_processing): Don'tJeff Law1-0/+5
try to do arithmetic on a void *, cast it to a unsigned char * first. Some solaris compilers don't like void * arithmetic.
1996-02-02Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+4
* Makefile.in (INSTALL_XFORM): Remove -e.
1996-02-02 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON ratherIan Lance Taylor3-0/+50
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.
1996-02-02 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).Jeff Law2-17/+72
Load libgloss.exp.
1996-02-02 * gdb.disasm/hppa.exp: Compile directly into an executable, useJeff Law1-0/+5
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).
1996-02-02Changes to configure.in so that -gm-magic targets won't build libglossGeoffrey Noer2-0/+12
anymore.
1996-02-01 * mpw-mh-mpw (CC_MWC68K): Add options similar to those usedStan Shebs1-3/+15
in CC_MWCPPC, and -mc68020 -model far. (AR_MWLINK68K): Add -xm library. (AR_AR): Define. (CC_LD_MWLINK68K): Remove -d. (EXTRALIBS_MWC68K): Define.
1996-02-01 * elf-bfd.h (ELF_LINK_NON_ELF): Define.Ian Lance Taylor3-1/+49
* 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.
1996-02-01 * configure: Regenerate with autoconf 2.7.Steve Chamberlain1-39/+183
1996-02-01 * Makefile.in (bfd-in2.h): Make bfd.h, not protos, in docdir.Ian Lance Taylor1-0/+3
(libbfd.h, libcoff.h): Corresponding change.
1996-02-01 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.Ian Lance Taylor3-18/+29
* config/obj-bout.h (S_IS_LOCAL): Likewise.
1996-02-01 * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol withIan Lance Taylor1-0/+9
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.
1996-02-01 * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,Ian Lance Taylor1-0/+3
for SVR4 compatibility. PR 8794.
1996-02-01 * mpw-configure (extralibs_name, rez_name): Set correctlyStan Shebs1-0/+7
for MWC68K compiler. * mpw-README: Add more info on the necessary build tools.
1996-02-01 * configure.in: Make sure we only add m68k-parse.o toIan Lance Taylor1-0/+7
${extra_objects} once, no matter how many m68k targets have been enabled. * configure: Rebuild.
1996-02-01 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,Steve Chamberlain14-331/+220
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.
1996-02-01 * configure.in, config.sub: Recognize cygwin32.Steve Chamberlain2-8/+18
1996-02-01 * configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.Steve Chamberlain2-3/+9
(powerpc*-*-cygwin32): New. * configure: Regenerated.
1996-02-01 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.Jeff Law1-0/+4