aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-01-25Use <= in ecoff_frob_symbol, not <.Ian Lance Taylor1-1/+1
1994-01-25Improve ChangeLog entry for HAVE_SIGSETMASK to discuss what ANSI specifiesJim Kingdon1-2/+5
(just for kicks).
1994-01-25 * hp300hpux.c (MY(write_object_contents)): Write out the symbolsIan Lance Taylor1-0/+4
before writing out the relocs, so that the right symbol indices are used.
1994-01-25 * archive.c (do_slurp_bsd_armap, bfd_slurp_bsd_armap_f2): Do notIan Lance Taylor1-0/+8
try to overlay the internal carsyms on the external symdefs. That can not work if the size of a host pointer is larger than 4 bytes.
1994-01-25 * format.c (bfd_check_format_matches): Cast result ofIan Lance Taylor2-3/+3
bfd_xmalloc_by_size_t. * opncls.c (_bfd_new_bfd): Avoid ANSI C prototype.
1994-01-25* stabs.texinfo (String Field): Discuss continuing stabs with ?.Jim Kingdon2-1/+7
1994-01-25 * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:Jim Kingdon3-3/+7
AIX can use ? instead of \ for continuation. Deal with it.
1994-01-25 * som.c, som.h (bfd_som_set_section_attributes,Jim Kingdon1-0/+8
bfd_som_set_subsection_attributes): Change parameters from char to int. Following a prototype with an old-style function definition in the presence of widened parameters is a GCC-ism not supported by the HP compiler in ANSI mode.
1994-01-25A few more minor formatting cleanups.Ian Lance Taylor1-14/+12
1994-01-25 * archive.c: Reindented to GNU standards.Ian Lance Taylor2-667/+744
1994-01-25 * paread.c (read_unwind_info): Just assign to objfile->obj_private,Jim Kingdon3-2/+16
not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which the HP compiler in ANSI mode doesn't like. * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it based on USG, rather than defining HAVE_SIGSETMASK to an expression containing defined. This is for the HP compiler in ANSI mode.
1994-01-25* rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode.Jim Kingdon1-0/+4
1994-01-25 * objdump.c (display_file): Remove call to list_matching_formats.David MacKenzie2-18/+19
It would never be called. (list_matching_formats): Take an arg giving the list of matching formats. (display_bfd): Pass the arg, and get it filled in by calling bfd_check_format_matches instead of bfd_check_format. (display_info, display_info_table): target_vector was renamed to bfd_target_vector.
1994-01-25 * opncls.c (_bfd_new_bfd, _bfd_new_bfd_contained_in): AddDavid MacKenzie11-315/+364
"_bfd_" to function names. * archive.c (_bfd_create_empty_archive_element_shell), libbfd-in.h: Change callers. * libbfd.c (bfd_zmalloc): Renamed from zalloc. * libbfd.c (bfd_add_to_string_table), trad-core.c (trad_unix_core_file_p), targets.c (bfd_target_list), ptrace-core.c (ptrace_unix_core_file_p), opncls.c (new_bfd), libbfd-in.h, ieee.c (ieee_make_empty_symbol), elf32-hppa.c (hppa_elf_stub_branch_reloc), (hppa_elf_stub_reloc): Change callers. * libbfd.h: Regenerated. * archive.c (_bfd_look_for_bfd_in_cache): Add "_bfd_" to name. (_bfd_get_elt_at_filepos), coff-rs6000.c (rs6000coff_get_elt_at_filepos), libbfd-in.h: Change callers. * format.c (bfd_check_format_matches), libbfd-in.h, targets.c, elfcode.h (elf_object_p): Rename target_vector to bfd_target_vector and default_vector to bfd_default_vector. * libbfd.h: Regenerated.
1994-01-25* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):John Gilmore2-4/+12
Clean up the changes of 11 Jan, as recommended by Peter Schauer.
1994-01-25 * config.guess: Clean up NeXT support, to allow nextstepPer Bothner2-3/+25
on Intel machines. Make OS be nextstep. * config.guess: Add alternate forms for Convex.
1994-01-25Change RUNTESTFLAGS to RUNTEST_FLAGS to be consistant with FLAGS_TO_PASS.Rob Savoye1-1/+1
1994-01-25 * coff-alpha.c (alpha_ecoff_object_p): New function. Set size ofIan Lance Taylor3-75/+208
.pdata section based on lnnoptr field, not section header. (alpha_relocate_section): Don't bother to check if r_symndx >= 0, since it is unsigned. (ecoffalpha_little_vec): Use alpha_ecoff_object_p rather than coff_object_p. * ecoff.c (ecoff_new_section_hook): Set alignment_power field of .pdata section to 3. (ecoff_compute_section_file_positions): Save the size of the .pdata section in the line_filepos field, and actually align the .pdata section to an alignment power of 4. (ecoff_compute_reloc_file_positions): Set output_has_begun after calling ecoff_compute_section_file_positions. (ecoff_write_object_contents): Set s_lnnoptr for the .pdata section from the line_filepos field. Set vstamp for the optional header from the vstamp of the symbolic header. (ecoff_bfd_final_link): Set vstamp of the symbolic header to the vstamp used by the first object file in the link.
1994-01-25 * ecofflink.c (ecoff_align_debug): Align RFDs to debug_align.Ian Lance Taylor1-2/+12
1994-01-25Various entries.Ian Lance Taylor1-0/+23
1994-01-25 * ecoff.c (ecoff_frob_symbol): New function. Put undefinedIan Lance Taylor4-93/+125
symbols of known size in the undefined section. Put small common symbols in a .scommon section. * ecoff.h (ecoff_frob_symbol): Declare. * config/obj-ecoff.h (obj_frob_symbol): Define. * config/obj-elf.c (obj_elf_write_symbol_p, obj_elf_write_symbol, obj_elf_frob_symbol): Removed unused functions. * config/obj-elf.h (obj_frob_symbol, obj_write_symbol): Removed unused macros. (obj_elf_frob_symbol, obj_elf_write_symbol): Removed declarations of unused functions. (obj_frob_symbol): Define if ECOFF_DEBUGGING.
1994-01-25 * tc-mips.c (g_switch_seen): New static variable.Ian Lance Taylor1-0/+11
(md_parse_option): Set g_switch_seen for -G option. (s_option): If creating PIC code, force the GP size to be 0. Warn if -G switch used with a non-zero value.
1994-01-25 * symbols.c (S_IS_COMMON): Use bfd_is_com_section rather thanIan Lance Taylor1-8/+31
comparing against bfd_com_section.
1994-01-24 * linker.c (generic_link_check_achive_element): Set SEC_ALLOC flagIan Lance Taylor2-2/+17
for a created common section. (_bfd_generic_link_add_one_symbol): Likewise.
1994-01-24 * elfcode.h (swap_out_syms): Use elf_section_from_bfd_section toIan Lance Taylor1-1/+2
get the index of a common section, rather than always using SHN_COMMON (MIPS has multiple common sections).
1994-01-24 * objdump.c (display_file): Remove call to list_matching_formats.David MacKenzie2-7/+16
It would never be called. (list_matching_formats): Take an arg giving the list of matching formats. (display_bfd): Pass the arg, and get it filled in by calling bfd_check_format_matches instead of bfd_check_format. * binutils.texi (objdump): Note some limitations of -h section address printing.
1994-01-24 * format.c (bfd_check_format_matches): New function.David MacKenzie4-44/+84
(bfd_check_format): Call it. (bfd_matching_formats): Function removed. * targets.c: Replace the vector added on Jan 21 with a count of entries in default_vector. * bfd-in2.h: Regenerated.
1994-01-24 * binutils.texi (objdump): Note some limitations of -h sectionDavid MacKenzie2-1/+23
address printing.
1994-01-24Mon Jan 24 12:09:35 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-1/+5
* mpw-xconfig.in (opcode/mips.h): Create using forward-include.
1994-01-24Mon Jan 24 12:07:22 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-11/+8
* mpw-config.in (varargs.h): Don't create. (sysdep.h): Create using forward-include. * mpw-make.in (CSEARCH): Add include/mpw to search path.
1994-01-24 * elf32-hppa.c (hppa_elf_gen_reloc_type): Typo (== for =).Ian Lance Taylor2-1/+3
1994-01-24 * bfd/aoutx.h (aout_link_input_section_std,Ian Lance Taylor9-356/+786
aout_link_input_section_ext): Pass additional arguments to reloc_overflow callback. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents, alpha_relocat_section): Likewise. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. * coff-h8500.c (extra_case): Likewise. * coff-mips.c (mips_relocate_section): Likewise. * coff-z8k.c (extra_case): Likewise. * elf32-hppa.c (hppa_elf_stub_finish): Likewise. * reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
1994-01-24 * ldmain.c (reloc_overflow): Added name, reloc_name and addendIan Lance Taylor2-4/+18
arguments.
1994-01-24 * ldlang.c (lookup_name): Set BFD GP size to -G argument valueIan Lance Taylor2-0/+5
after opening BFD.
1994-01-24Since gdb distributions must be sanitized, and it is easy to forget toFred Fish2-0/+14
run Sanitize during the build process, cause the distribution build process to emit a appropriate message and quit when run in an unsanitized tree.
1994-01-24read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss section.Ken Raeburn2-2/+7
1994-01-24 * bout.c (calljx_callback, callj_callback): Use get_value to getIan Lance Taylor3-450/+317
the symbol value and check for undefined symbols. (get_value): If the symbol is undefined, look it up in the linker hash table. (b_out_get_relocated_section_contents): For PCREL24 and PCREL13 use get_value to get the symbol value and check for undefined symbols. * reloc16.c (bfd_coff_reloc16_get_value): If the symbol is undefined, look it up in the linker hash table.
1994-01-24 * ldlang.c (relaxing): Removed global variable.Ian Lance Taylor3-13/+32
(lang_size_sections): If the canonical symbols have not already been read in, read them in before relaxing. * ldlang.h (relaxing): Removed declaration.
1994-01-24 * aoutx.h (translate_symbol_table): The string index 0 has aIan Lance Taylor2-1/+14
special meaning for normal symbols, but not for dynamic symbols.
1994-01-23 * ch-exp.y (match_string_literal): Allow a zero-length string.Per Bothner3-4/+8
* ch-lang.c (chill_printstr): Don't print zero-length string funny.
1994-01-23Sat Jan 22 16:25:09 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-3/+617
* mpw-build.in: New file, build script fragment for MPW make. * mpw-make.in: New file, MPW makefile fragment for binutils. (Normally automatically generated from Makefile.in.)
1994-01-23Minor MPW compatibility tweaks.Stan Shebs4-14/+31
1994-01-22 * i386aix-nat.c (i386_float_info): Reverse order of registers beforeJim Kingdon3-10/+21
passing them to print_387_status. (print_387_status): Don't subtract top from 7 before using it. * i387-tdep.c: Remove comment about AIX wanting "top" subtracted from 7; the above explains it.
1994-01-22Sat Jan 22 13:41:25 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-13/+18
* mpw-xconfig.in: Added forward-includes for all the files, and changed to use absolute pathnames.
1994-01-22Sat Jan 22 13:30:57 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-16/+10
* mpw-config.in: Create sysdep.h using forward-include. Remove unneeded synthesis of varargs.h. * mpw-make.in (CC, CFLAGS): Remove, now in config/mpw-mh-mpw. (CSEARCH): Added path to extra-include.
1994-01-22Sat Jan 22 13:23:46 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-2/+100
* mpw-configure: Add more things to the top of each configured Makefile, including contents of config/mpw-mh-mpw. * mpw-config.in (extra-include): Create this directory and fill it with Posix-like include files when configuring.
1994-01-22MPW makefile definitionsStan Shebs3-2/+29
1994-01-22 * mips-tdep.c (init_extra_frame_info): Use frame relative stackPeter Schauer2-20/+38
pointer value when fixing up the frame at the start of a function
1994-01-22 * lynx-nat.c (fetch_core_registers): Load the I & L regs for theStu Grossman2-3/+15
Sparc from the stack.
1994-01-22 * sparclynx.c: Setup appropriate macros to enable core fileStu Grossman2-0/+275
support.