aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-04-02 * aoutf1.h (sunos_32_set_arch_mach): Handle M_SPARCLET.David Edelsohn5-11/+55
(aout_32_sunos4_write_object_contents): Likewise. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_sparc_{sparclet,sparclite}. * archures.c (bfd_mach_sparc_{sparclet,sparclite}): Define. (bfd_mach_sparc_v9_p): Update. * cpu-sparc.c (arch_info_struct): Add entries for sparclet,sparclite. * libaout.h (enum machine_type): Add M_SPARCLET. * sunos.c (MACHTYPE_OK): Define. * bfd-in2.h: Regenerated.
1996-04-02 * elf-bfd.h (struct elf_link_hash_table): Add hgot field.Ian Lance Taylor4-83/+258
* elf.c (_bfd_elf_link_hash_table_init): Initialize hgot field. * elflink.c (_bfd_elf_create_got_section): Store the _GLOBAL_OFFSET_TABLE_ hash table entry in the hgot field. * elf32-sparc.c (elf32_sparc_check_relocs): If the size of the global offset table goes over 0x1000, set the value of _GLOBAL_OFFSET_TABLE_ to 0x1000 into the section. (elf32_sparc_relocate_section): Subtract the offset of _GLOBAL_OFFSET_TABLE_ when handling GOT relocations. PR 9323.
1996-04-02 * elfcode.h: Don't include <string.h>.Ian Lance Taylor1-0/+4
1996-04-02 * mpw-make.sed: Change references to config.h to be in objdir,Stan Shebs2-0/+9
edit out rules to rebuild config.h.
1996-04-01 * ldlang.c (lang_size_sections): Change region check to handleIan Lance Taylor2-4/+8
regions which end at the highest possible address correctly. From Roland Weber <roweber@ira.uka.de>.
1996-04-01 * aoutx.h (aout_link_input_section_std): When reporting anIan Lance Taylor2-5/+14
overflow error, use the name of the symbol in the hash table if available. (aout_link_input_section_ext): Likewise.
1996-04-01 * read.c (get_line_sb): Bump line counters based onIan Lance Taylor1-0/+9
input_line_pointer[-1], not *input_line_pointer. Don't bother to call LISTING_NEWLINE. (s_macro): Don't call demand_empty_rest_of_line. * app.c (do_scrub_chars): When handling C style comments, unget ch2 rather than ch.
1996-04-01 * linker.c (_bfd_generic_link_hash_newfunc): Renamed fromJeff Law4-12/+11
generic_link_hash_newfunc. All references changed. * genlink.h (_bfd_generic_link_hash_newfunc): Declaration moved here from libbfd-in.h. * libbfd-in.h: Corresponding changes. * libbfd.h: Regenerated. Minor changes suggested by Ian.
1996-04-01 * elflink.h (elf_adjust_dynamic_symbol): If a common symbol gotIan Lance Taylor2-0/+17
defined in a regular file, set ELF_LINK_HASH_DEF_REGULAR.
1996-04-01 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status beforeFred Fish2-0/+6
proceeding.
1996-04-01 * ldlang.c (section_already_linked): New static function.Ian Lance Taylor2-8/+128
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a relocateable link. Don't worry about section being NULL, since it never should be. Don't call init_os unless the section is going to be added. (ldlang_add_file): Call section_already_linked for each section. * ldmain.c (multiple_definition): Don't warn about multiple definitions in sections which are being discarded.
1996-04-01 * hppah-nat.c (store_inferior_registers, store_inferior_registers,Fred Fish2-14/+20
fetch_register, child_xfer_memory): Use call_ptrace function supplied by infptrace.c rather than calling ptrace directly.
1996-04-01 * mon960-rom.c: Cleanups and elimination of unused code,Stan Shebs3-58/+25
clarify documentation string. (mon960_serial, mon960_ttyname): Remove. * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
1996-03-31 * sparc.h (SPARC_OPCODE_ARCH_MASK): New macro.David Edelsohn2-4/+18
1996-03-31 * peicode.h (coff_swap_aouthdr_out): Delete test for .junk.Steve Chamberlain3-23/+6
* coffcode.h (coff_compute_section_file_positions): Likewise. (coff_write_object_contents): Likewise.
1996-03-31 * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.Steve Chamberlain1-0/+5
* emultempl/pe.em (init): Remove special case PPC code.
1996-03-31 * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.Steve Chamberlain1-2/+3
1996-03-31(COMMUTEOP,SLCBCC,SLCBCC2 macros): Make uppercase.David Edelsohn1-30/+30
1996-03-31 * sparc-opc.c (sparc_opcodes): rd must be 0 forDavid Edelsohn2-31/+40
mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
1996-03-31 * configure.in: Check whether printf family supports printingFred Fish6-55/+140
long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. * configure: Regenerate. * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. * configure.in: Fix have_gregset and have_fpregset autoconf variable names so that they match the pattern required to cache them.
1996-03-30 * mmalloc.h (mmtrace): Add prototype.Fred Fish1-0/+30
1996-03-30 * core-aout.c (fetch_core_registers): Cast core_reg_size to intFred Fish32-170/+371
before testing against reg_ptr. * eval.c (evaluate_subexp_standard): Cast type of TYPE_FN_FIELD_VOFFSET to int. * findvar.c (extract_signed_integer, extract_unsigned_integer, extract_long_unsigned_integer): Cast type of sizeof to int. * values.c (unpack_field_as_long, modify_field): Ditto. * valops.c (value_assign, call_function_by_hand): Ditto. * infcmd.c (do_registers_info): Ditto. * ser-tcp.c (tcp_open): Ditto * remote.c (putpkt): Ditto. * dcache.c (dcache_peek): Ditto. * dcache.c (dcache_poke): Ditto. * m2-exp.y (yylex): Ditto. * gnu-regex.c (re_match_2): Ditto. * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef out unused macro definition and variables. * inftarg.c (proc_wait): Move from main.c to here, and make static. * valprint.c (val_print_string): Change bufsize from int to unsigned. * main.c (wait.h): Include * top.c (command_line_input): Remove unused variable "c". * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum value TYPE_CODE_TYPEDEF to switch statement. (f_type_print_varspec_suffix): Add missing enum value TYPE_CODE_TYPEDEF to switch statement. * ch-exp.c (parse_primval): Add remaining enumeration values to switch statement, with no specific action. (ch_lex): Add LOC_UNRESOLVED in switch statement. (pushback_token): Ifdef out, since code using it is ifdef'd out. * stabsread.c (cleanup_undefined_types): Remove unused label "badtype". * objfiles.h (print_symbol_bcache_statistics): Add prototype. * maint.c (objfiles.h): Include. (maintenance_print_statistics): Remove unused variable "temp". * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove unused variable "found_file_symbol". * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch. * language.c (lang_bool_type): Use existing function local type variable rather than create block local variables. * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS. * infptrace.c (wait.h, command.h): Include. * ser-tcp.c (gdb_string.h): Include * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR. (i386_get_frame_setup): Change "pc" from int to CORE_ADDR. * command.c (complete_on_enum): Make assignment used as truth value explictly check against NULL. (wait.h): Include. * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code that uses it is ifdef'd out. * parser-defs.h: Add prototype for write_dollar_variable. * infrun.c: Add prototype for write_pc_pid. * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs. * symmisc.c (bcache.h): Include. * bcache.h: Add prototype for print_bcache_statistics. * symfile.c: Include <time.h>. * printcmd.c (print_scalar_formatted): Change len to unsigned int. * valarith.c (value_equal): Cast result of TYPE_LENGTH to int. * valarith.c (value_binop): Change result_len, promoted_len1, and promoted_len2 to unsigned int. * valarith.c (value_subscripted_rvalue): Change elt_offs and elt_size to unsigned int. * valops.c (value_array): Change typelength to unsigned int. (destructor_name_p): Change len to unsigned int. * scm-lang.h (scm_parse): Add prototype for scm_unpack. * symfile.c (decrement_reading_symtab): Change return type to void. * valarith.c (value_subscript): Remove unused variable "word". (value_subscript): Remove unused variable "tint". * valops.c (auto_abandon): Ifdef out, since code using it is also ifdef'd out. * eval.c (init_array_element): Remove unused variable "val". * Makefile.in (values.o): Depends on scm-lang.h. (command.o): Depends upon wait_h. (ser-tcp.o): Depends upon gdb_string.h. (infptrace.o): Depends upon wait_h and command_h. (maint.o): Depends on objfiles.h and symfile.h. * values.c (allocate_repeat_value): Remove unused variable "element_type". (scm-lang.h): Include. * breakpoint.c (create_longjmp_breakpoint): Enclose in GET_LONGJMP_TARGET define, unused otherwise. * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint, i386_remove_watchpoint and i386_stopped_by_watchpoint.
1996-03-29Regenerate with hacked Cygnus autoconf 2.8 rather than FSF autoconf 2.8,Fred Fish1-1/+1
otherwise configure fails.
1996-03-29 * read.h (enum linkonce_type): Define.Ian Lance Taylor2-0/+95
(s_linkonce): Declare. * read.c (potable): Add "linkonce". (s_linkonce): New function. * subsegs.h (segment_info_type): Add linkonce field to MANY_SEGMENTS && ! BFD_ASSEMBLER section. * config/obj-coff.h (obj_handle_link_once): Define if TE_PE. (obj_coff_pe_handle_link_once): Declare if TE_PE. * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include "coff/pe.h". (obj_coff_pe_handle_link_once): New function, defined if TE_PE. (c_section_symbol): If TE_PE, set the x_comdat field in the aux entry based on the linkonce field in segment_info. * doc/as.texinfo: Document .linkonce.
1996-03-29 * objdump.c (dump_section_header): Print the SEC_LINK_ONCE flagIan Lance Taylor2-2/+36
and the SEC_LINK_DUPLICATES field.
1996-03-29 * section.c (SEC_LINK_ONCE): Define.Ian Lance Taylor5-14/+227
(SEC_LINK_DUPLICATES): Define. (SEC_LINK_DUPLICATES_DISCARD): Define. (SEC_LINK_DUPLICATES_ONE_ONLY): Define. (SEC_LINK_DUPLICATES_SAME_SIZE): Define. (SEC_LINK_DUPLICATES_SAME_CONTENTS): Define. * bfd-in2.h: Rebuild. * coffcode.h (sec_to_styp_flags): If COFF_WITH_PE, turn SEC_LINK_ONCE into IMAGE_SCN_LNK_COMDAT. (styp_to_sec_flags): If COFF_WITH_PE, turn IMAGE_SCN_LNK_REMOVE into SEC_EXCLUDE. If IMAGE_SCN_LNK_COMDAT is set, set SEC_LINK_ONCE, and look through the symbol table for the setting for SEC_LINK_DUPLICATES. (coff_write_object_contents): If COFF_WITH_PE, if SEC_LINK_ONCE is set for a section, find the section symbol in the symbol table, and set the aux entry based on SEC_LINK_DUPLICATES. * coffgen.c (coff_print_symbol): Add a space before "checksum". * coff-arm.c (armcoff_big_vec): If COFF_WITH_PE is defined, add SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags. * coff-i386.c (i386coff_vec): Likewise. * coff-ppc.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
1996-03-29* nlmconv.1: Changed to be recognized by catman -w on Solaris.J.T. Conklin2-3/+7
1996-03-29* doc/as.1: Changed to be recognized by catman -w on Solaris.J.T. Conklin2-3/+7
1996-03-29 * Makefile.in (ALL_MODULES): Include all-perl.Tom Tromey3-11/+45
(CROSS_CHECK_MODULES): Include check-perl. (INSTALL_MODULES): Include install-perl. (ALL_X11_MODULES): Include all-guile. (CHECK_X11_MODULES): Include check-guile. (INSTALL_X11_MODULES): Include install-guile. (all-perl): New target. (all-guile): New target. * configure.in (host_tools): Include perl and guile. (native_only): Include perl and guile. (noconfigdirs): Don't build guile and perl; no ports have been done.
1996-03-29 * Makefile.in (config.status): Depend upon BFD VERSION file, soIan Lance Taylor2-15/+22
that the shared library version number is set correctly.
1996-03-29 * VERSION: Bump to 2.6.1.Ian Lance Taylor3-2/+7
* Makefile.in (stamp-h): Depend upon VERSION.
1996-03-29Print WITH_STDIO if -t optionsMichael Meissner1-0/+2
1996-03-29Add --enable-sim-stdio to make console I/O use stdio, not printf_filtered ↵Michael Meissner5-440/+809
and polling input
1996-03-29 * scripttempl/h8300.sc: Make vectors section 0xc4 bytes longJeff Law3-0/+130
so as not to overwrite the magic syscall entry at 0xc4. * scripttempl/h8300h.sc: Likewise. hmse.
1996-03-29opps. forgot to commit the changelog entries for the functionJeff Law1-0/+17
vector changes.
1996-03-29 * libbfd-in.h (generic_link_hash_newfunc): Add declaration.Jeff Law5-44/+583
* libbfd.h: Rebuilt. * linker.c (generic_link_hash_newfunc): No longer static. * coffcode.h (coff_bfd_link_hash_create): Allow specific targets to override. * coff-h8300.c: Add two derived hash tables and their associated funtions and #defines for use by the h8300 linker. (h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in the function vector as needed. Place the address of the function vector entry in the location specified by the R_MEM_INDIRECT reloc. Rewrite the vectors section contents as necessary. (h8300_bfd_link_add_symbols): New function for the h8300 linker. (coff_bfd_link_add_symbols): Define to use h8300 specific version. (coff_bfd_link_hash_table_create): Likewise. Linker changes for function vectors. HMSE.
1996-03-28 * stabs.c (s_stab_generic): Call the listing functions beforeIan Lance Taylor1-0/+5
doing the rest of the processing, which may involve freeing the string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in SEPARATE_STAB_SECTIONS case.
1996-03-28 * config/tc-hppa.c: Remove nested comment.Ian Lance Taylor1-0/+6
(tc_gen_reloc): Move label done inside the ifdef in which it is used. (md_apply_fix): Pass pointers to correct types to libhppa.h functions. Always return a value.
1996-03-28 * libhppa.h: If gcc 2.7 or higher, declare all the functions withIan Lance Taylor1-0/+8
__attribute__ ((__unused__)) so that -Wall doesn't warn about them. (hppa_rebuild_insn): Pass pointer to correct type to low_sign_unext and dis_assemble_21.
1996-03-28Patch from Andrew Cagney to handle quoted option lists with embedded spacesMichael Meissner1-0/+15
1996-03-28 * configure.in (sparc64-*-solaris2*): Delete.David Edelsohn3-3/+19
Stick with sparc-*-solaris2*. * configure: Regenerated.
1996-03-28 * config/tc-mips.h (tc_frob_file): Define.Ian Lance Taylor3-22/+168
(mips_frob_file): Declare. * config/tc-mips.c (struct mips_hi_fixup): Define. (mips_hi_fixup_list): New static variable. (imm_unmatched_hi): New static variable. (md_assemble): Clear imm_reloc, imm_unmatched_hi, and offset_reloc. Pass imm_unmatched_hi to append_insn. (append_insn): Add unmatched_hi parameter. If it is set, add the new fixup to mips_hi_fixup_list. Change all callers. (mips_ip): Set imm_unmatched_hi when appropriate. (mips_frob_file): New function.
1996-03-28 * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.David Edelsohn3-50/+103
* configure: Regenerated.
1996-03-28 * wrstabs.c (stab_enum_type): Set buf before using it.Ian Lance Taylor1-0/+4
1996-03-28revert yesterdays changeIan Lance Taylor2-25/+20
1996-03-28 * configure.tgt (sparc64-*-solaris2*): Delete.David Edelsohn2-5/+17
Stick with sparc-*-solaris2*.
1996-03-28 * config.bfd (sparc64-{sysv4*,solaris2*}): Delete.David Edelsohn2-6/+5
Stick with sparc-*-{sysv4*,solaris2*}.
1996-03-28 * valops.c (value_assign): Make copy of internal variable valueFred Fish2-4/+17
before returning it as a new value, since it is owned by the internal variable and will be freed along with it.
1996-03-28Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-1/+26
* interp.c (Convert): Provide round-to-nearest and round-to-zero support for Sun hosts. * Makefile.in (gencode): Ensure the host compiler and libraries used for cross-hosted build. Allow a DOS hosted version of the simulator to be built. NOTE: The FP is still not complete, since round-to-nearest and round-to-zero have not been implemented generically.
1996-03-28* coffgen.c (coff_bfd_make_debug_symbol): Improve comment.David Edelsohn2-2/+4
* coffcode.h (coff_new_section_hook): Ditto.