aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-10-31Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor2-12/+25
* ecoff.c (ecoff_set_symbol_info): Add new parameter weak. If set, set BSF_WEAK in symbol. Change all callers. (ecoff_get_extr): Set weakext based on BSF_WEAK. (ecoff_link_add_externals): If weakext is set, pass BSF_WEAK to _bfd_generic_link_add_one_symbol. (ecoff_indirect_link_order): Check that the section tdata relocs are not NULL before using them.
1995-10-31Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor5-3/+30
* configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and define TRAD_HEADER as hosts/alphalinux.h. * configure: Rebuild. * hosts/alphalinux.h: New file. * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, not int.
1995-10-31really make import_file staticIan Lance Taylor1-1/+1
1995-10-31Add various switches to control how the simulator is builtMichael Meissner3-26/+546
1995-10-31 * config/tc-ppc.c (ppc_frob_symbol): Set BSF_NOT_AT_END forIan Lance Taylor2-0/+5
symbols with csect aux entries.
1995-10-31 * Makefile.in, configure.in: Make winsup builds work withSteve Chamberlain1-1/+1
new scheme.
1995-10-31 * coffcode.h (coff_slurp_symbol_table): Accept C_BCOMM andIan Lance Taylor2-0/+5
C_ECOMM storage classes.
1995-10-31 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".Ian Lance Taylor2-1/+78
(ppc_stab_symbol): New static variable. (ppc_change_csect): Check that ppc_toc_csect is not NULL. (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set sy_tc.real_name to the stab string. (ppc_bc, ppc_ec): New static functions. (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't do anything. (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a suffix.
1995-10-31Tue Oct 31 10:42:42 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-0/+5
* win32-nat.c (xlate_exception): Treat a stack overflow like a SEGV.
1995-10-31Tue Oct 31 10:38:58 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+5
* display.c, parens.c, readline.c, rldefs.h: Change use of WIN32 to __WIN32__.
1995-10-31 * Makefile.in, configure.in: Make winsup builds work withSteve Chamberlain3-3/+8
new scheme.
1995-10-31 * input-scrub.c (input_scrub_push): Reset sb_index.Ian Lance Taylor1-0/+4
1995-10-31New changes from AndrewMichael Meissner26-4911/+2897
1995-10-31 * emultempl/aix.em (export_files): Remove.Ian Lance Taylor2-30/+78
(import_files): Make static. (struct export_symbol_list): Define. (export_symbols): New static variable. (gld${EMULATION_NAME}_parse_args): Handle an initial -b option correctly. Call read_file for an export file. (gld${EMULATION_NAME}_before_allocation): Call bfd_xcoff_export_symbol for each export symbol, rather than calling read_file for each export file. (gld${EMULATION_NAME}_read_file): For an export file, make the exported symbols undefined, and store them on the export_symbols list.
1995-10-31 * xcofflink.c (xcoff_mark_symbol): New static function, broken outIan Lance Taylor2-227/+221
of xcoff_mark. (xcoff_mark): Call xcoff_mark_symbol. (bfd_xcoff_export_symbol): Call xcoff_mark_symbol. (bfd_xcoff_link_count_reloc): Call xcoff_mark_symbol rather than doing it by hand. (xcoff_build_ldsyms): Build a .loader symbol for an export symbol.
1995-10-31keep files added by Niklas HallqvistKen Raeburn3-0/+3
1995-10-31Put the "some mentions of sanitize..." check *after* the GM sanitization,Ken Raeburn1-6/+8
and make it a fatal error.
1995-10-30 * configure.in: Build the linker on AIX.Ian Lance Taylor2-7/+7
1995-10-30 * xcofflink.c (struct xcoff_final_link_info): Add new line_fileposIan Lance Taylor2-45/+150
field. (xcoff_find_reloc): New static function. (xcoff_link_add_symbols): Use it. (_bfd_xcoff_bfd_final_link): Set finfo.line_filepos. (xcoff_link_input_bfd): Handle C_BINCL and C_EINCL. Don't relocate the value of C_DECL.
1995-10-30 * listing.c (listing_newline): Don't create a frag in the absoluteIan Lance Taylor1-0/+5
section.
1995-10-30 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Add $(TARGET_SUBDIR)Per Bothner2-7/+12
where needed.
1995-10-30* Makefile.in (all-gcc): Fix typo.David Edelsohn2-2/+6
1995-10-30 * elf.c (elf_fake_sections): Remove bogus BFD_ASSERT.Ian Lance Taylor2-21/+23
PR 8293.
1995-10-30 * objdump.c (objdump_print_value): New static function.Ian Lance Taylor2-15/+76
(objdump_print_address): Use it. If we need the right section for the symbol, and we can't find it, print an offset from the section rather than using a symbol from some other section. PR 8251.
1995-10-30 * pr-5016.exp: xfail "whatis i" for sparc-sun-sunos4*, same as linux.Fred Fish2-2/+6
1995-10-29 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.Fred Fish1-0/+5
IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1995-10-29 * monitor.c: Include gnu-regex.h rather than system regex.h.Fred Fish1-0/+4
1995-10-29Sat Oct 28 23:51:48 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-19/+68
* defs.h: Test on name __WIN32__ rather than WIN32. * inflow.c (new_tty): Likewise * terminal.h: Likewise. * utils.c (initialize_utils): Likewise. * win32-nat.c (child_create_inferiror): Print error code when failing. * config/i386/win32.mh (XM_CLIBS): Need -lkernel32.
1995-10-28 * Makefile.in ($(CHECK_TARGET_MODULES)): Fix typo.Per Bothner2-1/+5
1995-10-28 * symtab.h (enum address_class): Add LOC_UNRESOLVED forPeter Schauer3-35/+36
a location whose address has to be resolved via the minimal symbol table. * buildsym.c (finish_block), findvar.c (symbol_read_needs_frame, read_var_value), printcmd.c (address_info), symmisc.c (print_symbol, print_partial_symbol): Handle LOC_UNRESOLVED. * stabsread.c (scan_file_globals): Change unresolved LOC_STATIC symbols to LOC_UNRESOLVED. Remove rt_common_objfile lookup kludge, global common symbols are now handled by LOC_UNRESOLVED. (scan_file_globals_1): Move code back to scan_file_globals, delete.
1995-10-28Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-198/+490
* dlltool.c (no_idata4, no_idata5): New. (arm_jtab): Use correct encoding of jump instruction. (usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
1995-10-28Sat Oct 28 01:25:34 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-160/+46
* cofflink.c (_bfd_coff_generic_relocate_section): Make callback decide what goes in .relocs. * pe[i]-i386.c (TARGET_UNDERSCORE): Define. * peicode.h (pe_mkobject_hook): Only copy aouthdr if there is one.
1995-10-28Sat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-11/+34
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Don't hang if last option is unrecognised. (gld_${EMULATION_NAME}_set_symbols): Insert created symbols into ABS output section.
1995-10-28 * configure.in: Rename libFOO to target-libFOO, and xibertyPer Bothner3-102/+149
to target-xiberty, to provide more flexibility. (target_subdir): Define. Create if cross. Set TARGET_SUBDIR in Makefile to ${target_subdir}. * Makefile.in: Rename all-libFOO -> all-target-libFOO, all-xiberty -> all-target-libiberty, configure-libFOO -> configure-target-libFOO, check-libFOO -> check-target-libFOO, etc. ($(DO_X)): Iterate over TARGET_CONFIGDIRS after SUBDIRS. ($(CONFIGURE_TARGET_MODULES), $(CHECK_TARGET_MODULES), $(ALL_TARGET_MODULES), $(INSTALL_TARGET_MODULES)): Update accordingly. (configure-target-XXX): Depend on $(ALL_GCC), not all-gcc, to allow ALL_GCC="" to only configure. (DEVO_SUPPORT): Add cfg-ml-com.in and cfg-ml-pos.in. (ETC_SUPPORT, ETC_SUPPORT_PFX): Merge; update 'taz' accordingly. (LIBGXX_SUPPORT_DIRS): Remove xiberty.
1995-10-28* Makefile.in (taz): Build "info" in etc explicitly.Ken Raeburn2-0/+5
1995-10-28 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, forIan Lance Taylor1-0/+5
convenience when testing XCOFF.
1995-10-28 * xcofflink.c (xcoff_link_add_symbols): Handle csects in theIan Lance Taylor2-26/+36
absolute section.
1995-10-28 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".Ian Lance Taylor2-10/+126
(ppc_csect): Move most of the code to ppc_change_csect, and call it. (ppc_change_csect): New static function, taken from ppc_csect. (ppc_section): New static function. (ppc_saw_abs): New static varable. (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if a symbol has no csect. (ppc_adjust_symtab): New function. * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF. (ppc_adjust_symtab): Declare if OBJ_XCOFF.
1995-10-28 * symbols.c (symbol_find_or_make): Change name to be const.Ian Lance Taylor3-3/+18
* symbols.h (symbol_find_or_make): Update declaration.
1995-10-28 * Makefile.in (ALL_EMULATIONS): Added support for the NetBSDNiklas Hallqvist13-12/+59
m68k4k arch. (em68k4knbsd.c): New rule. * configure.tgt: Added support for the NetBSD m68k4k arch. * genscripts.sh, ldint.texinfo, emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960, gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s, hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32, i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx, m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, pc532machaout,rce,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed PAGE_SIZE to TARGET_PAGE_SIZE. * emulparams/m68knbsd.h: Ditto. (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time being. * emulparams/m68k4knbsd.sh: New file. * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
1995-10-28 * m68k4knetbsd.c: New file.Niklas Hallqvist1-0/+4
* hosts/mipsnbsd.h: New file.
1995-10-28Initial revisionNiklas Hallqvist2-0/+48
1995-10-28 * PORTING, aout-arm.c, aout-encap.c, aout-rce.c, aout-target.h,Niklas Hallqvist1-0/+31
aoutx.h, gen-aout.c, host-aout.c, hp300bsd.c, i386aout.c i386bsd.c, i386dynix.c, i386linux.c, i386lynx.c, i386mach3.c, i386netbsd.c, m68klynx.c, m88kmach3.c, mipsbsd.c, newsos3.c, ns32knetbsd.c, pc532-mach.c, riscix.c, sparclynx.c, sparcnetbsd.c: Change PAGE_SIZE to TARGET_PAGE_SIZE. * m68knetbsd.c: Ditto as well as add support for the m68k4k object format. * netbsd.h: Double ditto (incl. m68k4k support). NetBSD's text segments includes the a.out header. See to that the magic number *always* is big-endian. * config.bfd: Add m68*-hp*-netbsd* case. Cross-pollinate m68k and m68k4k NetBSD configurations. * configure.in, configure: Separate i386 & mips NetBSD configurations from other BSD ones. Don't assume DEC is the only thing NetBSD/mips run on. Add {m68k,ns32k,sparc}-*-netbsd* configurations. Add support for m68k4k NetBSD object format. * libaout.h: Added M_68K4K_NETBSD magic. * hosts/{m68k,sparc}nbsd.h: Don't define HOST_BIG_ENDIAN_P. * hosts/nbsd.h: Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.
1995-10-28Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.Niklas Hallqvist1-0/+5
1995-10-28Do not define HOST_BIG_ENDIAN_PNiklas Hallqvist2-2/+0
1995-10-28Added M_68K4K_NETBSD magic.Niklas Hallqvist1-0/+4
1995-10-28Separate i386 & mips NetBSD configurations from other BSD ones. Don't assumeNiklas Hallqvist2-5/+62
DEC is the only thing NetBSD/mips run on. Add {m68k,ns32k,sparc}-*-netbsd* configurations. Add support for m68k4k NetBSD object format.
1995-10-28Add m68*-hp*-netbsd* case. Cross-pollinate m68k and m68k4k NetBSDNiklas Hallqvist1-1/+6
configurations.
1995-10-28Change PAGE_SIZE to TARGET_PAGE_SIZENiklas Hallqvist6-34/+55
1995-10-27 * emultempl/aix.em: Include ldctor.h.Ian Lance Taylor2-1/+153
(gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_before_allocation): Call find_relocs. (gld${EMULATION_NAME}_find_relocs): New static function. (gld${EMULATION_NAME}_find_exp_assignment): New static function. (ld_${EMULATION_NAME}_emulation): Use new after_open function. * scripttempl/aix.sc: Use CONSTRUCTORS in .data. * ldctor.c (struct set_info): Move definition into ldctor.h. (struct set_element): Likewise. (sets): Make non-static. (ldctor_add_set_entry): Add name parameter. Save it in the new set element. (ldctor_build_sets): Avoid being called twice. Pass set element name to lang_add_reloc. * ldctor.h (struct set_info): Move definition here from ldctor.c. (struct set_element): Likewise. Add new field name. (sets): Declare. (ldctor_add_set_entry): Declare new name parameter. * ldwrite.c (build_link_order): Don't insist that either name or section be NULL in a lang_reloc_statement. * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for new name parameter. (constructor_callback): Pass name to ldctor_add_new_set_entry for new name parameter.