aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-16 * config/mips/tm-mips.h (UNUSED_REGNUM): Define.Peter Schauer3-0/+8
* mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register with zero.
1995-09-16 * config/tc-m68k.c: Change some "CONST" references to "const".Jeff Law2-5/+9
Just changed those which caused redefinition errors on a system where CONST != const. Many more remain.
1995-09-16configure.host: fix shell syntax errorsKen Raeburn1-0/+9
1995-09-15vms updatesKen Raeburn1-0/+10
1995-09-15vms updatesKen Raeburn1-122/+138
1995-09-15 Make the COFF backend linker merge common types:Ian Lance Taylor1-0/+16
* cofflink.c (struct coff_debug_merge_element): Define. (struct coff_debug_merge_type): Define. (struct coff_debug_merge_hash_entry): Define. (struct coff_debug_merge_hash_table): Define. (coff_debug_merge_hash_table_init): Define. (coff_debug_merge_hash_table_free): Define. (coff_debug_merge_hash_lookup): Define. (struct coff_final_link_info): Add debug_merge field. (coff_debug_merge_hash_newfunc): New static function. (_bfd_coff_final_link): Allocate and free debug_merge table. (coff_link_input_bfd): Merge identical enum, struct and union types. PR 7145.
1995-09-15 * gencode.c: Back up PC by 2 for breakpoints.Stu Grossman2-8/+17
* interp.c: Move fp regs beyond pc/pr/etc to avoid confusing GDB, which expect pc to immediatly follow regs[].
1995-09-15 * remote-sim.c (gdbsim_create_inferior): Back out change thatStu Grossman2-6/+5
broke all simulator configurations except the rs6000.
1995-09-14 * monitor.c (monitor_expect): Discard NULL characters.Jeff Law1-0/+4
Fixes random failures on the OKI board.
1995-09-14 * infcmd.c: Add extern declaration for auto_solib_add_at_startup.Kung Hsu1-0/+4
1995-09-14 * symfile.c: Move global variable auto_solib_add_at_startup fromKung Hsu2-2/+8
solib.c to symfile.c. * solib.c: ditto. * symfile.h: Add extern declaration of the above mentioned variable. * infcmd.c: Take out extern declaration, since it's in symfile.h.
1995-09-14 * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.David Edelsohn6-0/+91
* gas/sparc/sparc.exp: Run them.
1995-09-14 * coffread.c (coff_symtab_read): Complain about unmatched .ef andStu Grossman1-1/+6
.eb symbols instead of segfaulting.
1995-09-14 Convert i960 COFF to use COFF backend linker.Ian Lance Taylor8-21/+405
* coff-i960.c (coff_i960_relocate): Use a coff_section_data structure to store the symbol being used. (coff_i960_start_final_link): New static function. (coff_i960_relocate_section): New static function. (coff_i960_adjust_symndx): New static function. (coff_start_final_link): Define. (coff_relocate_section): Define. (coff_adjust_symndx): Define. * coffcode.h (bfd_coff_backend_data): Add new callback function _bfd_coff_start_final_link. (bfd_coff_start_final_link): Define. (coff_start_final_link): Define if not defined. (bfd_coff_std_swap_table): Add coff_start_final_link. * cofflink.c (_bfd_coff_internal_syment_name): Make globally visible. (_bfd_coff_final_link): Call bfd_coff_start_final_link if the function callback is not NULL. * libcoff-in.h (struct coff_section_tdata): Add tdata field. (_bfd_coff_internal_syment_name): Declare. * libcoff.h: Rebuild. * configure.in (icoff_big_vec): Add cofflink.o. (icoff_little_vec): Likewise. * configure: Rebuild.
1995-09-14 * sparc-opc.c (sparc_opcodes): Mark all insns that referenceDavid Edelsohn1-0/+5
%psr, %wim, %tbr as F_NOTV9.
1995-09-14 * Makefile.in (clean-info): Remove extraneous tab from lineFred Fish2-1/+6
following action.
1995-09-13 * objdump.c (start_address): New variable.Ian Lance Taylor4-9/+122
(stop_address): New variable. (usage): Mention --start-address and --stop-address. (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. (long_options): Add "start-address" and "stop-address". (disassemble_data): Handle start_address and stop_address. (dump_data, dump_reloc_set): Likewise. (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS and OPTION_STOP_ADDRESS. * objcopy.c (parse_vma): Move to bucomm.c. * bucomm.c (parse_vma): New function, moved in from objcopy.c. * bucomm.h (parse_vma): Declare. * binutils.texi, objdump.1: Document new objdump options. PR 7983.
1995-09-13 * stbsread.c (read_one_struct_field): Use subfile language instead ofKung Hsu2-1/+6
global language. Improve efficiency.
1995-09-13Fix .drectve spelling (was .drective) in several comments.David Edelsohn1-47/+80
1995-09-13 * Makefile.in, configure.in: Remove; the testsuite is now runIan Lance Taylor4-143/+5
directly from the gas Makefile.
1995-09-13 * Makefile.in (EXPECT): New variable.Ian Lance Taylor4-139/+82
(CHECKFLAGS): Remove. (site.exp): New target. (check): Rewrite to invoke runtest directly, rather than recurring down into testsuite. (clean-here): Remove testsuite directory. (clean, distclean): Don't recur into testsuite. * configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite). * configure: Rebuild.
1995-09-13 * cofflink.c (coff_link_input_bfd): Fail if a section with noIan Lance Taylor2-1/+19
contents has relocs. PR 7979.
1995-09-13 * lib/utils-lib.exp (prune_system_crud): Define if not defined.Ian Lance Taylor2-1/+12
* binutils-all/objcopy.exp: Call prune_system_crud on cmp output.
1995-09-13 * write.c (relax_and_size_seg): Change to the segment we areIan Lance Taylor3-21/+23
relaxing, in case md_convert_frag, called by cvt_frag_to_fill, wants to call fix_new. * config/tc-m68k.c (m68k_ip): Permit PC relative code if the segment of the symbol is the current segment, not just in text_section. (md_convert_frag_1): Don't call subseg_change. (md_estimate_size_before_relax): Likewise.
1995-09-13 * somsolib.c (auto_solib_add_at_startup): Define new global variable.Jeff Law2-1/+32
(som_solib_create_inferior_hook): Don't add libraries if auto_solib_add_at_startup is zero. (_initialize_som_solib): Add command to toggle auto_solib_add_at_startup.
1995-09-13 * monitor.c (monitor_make_srec): Fix thinkos in computationJeff Law2-23/+23
of addr_size. Critical patch from Stu.
1995-09-12 * stabsread.c: To include language.h and expression.h for the reasonKung Hsu2-0/+5
above.
1995-09-12 * stabsread.c (read_one_struct_field): Add a patch to handle cfrontKung Hsu2-1/+33
generated stabs that each field is in full mangled name.
1995-09-12 * infcmd.c (attach_command): Add solibs only whenKung Hsu2-2/+10
auto_solib_add_at_startup is set.
1995-09-12 * Makefile.in (maintainer-clean): New target.Ian Lance Taylor4-2/+10
1995-09-12 * Makefile.in (do_maintainer_clean): Rename from do_realclean.Ian Lance Taylor2-4/+9
(maintainer-clean): Rename from realclean, passing maintainer-clean down to subdirectories, but leave realclean as a synonym.
1995-09-12 * Makefile.in (DO_X): Change do-realclean to do-maintainer-clean.Ian Lance Taylor1-0/+7
(local-maintainer-clean): New target. (maintainer-clean): New target. (realclean): Just depend upon maintainer-clean.
1995-09-12 * ldmain.c (struct warning_callback_info): Define.Ian Lance Taylor1-1/+8
(warning_callback): Add new parameter symbol. Call warning_find_reloc to try to find the section and VMA. (warning_find_reloc): New static function. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass NULL as symbol parameter to warning callback.
1995-09-12 * linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name toIan Lance Taylor2-4/+7
warning callback.
1995-09-12Thu Sep 7 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+6
* scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. Start .text section on the right boundary. Always align stabs.
1995-09-12 * ar.c (replace_members): Don't call write_archive if nothingIan Lance Taylor1-0/+3
changed.
1995-09-12Thu Sep 7 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-294/+142
* coffcode.h (coff_compute_section_file_positions): Keep the raw size safe. (coff_write_object_contents): Remember if it's a relocatable file. * libcoff-in.h (pe_data_type): New member 'has_reloc_section' * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag if relocatable file. Swap out saved raw size.
1995-09-12 * dep-in.sed: Remove config.h from generated dependencies.Ian Lance Taylor1-0/+2
1995-09-12 * ld.texinfo: Clarify -L option.Ian Lance Taylor1-0/+2
1995-09-12 * sunos.c (sunos_slurp_dynamic_symtab): New static function,Ian Lance Taylor4-32/+101
broken out of sunos_canonicalize_dynamic_symtab. (sunos_canonicalize_dynamic_symtab): Call new function sunos_slurp_dynamic_symtab. (sunos_add_dynamic_symbols): Add three new parameters. Return the dynamic symbol table to the caller. * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols callback to override the symbols being read. * libaout.h (struct aout_backend_data): Add three new parameters to add_dynamic_symbols callback.
1995-09-12 * config/tc-arm.c (md_atof): Fix debugging printf, and leave itDavid Edelsohn1-0/+5
out by default.
1995-09-12 * objdump.c (disassemble_data): Add casts to avoid gcc warnings.Ian Lance Taylor2-5/+9
1995-09-12 * ldlang.c (lang_one_common): Add cast to avoid warning.Ian Lance Taylor1-0/+8
(topower): Likewise. Also, reindent. * ldwrite.c (clone_section): Change i to unsigned int. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add cast to avoid warning.
1995-09-12 Extensive minor changes to avoid various gcc warnings. Also:Ian Lance Taylor31-726/+1687
* Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. * archures.c (bfd_arch_info_type): Change mach field from long to unsigned long. (bfd_lookup_arch): Change machine parameter from long to unsigned long.
1995-09-12 * internal.h (struct internal_syment): Change n_numaux field fromIan Lance Taylor1-0/+9
char to unsigned char.
1995-09-12 * NEWS: Add information about remote target caching.Fred Fish2-0/+15
1995-09-11 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"Fred Fish2-0/+61
xfails when not gcc compiled for "print foo::funclocal". (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for: "print foo::funclocal at foo", "print 'scope1.c'::foo::funclocal at foo", "print foo::funclocal_bss at foo", "print 'scope1.c'::foo::funclocal_bss at foo", "print foo::funclocal_ro at foo", "print 'scope1.c'::foo::funclocal_ro at foo", "print bar::funclocal at foo" and "print 'scope1.c'::bar::funclocal at foo". (test_at_bar): Add "hppa*-*-hpux*" xfails when not gcc compiled for "print foo::funclocal at bar". Expand all messages to ensure that they identify that the test is at bar(). * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "ptype on opaque struct pointer (statically)", "ptype on opaque struct tagname (statically)", "ptype on opaque struct pointer (dynamically) 1", "ptype on opaque struct tagname (dynamically) 1", "ptype on opaque struct pointer (dynamically) 2" and "ptype on opaque struct tagname (dynamically) 2 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "p datalocal" "whatis datalocal", "ptype datalocal", "p bsslocal", "whatis bsslocal", and "ptype bsslocal". * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for "backtrace in langs.exp" and "up to langs0__2do in langs.exp" when not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add "hppa*-*-hpux*" xfail for "run to call2a" when not gcc compiled. (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for "backtrace from call6a" when not gcc compiled. (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for "backtrace from call7a" when not gcc compiled. * gdb.base/callfuncs.exp (do_function_calls): Add "hppa*-*-hpux*" xfail when not gcc compiled for "p t_char_array_values(char_array_val2,char_array_val1)", "p t_char_array_values(char_array_val1,char_array_val2)", "p t_char_array_values("carray 1","carray 2")", "p t_char_array_values("carray 1",char_array_val2)", "p t_char_array_values(char_array_val1,"carray 2")", "p sum_args(1,{2})", "p sum_args(2,{2,3})", "p sum_args(3,{2,3,4})", "p sum_args(4,{2,3,4,5})" * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for "backtrace in corefile.exp" when not gcc compiled.
1995-09-11 * defs.h: Only include mmalloc.h if NO_MMALLOC is notFred Fish2-0/+19
defined.
1995-09-11 * doc/configure.in: Remove unused file.Ian Lance Taylor3-41/+2
1995-09-11 * app.c (do_scrub_chars): Grab all available spaces at start ofIan Lance Taylor1-0/+8
line before preserving a single space. Remove state == 0 test which will never succeed. * macro.c (macro_expand_body): Delete local variables from the formal hash table. (macro_expand): In MRI mode, stop when whitespace is seen in the argument list.