aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
1995-09-11 * gas/mri/empty.s: New file.Ian Lance Taylor3-0/+14
* gas/mri/mri.exp: Test assembling empty.s. * gas/mri/comment.s: Add a couple more comment variants.
1995-09-11 * sb.c: Include "libiberty.h".Ian Lance Taylor2-0/+9
* macro.c: Likewise. Also include <stdlib.h> if it exists.
1995-09-11 * gas/mri/mri.exp: Add xfail for the expr test for all hppaIan Lance Taylor2-1/+6
targets.
1995-09-11Revert Linux directory searching: it turns out that Linux no longerIan Lance Taylor6-171/+4
uses it.
1995-09-11 * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to findIan Lance Taylor2-4/+11
a symbol with a non-zero plt_offset.
1995-09-10Sun Sep 10 10:24:48 1995 Michael Tiemann <tiemann@axon.cygnus.com>Michael Tiemann3-2/+32
* tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the simulator. FIXME. * rs6000-tdep.c (push_dummy_frame): Calculate the correct link register offset from the current frame (don't assume it is always 8). (push_dummy_frame): Add comment about having only 4096 bytes of stack space in the simulator (by default). * remote-sim.c (gdbsim_create_inferior): Call `add_text_to_loadinfo' so that gdb can find TOC entries when calling functions in the inferior. With this changes, it is now possible to correctly call inferior functions in the PPC simulator.
1995-09-10Sun Sep 10 10:23:56 1995 Michael Tiemann <tiemann@axon.cygnus.com>Michael Tiemann1-0/+9
* registers.c (register_description): Add gdb synonyms for cr (cnd) and msr (ps).
1995-09-10 * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUMPeter Schauer1-0/+6
substitution. (supply_fpregset): Use FP_MAX_REGNUM.
1995-09-10fix typo.Michael Meissner1-1/+1
1995-09-09 * stabsread.c (read_enum_type): Exit loop for putting pendingPeter Schauer2-1/+7
enum symbols into the enum type correctly if we had no pending symbols on entry to read_enum_type.
1995-09-09 * gdb.base/signals.exp: Rewrite `handle all print' test asPeter Schauer1-0/+7
a procedure. Accept blanks or TABs as whitespace, increase timeout and expect input buffer size for the large output from the command. Remove "i*86-*-bsdi2.0" xfail.
1995-09-09 * inferior.h: Add extern declaration of inferior_environ.Kung Hsu2-4/+10
* solib.c (solib_map_sections): To get inferior's env instead of gdb's for LD_LIBRARY_PATH, same for PATH.
1995-09-09* configure.in (noconfigdirs): Disable gdb on m68k-*-netbsd*.J.T. Conklin2-0/+7