aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-27Added assembler support for ppc/PE environmentsKim Knuttila1-6/+1003
1995-09-27Added TE_PE target environment supportKim Knuttila1-0/+7
1995-09-27 * targets.c (bfd_find_target): Remove debugging code.Ian Lance Taylor2-1/+4
1995-09-27add new coff-ppc filesIan Lance Taylor1-0/+3
1995-09-27add powerpc.hIan Lance Taylor1-0/+1
1995-09-27PPC bfd supportKim Knuttila1-0/+15
1995-09-27PPC magic and peicode.hKim Knuttila1-1/+19
1995-09-27Configury for new ppc bfdKim Knuttila5-1/+38
1995-09-27First round BFD for PE/PowerPCKim Knuttila3-0/+1552
1995-09-27Powerpc and Pe support.Kim Knuttila1-0/+5
1995-09-27basic coff for powerpc/PEKim Knuttila1-0/+223
1995-09-27mpw-make.in is out, mpw-make.sed is in.Stan Shebs1-1/+1
1995-09-27 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,Stan Shebs3-180/+75
no longer create sysdep.h, sed ppc-opc.c to work around a serious Metrowerks C bug. * mpw-make.in: Remove. * mpw-make.sed: New file, used by mpw-configure to edit Makefile.in into an MPW makefile.
1995-09-26 Add PowerMac support and many other enhancements.Stan Shebs2-70/+234
* mpw-configure: New option --cc to select compiler to use, paste options set according to --cc into the generated Makefile, generate the Makefile by sed'ing the Unix Makefile.in if mpw-make.sed is present. * mpw-config.in: Don't test for gC1, test for mpw-touch, add forward includes for PowerPC include files. * mpw-build.in: Build using Makefile.PPC if present. (do-byacc, etc): Remove separate version resource builds. (do-gas): Build "stamps" before "all". (do-gcc): Build "stamps-h" and "stamps-c" before "all". * mpw-README: Update to reflect --cc option, PowerMac support, and recently-reported compatibility problems.
1995-09-26Support all of the V.4 relocationsMichael Meissner3-86/+94
1995-09-26 * bfd.c (bfd_assert): Remove \n from string passed toIan Lance Taylor1-0/+3
_bfd_error_handler.
1995-09-26Flesh out branch prediction support.Michael Meissner1-0/+13
1995-09-26 * scripttempl/i386coff.sc: Remove .data2; no longer needed.Ian Lance Taylor1-0/+4
1995-09-26 * coff-i386.c: (TWO_DATA_SECS): Don't define.Ian Lance Taylor2-41/+22
* coffcode.h (bfd_coff_backend_data): Remove _bfd_make_section_hook. (bfd_coff_make_section_hook): Don't define. (coff_make_section_hook): Remove. (sec_to_styp_flags): Remove TWO_DATA_SECS case. (styp_to_sec_flags): Likewise. (coff_write_object_contents): Likewise. (bfd_coff_std_swap_table): Don't initialize make_section_hook field. * libcoff.h: Rebuild. * coffgen.c (make_a_section_from_file): Just call bfd_make_section_anyway, not bfd_make_section or bfd_coff_make_section_hook. * ecoff.c (_bfd_ecoff_make_section_hook): Remove. * libecoff.h (_bfd_ecoff_make_section_hook): Don't declare. * coff-alpha.c (alpha_ecoff_backend_data): Don't initialize make_section_hook field. * coff-mips.c (mips_ecoff_backend_data): Likewise.
1995-09-26 * aoutx.h (translate_from_native_sym_flags): Don't try to stuffIan Lance Taylor4-63/+24
pointers into value field for warning and indirect symbols; just leave the value field alone. * linker.c (generic_link_add_symbol_list): Use next symbol for warning and indirect symbols, rather than looking in symbol value. * ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr parameter. Change all callers. Remove support for indirect symbols; it didn't work anyhow. (_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable. * syms.c: Change comments about BSF_WARNING and BSF_INDIRECT. * bfd-in2.h: Rebuild.
1995-09-25 * aout-adobe.c (aout_adobe_callback): Use _bfd_error_handlerIan Lance Taylor6-76/+94
rather than a direct fprintf. * archive.c (_bfd_write_archive_contents): Likewise. * coffcode.h (coff_slurp_symbol_table): Likewise. * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Likewise. (ppc_elf_unsupported_reloc): Likewise. (ppc_elf_relocate_section): Likewise. * i386linux.c (linux_tally_symbols): Likewise. (linux_finish_dynamic_link): Likewise. * osf-core.c (osf_core_core_file_p): Likewise. * rs6000-core.c (rs6000coff_get_section_contents): Likewise. * som.c (som_sizeof_headers): Likewise. * srec.c (srec_bad_byte): Likewise. * bfd.c (bfd_assert): Likewise. Also change file to be const. * libbfd-in.h (bfd_assert): Declare first parameter const. * libbfd.h: Rebuild. * coff-a29k.c (a29k_reloc): Don't bother to fprintf; returning bfd_reloc_overflow is enough. * coff-h8300.c (rtype2howto): Don't bother to fprintf; just abort. * coff-h8500.c (rtype2howto): Likewise. * coff-z8k.c (rtype2howto): Likewise. * coffcode.h (dummy_reloc16_extra_cases): Likewise. * elf.c (_bfd_elf_get_lineno): Likewise. (_bfd_elf_no_info_to_howto): Likewise. (_bfd_elf_no_info_to_howto_rel): Likewise. * hp300hpux.c (convert_sym_type): Likewise. (MY(swap_std_reloc_in)): Likewise. * elf.c (bfd_section_from_shdr): Remove #if 0 sections.
1995-09-25 * libaout.h (struct aoutdata): Add line_buf field.Ian Lance Taylor2-18/+53
* aoutx.h (NAME(aout,find_nearest_line)): Remove statics buffer and filename_buffer. Instead, use a malloc buffer stored in the new line_buf field. Remove length restrictions.
1995-09-25 * coffgen.c (string_size): Remove static variable.Ian Lance Taylor2-32/+73
(debug_string_size, debug_string_section): Likewise. (coff_fix_symbol_name): Add string_size_p, debug_string_section_p, and debug_string_size_p parameters. Use them instead of the global variables. Change all callers. (coff_write_symbol): Likewise. (coff_write_alien_symbol, coff_write_native_symbol): Likewise. (coff_write_symbols): Add local variables to replace removed global variables.
1995-09-25Better reloc supportMichael Meissner2-25/+78
1995-09-25Fix previous changeMichael Meissner2-6/+11
1995-09-25 * libcoff-in.h (struct coff_section_tdata): Add offset, i,Ian Lance Taylor3-22/+40
function, and line_base fields. * libcoff.h: Rebuild. * coffgen.c (coff_find_nearest_line): Use section tdata to cache information, rather than using static variables.
1995-09-25 * sunos.c (sunos_read_dynamic_info): Adjust offsets in an NMAGICIan Lance Taylor2-0/+17
file. From Peter DeWolf <pld@amt.tay1.dec.com>.
1995-09-25 * gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constantsIan Lance Taylor2-0/+14
test.
1995-09-25 * config/tc-arm.c (md_atof): Output little endian constants inIan Lance Taylor1-0/+6
little endian mode.
1995-09-25 * configure.in: Call AC_HEADER_SYS_WAIT.Ian Lance Taylor3-13/+84
* configure: Rebuild. * config.in: Rebuild. * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to include <sys/wait.h> or define the wait macros by hand. Don't declare xmalloc. (gen_lib_file): Don't assume that sprintf returns the number of characters; use strlen instead.
1995-09-25 * init.c (initialized): Remove static variable.Ian Lance Taylor3-4/+8
(bfd_init): Don't bother setting initialized. (bfd_check_init): Remove. * opncls.c (_bfd_new_bfd): Don't call bfd_check_init. * libbfd.h: Rebuild.
1995-09-25 * configure.in: Fix typo: fmt-elf to fmt=elf.Ian Lance Taylor2-0/+5
1995-09-23 * rs6000-tdep.c (push_dummy_frame): Handle lr_offset of zeroPeter Schauer2-1/+5
correctly.
1995-09-23 * mdebugread.c (parse_partial_symbols): Reset includes_usedPeter Schauer4-436/+149
and dependencies_used after finishing the partial symbol table. * rs6000-nat.c (xcoff_relocate_core): Don't relocate data addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is defined. * xcoffread.c: gcc -Wall lint. Remove traceback table reading code. The existing code tried to add parameter information for functions compiled without -g, which cannot be done properly for optimized code and produced misleading parameter displays. (ef_complaint, eb_complaint): Make a local static copy to avoid dependency on coffread.c. (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab): Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only. (read_xcoff_symtab): Ignore C_STAT section auxiliary entry symbols. Complain about unmatched .ef and .eb symbols instead of segfaulting. (process_xcoff_symbol): Determine value of C_GSYM symbols via the global_sym_chain mechanism in stabsread.c. (xcoff_new_init): Call stabsread_new_init and buildsym_new_init. (init_string_tab): Initialize length field bytes in the strtbl. (scan_xcoff_symtab): Skip symbols that start with `$' or `.$'. Set first_fun_line_offset for symbols with two auxents only.
1995-09-23 * rs6000-core.c (rs6000coff_core_p): Don't check the core filePeter Schauer2-35/+83
size for full core dumps. Copy core file header to private data. (rs6000coff_core_file_failing_command, rs6000coff_core_file_failing_signal): New functions to extract the file name and terminating signal from the core file. * coff-rs6000.c: Use them.
1995-09-22 * ldfile.c (ldfile_set_output_arch): Make arch const.Ian Lance Taylor1-0/+4
1995-09-22 Change arch info to be const, initialized at compile time.Ian Lance Taylor9-90/+86
* archures.c: Reindent many functions. Change CONST to const. (bfd_arch_info_type): Make arch_name const. Remove disassemble; nothing set it anyhow. Make next const. (bfd_arch_info_list): Remove. (bfd_archures_list): Rename from archures_init_table. Change from a table of function pointers to a table of bfd_arch_info_type structure addresses. (bfd_scan_arch): Rewrite accordingly. Return a const pointer. (bfd_lookup_arch): Likewise. (bfd_set_arch_info): Rewrite accordingly. Change argument to be a const pointer. (bfd_default_arch_struct): Make const. (bfd_arch_init, bfd_arch_linkin): Remove. (bfd_get_arch_info): Return a const pointer. * init.c (bfd_init): Don't call bfd_arch_init. * bfd.c (struct _bfd): Make arch_info const. * bfd-in2.h: Rebuild. * libbfd.h: Rebuild. * configure.in: Put & before everything in $selarchs. * configure: Rebuild. * cpu-*.c: Change bfd_*_arch from a function which calls bfd_arch_linkin to a const structure. * ieee.c (ieee_object_p): Make arch const.
1995-09-22 * objdump.c (disassemble_data): Don't use the old BFD basedIan Lance Taylor1-0/+5
disassembler interface. Make info a const pointer.
1995-09-22start at handling branch taken/branch not taken hints.Michael Meissner2-32/+47
1995-09-22Start work to all full PowerPC V.4 reloc support.Michael Meissner4-40/+119
1995-09-22 * cfg-ml-com.in (m68*-*-*): Only build multilibs forDavid Edelsohn2-2/+30
embedded m68k systems (-aout, -coff, -elf, -vxworks). (--with-multilib-top): Pass to recursive invocations.
1995-09-22minor cleanupMichael Meissner1-1/+1
1995-09-22minor cleanupMichael Meissner1-2/+0
1995-09-22Add support -mrelocatable-libMichael Meissner2-24/+42
1995-09-22do not set EF_PPC_RELOCATABLE for -mrelocatable-libMichael Meissner2-1/+6
1995-09-21Default stack creation; fixup last change.Michael Meissner1-1/+5
1995-09-21enhance OEA behavior.Michael Meissner3-9/+171
1995-09-21Locate __bss_start at the real start of bss.Michael Meissner2-3/+20
1995-09-21 * subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.Ian Lance Taylor2-15/+51
* expr.c (expr): Account for new operatorT values in know expression. * write.c (fixup_segment): Clear fixp->fx_subsy if the relocation is fully resolved.
1995-09-21add -mrelocatable-lib, -memb supportMichael Meissner2-10/+56