aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-04-21 * libelf.h (elf_obj_tdata): Add members for dynamic symbol tablePeter Schauer5-28/+122
handling. * elfcode.h (bfd_section_from_shdr): Handle dynamic symbol table. * elfcode.h (elf_slurp_symbol_table): Take additional parameter to select static or dynamic symbol table and return number of symbols slurped or -1 on error. * elfcode.h (elf_get_symtab): Set bfd symcount from elf_slurp_symbol_table result. * elfcode.h (elf_get_dynamic_symtab_upper_bound, elf_canonicalize_dynamic_symtab): New functions to handle dynamic symbol table. * elf32-target.h, elf64-target.h (BFD_JUMP_TABLE_DYNAMIC): Change to handle dynamic symbol table, provide default definitions for dynamic relocs. * aoutx.h (howto_table_std, NAME(aout,swap_std_reloc_out), NAME(aout,swap_std_reloc_in), aout_link_input_section_std, aout_link_reloc_link_order): Handle r_jmptable and r_relative relocations.
1994-04-21 * nlmconv.c (secsec): New static variable.Ian Lance Taylor2-3/+84
(main): Create .nlmsections section in output BFD. Store information about it in sections header. (setup_sections): Allocate space in sections header. (copy_sections): Copy zero sized sections. Put information about each section in the sections header.
1994-04-21 * libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdrIan Lance Taylor3-20/+155
field. (nlm_cygnus_section_header): New accessor macro. * nlmcode.h (nlm_object_p): Free new tdata structure if failure. Add fixed sections before swapping in auxiliary headers. After adding sections, treat errors as real, not as wrong format. (nlm_swap_auxiliary_headers_in): Swap in the sections header; add sections to the BFD for each section it describes. (nlm_swap_auxiliary_headers_out): Swap out the sections header. (nlm_compute_section_file_positions): Account for the size of the sections header.
1994-04-21 * internal.h (struct nlm_internal_cygnus_section_header): Define.Ian Lance Taylor3-0/+33
* external.h (struct nlmNAME(external_cygnus_section_header): Define.
1994-04-21 * printcmd.c (print_command_1): Annotate the top-level expressionsJim Kingdon5-1/+88
that we print. (print_frame_args): Annotate each argument. * printcmd.c, defs.h (print_value_flags): New function. * cp-valprint.c (cp_print_value_fields): Annotate each field. * valprint.c (val_print_array_elements): Annotate each array element.
1994-04-20* config/obj-coff.h, config/obj-coff.c: Deleted all code used only whenKen Raeburn3-1744/+82
BFD_ASSEMBLER is not defined, and all conditionals relating to such code. No such targets remain. Fixes for stabs-in-coff: * config/obj-coff.c: Include subsegs.h. (coff_frob_section): New function. (obj_coff_init_stab_section): New function. * config/obj-coff.h (obj_coff_init_stab_section, coff_frob_section): Declare. (obj_frob_section): New macro; uses coff_frob_section. (INIT_STAB_SECTION): New macro; uses obj_coff_init_stab_section.
1994-04-20* config/tc-sparc.c (md_section_align): Always round up to multiple ofKen Raeburn1-1/+4
alignment power specified in bfd target vector.
1994-04-20* gasp.c: Include ctype.h.Ken Raeburn2-0/+5
1994-04-20* coff-sparc.c (sparccoff_vec): Change minimum alignment power to 2, so thatKen Raeburn1-0/+3
stab sections can be multiples of 4 bytes only.
1994-04-20* hosts/i386aix.h: Changes to avoid prototypes conflicts with the ones definedKen Raeburn2-3/+6
in stdlib.h. (From Minh Tran-Le.)
1994-04-20 * findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly,Peter Schauer1-0/+5
the register contains a pointer to the type, not the type itself.
1994-04-20 * main.c (main): Accept --annotate=N option and make --fullnameJim Kingdon5-13/+101
the same as --annotate=1. (command_line_input): Print annotatation before and after prompt. * blockframe.c (flush_cached_frames): Print annotation. * Rename frame_file_full_name to annotation_level and move it from symtab.h to defs.h. * source.c (identify_source_line): If annotation_level > 1, change output format. * breakpoint.c: Print annotation whenever a breakpoint changes. * main.c: New variable server_command. (command_line_input): Parse "server " and set server_command. (dont_repeat): Check server_command.
1994-04-20PowerPC NetWare changes.Ian Lance Taylor1-0/+12
1994-04-20start-sanitize-powerpc-netwareIan Lance Taylor3-14/+307
* nlm32-ppc.c: Complete rewrite for new version of PowerPC NetWare. Old code still present, but ifdeffed out. end-sanitize-powerpc-netware * nlmcode.h (nlm_swap_auxiliary_headers_in): Don't assume a particular format for the customer header. Allocate a block of memory and read it into that. (nlm_swap_auxiliary_headers_out): Write out the block of memory. (nlm_compute_section_file_positions): Include length of customer header when computing its size.
1994-04-20start-sanitize-powerpc-netwareIan Lance Taylor2-12/+40
* nlmconv.c (powerpc_build_stubs): Take new outbfd argument. Change caller. Create custom header for new PowerPC NetWare format. end-sanitize-powerpc-netware * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. * nlmheader.y: Include bfd.h with "", not <>.
1994-04-20nlm_custom_header changes.Ian Lance Taylor1-0/+22
1994-04-20 * internal.h (struct nlm_internal_custom_header): RemoveIan Lance Taylor2-107/+16
debugRecOffset and debugRecLength fields. Add data field. * external.h (struct nlmNAME(external_custom_header)): Remove debugRecOffset and debugRecLength fields.
1994-04-20 * stabs.texinfo (Stab Section Basics): Say what is in .stabJim Kingdon2-3/+14
section, and say n_strx field is compilation unit relative. * stabs.texinfo: Don't use @code for a.out when it is the name of an object file format.
1994-04-20* configure.in: Use mh-posix for sunos4.1*.Jim Kingdon1-0/+4
1994-04-20 * xcoffread.c (xcoff_next_symbol_text): Don't return beforeJim Kingdon2-5/+25
updating raw_symbol and symnum. Return a value in the case where we complained.
1994-04-20 * parse.c: Don't define block_found; it is defined in symtab.c.Jim Kingdon3-2/+5
* parser-defs.h: Add comment regarding block_found.
1994-04-20 * dstread.c, coffread.c: Don't define pending_blocks; buildsym.cJim Kingdon2-2/+5
takes care of it.
1994-04-20Add missing #endif.Jeff Law1-0/+1
1994-04-19 * configure.in: Add recognition of i[34]86-*-bsd386.Bill Cox2-0/+5
1994-04-19 * hppa-tdep.c (internalize_unwind_info): Delete unused indexpJeff Law2-3/+7
argument.
1994-04-19doc, obj-vms.c, ho-sysv.h changesKen Raeburn1-0/+17
1994-04-19added info on warning functions &cKen Raeburn1-0/+55
1994-04-19* Makefile.in, as.texinfo: Renamed asdoc-config.texi to asconfig.texi.Ken Raeburn1-13/+13
* Makefile.in (install-info-as, install-info-gasp): Get file names from source directory without pathname.
1994-04-19(VMS_write_object_file): While looking for register mask, skip empty fill fragsKen Raeburn1-0/+5
caused by enabling listing output.
1994-04-19Include string.h.Ken Raeburn1-0/+1
1994-04-18 * config/tc-hppa.c (pa_parse_space_stmt): Use the built-inJeff Law2-8/+45
defaults for defined, private, and spnum fields for the $TEXT$ and $PRIVATE$ spaces. Do not clobber spnum. Do not reset the segment if just updating a space. (pa_spaces_begin): Set BFD section flags for all built-in subspaces.
1994-04-18 * som.c (som_prep_headers): Get the space's number from theJeff Law1-0/+9
backend private section data rather than target_index. (bfd_som_set_section_attributes): Store the space's number in the backend private section data rather than target_index. * som.h (som_copyable_section_data_struct): Add space_number.
1994-04-18 * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols byPeter Schauer2-1/+19
section vma. Do not read dynamic relocs for sun3 executables to avoid BFD assertion message.
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law4-20/+46
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. * nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-18Fix typo.Jeff Law1-1/+1
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law2-2/+22
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-17 * paread.c (compare_unwind_entries): Delete function. It's beenJeff Law3-177/+217
moved into hppa-tdep.c. (read_unwind_info): Likewise. (pa_symfile_read): No longer call read_unwind_info. The unwind tables will be read in as they are needed. * hppa-tdep.c (compare_unwind_entries): New function. (read_unwind_info, internalize_unwinds): Likewise. (find_unwind_entry): Read in unwind information on demand.
1994-04-17 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David EdelsohnIan Lance Taylor2-1/+6
(edelsohn@npac.syr.edu).
1994-04-16* config.sub (sparc64-elf): Fix os.David Edelsohn2-4/+20
1994-04-15 * coff-a29k.c (reloc_processing): Always set the address of aIan Lance Taylor2-0/+21
R_IHCONST reloc to that of the immediately preceding R_IHIHALF. gas does this anyhow, but some other assemblers seem to leave garbage in the R_IHCONST address field.
1994-04-15Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs7-45/+69
* source.c (DIRNAME_SEPARATOR): New macro, replaces all references to : in search path processing. * defs.h (qsort): Rename argument in prototype. * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in some compilers. * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c (false): Eliminate usages.
1994-04-15 * bfd/archive.c: Consistently use ARFMAG; fromIan Lance Taylor1-0/+7
schwab@issan.informatik.uni-dortmund.de (Andreas Schwab). (_bfd_write_archive_contents): Use ARFMAG rather than '`' and '\012'. (bsd_write_armap): Likewise. (coff_write_armap): Likewise.
1994-04-15 * h8500-tdep.c (initialize_h8500_tdep, large_command):Steve Chamberlain4-7/+22
All references to value changed to value_ptrlage_command is now called big_command. All references to value changed to value_ptr. * remote-z8k.c (e7000_wait): Use target_waitstatus and SETSTOP * remote-hms.c (hms_wait): Timeout after five seconds. * ser-go32.c (dosasync_read): Poll if timeout < 0. * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted. * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
1994-04-15 * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.Steve Chamberlain1-5/+0
1994-04-15 * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.Steve Chamberlain1-2/+3
1994-04-15 * ecoff.c (first_proc_ptr): New static variable.Ian Lance Taylor1-0/+5
(add_procedure): Set first_proc_ptr if it hasn't been set. (ecoff_build_lineno): If the first procedure does not start at address zero, insert a dummy line to compensate.
1994-04-15 * ldlang.c (lang_size_sections): When relaxing, adjust theIan Lance Taylor2-1/+18
position of a padding statement, and adjust dot accordingly.
1994-04-15 * coff-mips.c (mips_relocate_section): When relaxing, adjust localIan Lance Taylor2-21/+54
relocs against the .text section as required. * ecofflink.c (bfd_ecoff_debug_accumulate): When relaxing, adjust PDR addresses as required.
1994-04-15 * ecoff.c (ecoff_emit_aggregate): Take fdr argument. Map fdrIan Lance Taylor2-46/+94
index through rfd map if it exists. Check for a couple of cases which gdb handles specially. Change all callers. (ecoff_type_to_string): Take fdr argument rather than aux_ptr and bigendian argument. Change all callers. (ecoff_print_symbol): Handle stStruct, stUnion and stEnum.
1994-04-15 * Makefile.in (bootstrap, bootstrap2, bootstrap3): Make gasp.newIan Lance Taylor1-0/+5
as well as as.new.