aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-04-22 Optimize linking of stabs in sections as used in ELF and COFF.Ian Lance Taylor4-8/+89
* stabs.c: New file. * libbfd-in.h (_bfd_link_section_stabs): Declare. (_bfd_write_section_stabs): Declare. (_bfd_write_stab_strings): Declare. * libbfd.h: Rebuild. * libcoff-in.h (struct coff_section_tdata): Add stab_info field. (struct coff_link_hash_table): Add stab_info field. * libcoff.h: Rebuild. * cofflink.c (_bfd_coff_link_hash_table_init): Initialize stab_info field. (coff_link_add_symbols): Call _bfd_link_section_stabs if appropriate. (_bfd_coff_final_link): Write out stab strings hash table. (_bfd_coff_link_input_bfd): Handle optimized stabs sections. * coff-ppc.c (ppc_bfd_coff_final_link): Write out stab strings hash table. * elf-bfd.h (struct elf_link_hash_table): Add stab_info field. (struct bfd_elf_section_data): Add stab_info field. * elf.c (_bfd_elf_link_hash_table_init): Initialize stab_info field. * elflink.h (elf_link_add_object_symbols): If appropriate, call _bfd_link_section_stabs. (elf_bfd_final_link): Write out stab strings hash table. (elf_link_input_bfd): Handle optimized stabs sections. * reloc.c (_bfd_final_link_relocate): Check address against _raw_size rather than _cooked_size. * Makefile.in: Rebuild dependencies. (BFD_LIBS): Add stabs.o (BFD_LIBS_CFILES): Add stabs.c.
1996-04-22 * corefile.c (specify_exec_file_hook): Allow arbitrary number ofMark Alexander3-11/+91
hooks. (call_extra_exec_file_hooks): New function. * h8300-tdep.c: Lint; add .h files to provide missing declarations, remove unused variables. (set_machine_hook): New function. (_initialize_h8300m): Initialize it. PR 8849.
1996-04-22 * ldlang.c (lang_size_sections): If _cooked_size is not 0, thenIan Lance Taylor6-14/+62
don't clobber it when not relaxing. * ld.h (ld_config_type): Remove traditional_format field. * ldmain.c (main): Use link_info.traditional_format rather than config.traditional_format. * ldlang.c (ldlang_open_output): Likewise. * lexsup.c (parse_args): Likewise. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise. * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise.
1996-04-22 * coffgen.c (coff_renumber_symbols): Correct handling ofIan Lance Taylor1-0/+5
BSF_NOT_AT_END common symbols.
1996-04-22 * ldlang.c (wild_doit): Discard debugging sections if we areIan Lance Taylor2-1/+13
stripping debugging information.
1996-04-22 * emulparams/z8002.sh (ARCH): Set to z8002, not z8k.Ian Lance Taylor1-0/+4
1996-04-19 * coff-ppc.c (record_toc): Add cast to avoid warning.Ian Lance Taylor2-8/+17
(ppc_allocate_toc_section): Likewise. (coff_ppc_relocate_section): Remove ANSI C string concatenation. (ppc_coff_reloc_type_lookup): Remove unreached code. * coffcode.h (coff_write_object_contents): Don't take the address of an array. * peicode.h (pe_print_idata): Add casts to avoid warning. (pe_print_edata): Likewise. (pe_print_reloc): Remove ANSI C string concatenation.
1996-04-19 * configure.in: Don't configure libgloss if we are not configuringIan Lance Taylor1-0/+7
newlib.
1996-04-19 * remote-mips.c (encoding): Don't specify size, to avoid bug inIan Lance Taylor2-1/+6
SunOS native compiler.
1996-04-19Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-15/+152
* gencode.c (process_instructions): Ensure FP ABS instruction recognised. * interp.c (AbsoluteValue): Add routine. Also provide simple PMON system call support.
1996-04-19 * monitor.c: Use int rather than LONGEST for values, sinceStan Shebs2-61/+126
the formatting strings are not prepared to accept long longs. PR 9432
1996-04-18 * config/obj-coff.c: BFD_ASSEMBLER:Ian Lance Taylor2-43/+127
(coff_last_bf): New static variable. (coff_frob_symbol): Set endndx of a .bf symbol. Non BFD_ASSEMBLER: (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol. (last_bfP): New static variable. (yank_symbols): Set endndx of a .bf symbol. PR 9467.
1996-04-18 * libcoff-in.h (struct coff_final_link_info): Add last_bf_indexIan Lance Taylor7-6/+120
and last_bf fields. * libcoff.h: Rebuild. * coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN symbols. (coff_swap_aux_out): Likewise. * peicode.h (coff_swap_aux_in): Likewise. (coff_swap_aux_out): Likewise. * coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN symbols. * cofflink.c (_bfd_coff_final_link): Initialize last_bf_index field. (_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols. Fix up .bf endndx link fields. * coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index field. * xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN symbols. PR 9467.
1996-04-18 * dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.Ian Lance Taylor1-0/+6
* Makefile.in: Rebuild dependencies. (dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
1996-04-18Add -le/-be/-s from Solaris.Michael Meissner2-1/+41
1996-04-18 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.David Edelsohn1-0/+4
1996-04-18 * configure.in: Don't configure libgloss for unsupportedRob Savoye2-25/+33
architectures.
1996-04-17 * saprc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.David Edelsohn2-1/+6
1996-04-17 * xcofflink.c (xcoff_link_input_bfd): Check for TOC overflow.Ian Lance Taylor2-3/+14
1996-04-17update from AndrewMichael Meissner11-0/+4496
1996-04-17Update for SolarisMichael Meissner2-2/+14
1996-04-17 * linker.c (_bfd_generic_link_add_one_symbol): When calling theIan Lance Taylor1-0/+6
callback routines, pass h->root.string rather than name, in case copy is true and name is transient.
1996-04-17 * read.c (s_space): Support non-constant fill value. Handle fillIan Lance Taylor1-0/+5
value correctly for a size other than 1. PR 9474.
1996-04-17 * tests1.{ch,exp}: Tets case modified and enhanced.Wilfried Moser3-8/+26
1996-04-17 * corelow.c (add_to_thread_list): Make sure reg_sect is non-nullStu Grossman3-3/+21
before de-referencing it. Prevents deref of NULL pointer if core file lacks .reg section. * defs.h: Rename floatformat_{to from}_long_double to floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO FROM}... macros. * findvar.c (extract_floating store_floating): Change all refs to FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest. * utils.c: Change floatformat_{to from}_long_double to floatformat_{to from}_doublest cuz the new routines will use whatever size (double or long double) is appropriate. * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to floatformat... routine calls.
1996-04-16 * elfcore.h: Add support for core files with multiple threads.Stu Grossman2-9/+81
(Primarily for Solaris.)
1996-04-16 * config/tc-arm.c (my_get_float_expression): Update call toDavid Edelsohn1-0/+5
gen_to_words, X_PRECISION changed from 6 to 5.
1996-04-16 * aoutx.h (NAME(aout,squirt_out_relocs)): Don't do anything ifIan Lance Taylor1-0/+3
section->orelocation is NULL.
1996-04-16 * ldexp.c (fold_binary): Correct handling of subtraction withIan Lance Taylor2-37/+42
absolute values. (fold_name): Permit symbols in lang_allocating_phase_enum.
1996-04-16 * rdcoff.c: New file.Ian Lance Taylor5-14/+921
* rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour and no stabs were found. * budbg.h (parse_coff): Declare. * Makefile.in: Rebuild dependencies. (CFILES): Add rdcoff.c. (DEBUG_OBJS): Add rdcoff.o.
1996-04-16 * coffgen.c (bfd_coff_get_syment): New function.Ian Lance Taylor2-0/+80
(bfd_coff_get_auxent): New function. * bfd-in.h (bfd_coff_get_syment): Declare. (bfd_coff_get_auxent): Declare. * bfd-in2.h: Rebuild.
1996-04-16Add clean-apache ruleMichael Meissner1-0/+4
1996-04-16Add Solaris/linux supportMichael Meissner1-0/+5
1996-04-16Add -m{,no-}regnames support; Add Solaris/linux supportMichael Meissner6-111/+186
1996-04-15 * stabsread.c (read_type): Move handling of '@' from typePer Bothner2-104/+80
number handling to handling of types proper (as emitted by gcc!). For typedefs, allocate the typedef type before reading its definition, to properly handling recursive types. This fixes PR 9434.
1996-04-15 * elf32-mips.c (struct mips_hi16): Define.Ian Lance Taylor1-0/+10
(mips_hi16_addr, mips_hi16_addend): Remove. (mips_hi16_list): New static variable. (mips_elf_hi16_reloc): Maintain a list of unmatched HI16 relocs. (mips_elf_lo16_reloc): Process mips_hi16_list. (mips_elf_relocate_section): Permit an arbitrary number of HI16 relocs before the associated LO16 reloc.
1996-04-15 * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs toIan Lance Taylor1-0/+3
be associated with a single %lo reloc.
1996-04-15 * nlmconv.c (choose_temp_base{,_try}): Delete, in libiberty now.David Edelsohn1-0/+5
(link_inputs): Update call to choose_temp_base.
1996-04-15 * gas/mips/la.d: Updated for April 5 MIPS assembler changes.Ian Lance Taylor1-0/+12
* gas/mips/lb.d, gas/mips/ld.d, gas/mips/sb.d: Likewise. * gas/mips/uld.d, gas/mips/ulh.d, gas/mips/ulw.d: Likewise. * gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d: Likewise.
1996-04-15 * Makefile.in (ALL_MODULES): Include all-apache.Tom Tromey3-6/+19
(CROSS_CHECK_MODULES): Include check-apache. (INSTALL_MODULES): Include install-apache. (all-apache): New target. * configure.in: Added apache everywhere perl is seen.
1996-04-15 * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use itRob Savoye2-5/+9
in m68k/crt0.S without things blowing up.
1996-04-15Add clean-{module} supportMichael Meissner2-0/+104
1996-04-15 * ch-exp.c (calculate_array_length): Fix prototype.Jeff Law2-1/+5
So gdb will build with non-ansi compilers.
1996-04-15 * config/tc-mips.c (load_address): Cast X_add_number to valueTIan Lance Taylor2-5/+13
before comparing against MAX_GPREL_OFFSET, so that negative numbers are handled correctly. (macro): Likewise.
1996-04-13 * remote-nindy.c (nindy_open): Acquire more target state so thatStu Grossman5-29/+47
user can attach to a previously running program. * (nindy_fetch_registers nindy_store_registers): Get rid of fp conversion code. That's all handled in {extract store}_floating now. * utils.c (floatformat_to_double): Don't bias exponent when handling zero's, denorms or NaNs. * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and FLOATFORMAT_TO/FROM_DOUBLEST macros. * config/i960/tm-nindy960.h: Undefine REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and REGISTER_CONVERTIBLE. These are no longer necessary now that all the magic happens in extract/store_floating.
1996-04-13 * eval.c (evaluate_subexp_standard): Report error when attempting toPeter Schauer1-0/+17
evaluate subscripts for types which cannot be subscripted. * valarith.c (value_x_binop, value_x_unop): Add noside parameter. Return a zero value with the return type of the member function if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member function. * values.h (value_x_binop, value_x_unop): Update prototypes accordingly. * eval.c (evaluate_subexp_standard): Update all callers of value_x_binop, value_x_unop accordingly. * valarith.c (value_neg, value_complement): Perform ANSI C/C++ integral promotion on operands.
1996-04-13 * README: Update for 4.16 release.Fred Fish5-2/+20
* configure.in (AC_CHECK_FUNCS): Also check for sbrk. * configure: Regenerate with autoconf. * config.in: Regenerate with autoheader. * main.c (main): Only use sbrk() when HAVE_SBRK is defined. * top.c (command_loop): Ditto.
1996-04-12 * scripttempl/m68kcoff.sc: Remove default address for .data soRob Savoye1-0/+5
.text, .data, and .bss are all sequential.
1996-04-12 * compile.c (sim_load): Re-allocate memory for the simulatorJeff Law2-0/+38
here. HMSE.
1996-04-12 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMATStu Grossman4-44/+35
defaults for bi-endian targets. Replace function pointers for floatformat routines with macros. No need for these to be runtime selectable. * findvar.c: Get rid of floatformat function pointers. Use macros in extract_floating and store_floating. * remote-nindy.c (nindy_fetch_registers nindy_store_registers): Use floatformat macros.