aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-03-27Remove SEC_LINKER_MARK, and add a linker_mark bitfield to the asectionIan Lance Taylor8-33/+51
structure instead.
1996-03-27 * coff-ppc.c (ppc_record_toc_entry): Put inside COFF_IMAGE_WITH_PEIan Lance Taylor2-32/+76
ifdef. Remove unused variables. (ppc_record_data_in_toc_entry): Ifdef out. Removed unused variables. (ppc_mark_symbol_as_glue): Put inside COFF_IMAGE_WITH_PE ifdef. (get_symbol_value): Ifdef out. (pe_ppc_reloc): Ifdef out. Remove unused variables. (coff_ppc_relocate_section): Remove unused variables. Make fprintf strings and argument types correspond. Put before_addr in DEBUG_RELOC ifdef. (ppc_reflo_reloc): Ifdef out. (ppc_addr32nb_reloc): Ifdef out. (ppc_coff_rtype2howto): Make fprintf strings and argument types correspond. (coff_ppc_rtype_to_howto): Likewise. (ppc_coff_swap_sym_in_hook): Remove unused variables.
1996-03-27 * peicode.h (pe_print_idata): Move otherwise unused variables intoIan Lance Taylor1-47/+69
the #ifdef where they are used. Always return a value. (pe_print_edata): Change fprintf strings and add cast to make fprintf strings correspond to actual types. Always return a value. (pe_print_pdata): Removed unused variable addr_value. Always return a value. (pe_print_reloc): Remove unused variable onaline. Make fprintf strings and arguments correspond. Always return a value.
1996-03-27 * libhppa.h: Define HINLINE rather than INLINE. Define it toIan Lance Taylor2-27/+40
extern inline if using gcc and to static INLINE otherwise. Change all functions from static INLINE to HINLINE.
1996-03-27 * ns32k.h: New file.Ian Lance Taylor5-125/+951
* cpu-ns32k.h: Include ns32k.h. Rename externally visible functions to start with _bfd_. * aout-ns32k.c: Include ns32k.h. Change references to renamed functions in cpu-ns32k.h. * Makefile.in: Rebuild dependencies. (HFILES): Add ns32k.h.
1996-03-27 * section.c (SEC_LINKER_MARK): Define.Ian Lance Taylor8-40/+149
* bfd-in2.h: Rebuild. * aoutx.h (NAME(aout,final_link)): Mark sections included in the link. (aout_link_input_bfd): Don't link unmarked sections. * cofflink.c (_bfd_coff_final_link): Mark sections included in the link. (_bfd_coff_link_input_bfd): Don't link unmarked sections. * coff-ppc.c (ppc_bfd_coff_final_link): Mark sections included in the link. * elflink.h (elf_bfd_final_link): Mark sections included in the link. (elf_link_input_bfd): Don't link unmarked sections. * xcofflink.c (_bfd_xcoff_bfd_final_link): Mark sections included in the link. (xcoff_link_input_bfd): Don't link unmarked sections.
1996-03-27 * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".Ian Lance Taylor3-9/+34
* ldlang.c (init_os): Fail on an attempt to initialize any section named DISCARD_SECTION_NAME. (wild_doit): Discard input sections assigned to an output section named DISCARD_SECTION_NAME. * ld.texinfo: Document use of /DISCARD/.
1996-03-27 * ldlang.c: Fix some indentation and comments.Ian Lance Taylor2-69/+75
1996-03-27 * coffswap.h (coff_swap_scnhdr_out): Include section name inIan Lance Taylor2-5/+19
overflow error messages.
1996-03-27 * From Peter Schauer.Jeff Law3-26/+74
* breakpoint.c (breakpoint_re_set_one): Keep temporary breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy and bp_step_resume in case breakpoint_re_set_one is called due to a step over a dlopen call. * infrun.c (wait_for_inferior): Always remove breakpoints from inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
1996-03-27Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion3-254/+319
* interp.c, gencode.c: Some more (TODO) tidying.
1996-03-27 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only preferFred Fish3-2/+10
non-prototyped case over prototyped case for C. * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
1996-03-26 * as.c (main): Call bfd_set_error_program_name.Ian Lance Taylor1-0/+4
1996-03-26 * ldmain.c (main): Call bfd_set_error_program_name.Ian Lance Taylor2-0/+28
1996-03-26 * bfd.c (_bfd_default_error_handler): If _bfd_error_program_nameIan Lance Taylor1-0/+3
is not set, print "BFD: " before the error message.
1996-03-26Fix typo that clobbered the stack and rewrite 2/26 changeMichael Meissner2-3/+12
1996-03-26 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. FromIan Lance Taylor3-32/+145
Miles Bader <miles@gnu.ai.mit.edu>. * configure: Rebuild.
1996-03-26 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. FromIan Lance Taylor3-81/+180
Miles Bader <miles@gnu.ai.mit.edu>. * configure: Rebuild.
1996-03-26 * mh-go32 (CFLAGS): Define.Ian Lance Taylor1-0/+7
1996-03-25Revert use of autoconf 2.9, it was causing too many regressions.Fred Fish5-63/+42
1996-03-24Tweak to match output of autoconf 2.9 with same cygnus local patch asFred Fish1-1/+1
current autoconf 2.8.
1996-03-24 * os9kread.c (os9k_process_one_symbol): Note nonportableFred Fish4-9/+43
assumption that an int can hold a char *. * bcache.h (struct hashlink): Wrap data[] inside union with double to force longest alignment. (BCACHE_DATA): New macro to access data[]. (BCACHE_ALIGNMENT): New macro to get offset to data[]. * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get address of cached data. Use BCACHE_ALIGNMENT to compute amount of space to allocate for each hashlink struct.
1996-03-24 * configure, testsuite/configure, testsuite/gdb.base/configure,Fred Fish7-99/+1582
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure, testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure: Regenerated with autoconf 2.9.
1996-03-23 * ch-lang.c (evaluate_subexp_chill): Fix typo.Fred Fish2-1/+9
1996-03-23update from andrewMichael Meissner2-105/+92
1996-03-22change [ -d foo ] to test -d fooAngela Marie Thomas1-5/+5
1996-03-22changes for new hosts, fixes for old hostsAngela Marie Thomas1-7/+43
1996-03-22 * stabs.c (struct stab_handle): Add field abfd.Ian Lance Taylor3-11/+269
(start_stab): Add abfd parameter. (parse_stab_string): Skip the symbol leading char when searching for the value of a global symbol. * budbg.h (start_stab): Update declaration. * rddbg.c (read_section_stabs_debugging_info): Pass abfd to start_stab. (read_symbol_stabs_debugging_info): Likewise.
1996-03-22 * xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCLIan Lance Taylor2-28/+49
symbols.
1996-03-22 * config.bfd: Add ieee_vec to targ_selvecs for i960 targets andIan Lance Taylor2-14/+28
m68k-aout, m68k-coff, and m68k-elf targets.
1996-03-22Fri Mar 22 11:33:44 1996 Martin Anantharaman ↵Ian Lance Taylor2-82/+265
<martin@goofy.imech.uni-duisburg.de> * ieee.c: Changed #ifdef KEEPMINUSPCININST to #if KEEPMINUSPCININST. (ieee_generic_stat_arch_elt): Restructured to prevent ieee_object_p from being called repeatedly.
1996-03-22 * as.h (strdup): Don't declare.Ian Lance Taylor4-70/+163
* stabs.c: Include libiberty.h (get_stab_string_offset): Use xstrdup rather than strdup. (s_stab_generic): Likewise. * as.c (parse_args): Likewise. * read.c (s_mri_sect): Likewise.
1996-03-22 * gasp.c (change_base): Recognize \(...) construct documented toIan Lance Taylor2-1/+40
pass through enclosed characters literally through to the output. (process_assigns): Likewise. Also, be more careful to avoid looking past the end of the buffer. PR 9268.
1996-03-22 * coffcode.h (coff_write_object_contents): AllocateSteve Chamberlain2-10/+37
buffers large enough for any FILEHDR or AOUTHDR.
1996-03-21 * core.c (core_create_function_syms): Move filename and func_nameIan Lance Taylor7-28/+48
inside ifdef where they are used. * core.c (core_sym_class): Parenthesize && within ||. * symtab.c (symtab_finalize): Correct parenthesization. * cg_print.h (cg_print_file_ordering): Declare. (cg_print_function_ordering): Declare. * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy. * cg_arcs.c (arc_add): Likewise. * cg_print.c (cg_print_function_ordering): Likewise.
1996-03-21Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor6-12/+65
* gprof.c (default_excluded_list): Add "__mcount". * gprof.c (main): Change ifdef __osf__ to __alpha__. * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the profiling rate from the header. * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and __osf__ are defined. Add new fields if BSD44_FORMAT is defined. * alpha.h (MIN_INSN_SIZE): Define. * core.c (MIN_INSN_SIZE): If not defined, define as 1. (core_sym_class): Ignore debugging symbols. (core_create_line_syms): Use MIN_INSN_SIZE when gathering line information.
1996-03-21Warn if the .pdata section is not a multiple of 20 bytesMichael Meissner1-0/+5
1996-03-21 * coffcode.h (coff_compute_section_file_positions): If notIan Lance Taylor1-0/+12
producing a final executable, don't consider sofar when aligning the section to the correct size.
1996-03-21 * ldmisc.c (vfinfo): case 'I': If the file is not in an archive,Ian Lance Taylor1-0/+4
and the local symbol name does not match the filename, print the filename as well.
1996-03-21 Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:Ian Lance Taylor1-0/+7
* lexsup.c (parse_args): -Bshareable is a synonym for -shared. * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same as TEXT_START_ADDR.
1996-03-21 * config.in: Rename from config.h.in.Ian Lance Taylor6-9/+18
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Change CONFIG_HEADERS test in AC_OUTPUT accordingly. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. Set CONFIG_HEADERS to config.h:config.in. The file name config.h.in can be used on DOS filesystems.
1996-03-20Wed Mar 20 18:18:25 1996 Andreas Schwab ↵Ian Lance Taylor2-7/+11
<schwab@issan.informatik.uni-dortmund.de> * ld.texinfo: Fix typos. Use @pxref only inside parentheses.
1996-03-20Wed Mar 20 18:15:47 1996 Andreas Schwab ↵Ian Lance Taylor2-2/+8
<schwab@issan.informatik.uni-dortmund.de> * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled as __GNU_C__. (order_and_dump_functions_by_arcs): Likewise.
1996-03-20Wed Mar 20 18:13:32 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+4
<schwab@issan.informatik.uni-dortmund.de> * doc/as.texinfo, doc/c-i960.texi: Fix typos.
1996-03-20Wed Mar 20 18:10:57 1996 Andreas Schwab ↵Ian Lance Taylor1-1/+1
<schwab@issan.informatik.uni-dortmund.de> * configure.in: Add missing global flag in sed substitution when deleting `target-' from ${configdirs}.
1996-03-20Wed Mar 20 18:08:19 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+6
<schwab@issan.informatik.uni-dortmund.de> * objdump.c (disassemble_data): Make sure sym_name is always set. (dump_section_header): Always put a space after the section name. (dump_bfd_header): Terminate output with newline.
1996-03-20Wed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor2-1/+7
* config/alpha-opcode.h: Added cvtst instruction.
1996-03-20 * ldmain.c (add_wrap): New function.Ian Lance Taylor2-12/+7
* ldmain.h (add_wrap): Declare. * lexsup.c (parse_args): Call add_wrap.
1996-03-20 * wrstabs.c: New file.Ian Lance Taylor3-0/+2456
* budbg.h (write_stabs_in_sections_debugging_info): Declare. * objcopy.c (write_debugging_info): For COFF or ELF, output stabs in sections. * Makefile.in: Rebuild dependencies. (CFILES): Add wrstabs.c. (WRITE_DEBUG_OBJS): New variable. ($(OBJCOPY_PROG)): Use $(WRITE_DEBUG_OBJS), not $(DEBUG_OBJS). ($(STRIP_PROG)): Likewise.
1996-03-20 * ieee.c (struct ieee_handle): Add fields complex_float_index andIan Lance Taylor1-34/+78
complex_double_index. (ieee_complex_type): Cache type index in complex_float_index and complex_double_index, depending upon size. Set size on type stack to size * 2. * ieee.c (ieee_empty_type): Use builtin_unknown, not 0. (ieee_void_type): Use builtin_void, not 1. * ieee.c (parse_ieee_ty): Handle 'V' type code. (parse_ieee_atn): Don't require two numbers for type 10. * ieee.c (parse_ieee_be): Add one to offset at end of function or block. * ieee.c (struct ieee_block): Add field skip. (parse_ieee_bb): Don't call debug_record_function for __XRYCPP function, and set skip field. (parse_ieee_be): Don't call debug_end_function if skip is set.