aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-02-28 * emultempl/hppaelf.em (hppaelf_finish): Update comments. ThisJeff Law1-0/+3
works again. Attach some output symbols to the stub file bfd.
1994-02-28 * elf32-hppa.h (hppa_look_for_stub_in_section): Fix typo. DeleteJeff Law4-19/+68
unused symbols argument. * elf32-hppa.c (hppa_elf_stub_reloc): Accept asymbol ** rather than asymbol * for original target symbol. All callers changed. Set reloc->sym_ptr_ptr appropriately. (hppa_elf_build_linker_stub): Set reloc->sym_ptr_ptr correctly. (hppa_elf_look_for_stubs_in_section): No longer need symbols argument. Use the output symbols when canonicalizing the relocs, creating them if necessary. * linker.c (_bfd_generic_link_output_symbols): Do not rebuild/clobber the output symbols if they already exist.
1994-02-28 * emultempl/hppaelf.em: Include elf32-hppa.h.Jeff Law2-4/+9
(file_chain): Add decl. (hppa_look_for_stubs_in_section): Delete decl. (hppaelf_finish): Reenable code. Do not pass symbols down to hppa_look_for_stubs_in_section.
1994-02-28Keep/lose mpw-READMEStan Shebs1-2/+2
1994-02-28Various entriesStan Shebs1-0/+13
1994-02-28Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-73/+105
* mpw-configure (prefix, mpw_prefix): Handle it. (ARCHDEFS): Add to makefile editing. (TDEPFILES, TM_FILE, XDEPFILES, XM_FILE, NAT_FILE): Add to makefile if defined. (mpw-edit-prefix): Use during makefile editing. * mpw-config.in (mmalloc, readline): Don't configure. * mpw-build.in (thisscript): Rename to ThisScript. Use mpw-build instead of BuildProgram everywhere. (mmalloc, readline): Don't build. * mpw-README: New file, basic documentation about the MPW port.
1994-02-27Sun Feb 27 15:41:10 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-1/+6
* mpw-make.in (DEBUG_BFD_SEND): Define in default compilation rule.
1994-02-27Sun Feb 27 15:22:36 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-2/+50
* targets.c (BFD_SEND, BFD_SEND_FMT): Add debugging versions that check all the pointer dereferences. Enabled via DEBUG_BFD_SEND. * bfd-in2.h: Rebuilt.
1994-02-27Sun Feb 27 15:22:36 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-6/+10
* srec.c (hex_value): Always set to a size of 256 bytes. (srec_init): Cosmetic changes.
1994-02-27 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,Peter Schauer1-1/+46
FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Define to make backtracing through the various sigtramp handlers work.
1994-02-27 * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP,Peter Schauer2-35/+118
FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Define to make backtracing through the various sigtramp handlers work. * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch the saved pc from ucontext on the stack for SVR4 signal handling.
1994-02-27 * elf32-hppa.c: Second half of major cleanup. More comments,Jeff Law3-947/+864
PARAMize and staticize rest of functions. Delete unused functions. Delete unused/unnecessary arguments to some functions. Group static vars together. Abort for bad errors until we have error code propogation working. Work on spacing and indention. Add FIXMEs for unresolved problems. Use enums rather than #defines for lots of things. Merge two functions which build linker stubs into a single function (so they can easily share a ton of common code).
1994-02-27Forgot to check these changes in yesterday.Jeff Law1-1/+186
1994-02-26Sanitization changes to reflect other comings and goingsStan Shebs1-3/+9
1994-02-26Set archdefs manually.Stan Shebs2-0/+8
1994-02-26Sat Feb 26 13:31:44 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-82/+17
* mpw-make (install): Replace with MPW-specific actions. * mpw-build.in: Remove, functionality subsumed in mpw-make.in.
1994-02-26Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-6/+29
* ar.c (do_quick_append): Pad with a genuine character 10, rather than whatever '\n' might happen to be.
1994-02-26Sat Feb 26 13:23:06 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-48/+19
* mpw-make.in (install): Moved here from mpw-build.in. * mpw-build.in: Removed, functionality in mpw-make.in
1994-02-26 * ldmain.c (write_map): Don't define. Removed all references.Ian Lance Taylor2-1/+14
Just use map_file or map_filename instead. (add_archive_element): Use minfo to write map information, not info_msg. (constructor_callback): Use fprintf to write map information, not info_msg. * ldmain.h (write_map): Don't declare. * ldgram.y (mri_script_command): Removed reference to write_map. * ldlang.c (lang_one_common): Likewise. * lexsup.c (parse_args): Likewise.
1994-02-26 * ecoff.h: Add casts to avoid warnings from SVR4 cc.Ian Lance Taylor1-0/+14
1994-02-26 * aout64.h: Add casts to avoid warnings from SVR4 cc.Ian Lance Taylor1-0/+33
1994-02-26 * aoutx.h, archive.c: Add casts to avoid warnings from SVR4 cc.Ian Lance Taylor7-92/+137
* ecoff.c, ecofflink.c, ecoffswap.h, srec.c: Likewise. * elf32-i386.c: Likewise. * elfcode.h (bfd_section_from_shdr): Make i unsigned; remove old #if 0 code. (elf_write_phdrs): Make i unsigned. (map_program_segments): Make i and n_left unsigned. (assign_file_positions_except_relocs): Make i unsigned. (write_shdrs_and_ehdr): Make count unsigned. (assign_file_positions_for_relocs): Make i unsigned. (NAME(bfd,elf_write_object_contents)): Make count unsigned. (section_from_elf_index): Make index argument unsigned.
1994-02-26 * reloc.c (_bfd_relocate_contents): Adjust handling of overflow toIan Lance Taylor1-9/+33
avoid depending upon right shifts of signed numbers, and to correct handling of src_mask with lower bits zero.
1994-02-26Fix typo in last change, print_filtered -> printf_filteredPeter Schauer1-1/+1
1994-02-26Various entries.Ian Lance Taylor1-0/+11
1994-02-26 * linker.c (_bfd_generic_link_write_global_symbol): Add missingIan Lance Taylor1-3/+8
break in switch.
1994-02-26 * elfcode.h: Don't include assert.h.Ian Lance Taylor1-3/+2
(swap_out_syms): Use BFD_ASSERT rather than assert.
1994-02-26 * hosts/i386v4.h (qsort, strtol): Remove incorrect and uselessIan Lance Taylor1-2/+0
declarations.
1994-02-26 * scripttempl/elf.sc: Force all sections to be aligned.Ian Lance Taylor2-12/+21
1994-02-26 * ldgram.y (section): Reverse the order of memspec_opt andIan Lance Taylor2-2/+6
fill_opt to avoid an ambiguity when both are used. * ld.texinfo: Changed accordingly.
1994-02-26 * libhppa.h (hppa_rebuild_insn): Moved here from elf32-hppa.c.Jeff Law3-1011/+618
* elf32-hppa.h (elf_hppa_tc_symbol): Add new arguments. (elf_hppa_tc_make_sections): Likewise. (elf_hppa_final_processing): Add extern decl. * elf32-hppa.c: First half of major cleanup. Add/cleanup lots of comments. PARAMize some static functions. Delete unused functions. Delete unused/unnecessary arguments to many functions. Group static vars together. Collapse common case statements together in many places. Use default case when possible instead of listing each case separately. Abort for bad errors until we get error code propogation working. Work on spacing and indention problems. Add FIXMEs for some unresolved problems. Delete hopelessly broken COMPLEX relocation support (it's never used anyway). (hppa_elf_rebuild_insn): Delete. Moved into libhppa.h. (elf_hppa_tc_symbol): Accept and use new arguments (symext chains). (elf_hppa_tc_make_sections): Likewise.
1994-02-26 * config/tc-hppa.c (hppa_tc_symbol): Call PA ELF BFD version.Jeff Law3-142/+34
(hppa_tc_make_sections): Likewise. (pa_build_symextn_section): Delete unused function. (hppa_tc_make_symextn_section): Likewise. (pa_export): Delete call to pa_build_symextn_section. * config/tc-hppa.h (hppa_tc_symbol): Add extern decl. (elf_hppa_final_processing): Delete extern decl. (hppa_tc_symbol): Delete extern decl.
1994-02-26 * format.c (bfd_check_format_matches): Initialize matching_vectorJeff Law2-1/+5
to keep gcc -Wall quiet. * elfcode.h (elf_slurp_reloca_table): Fix typo.
1994-02-26 * ldgram.y: Move include of ldlex.h back with other includes.Ian Lance Taylor2-4/+8
* ldlex.h (input_type): Don't initialize enum constants to particular values. * ldlex.l: Use a switch to return the right token based on input_type, rather than knowing that input_type has a value based on a token type.
1994-02-26 * ldgram.y (dirlist_ptr): Removed; not used.Ian Lance Taylor4-12/+22
* lexsup.c: Include ldver.h. * Makefile.in: Rebuilt dependencies.
1994-02-26Fri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com)Ian Lance Taylor2-2/+6
* ldlang.c (lookup_name): don't call bfd_set_gp_size. (ldlang_add_file): call it here instead.
1994-02-26 * ldgram.y: Include ldlex.h after %token decls, for byacc.David MacKenzie2-1/+8
1994-02-26 * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,Jim Kingdon7-26/+72
target.h, remote-es.c, remote-nindy.c: Don't set baud rate if baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; just use the global variable itself. When printing baud rate, don't print a baud rate if baud_rate is -1.
1994-02-26 * som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)"Jeff Law3-3/+42
not "sizeof (som_symbol_type *)". * elfcode.h (elf_get_symtab_upper_bound): Use "sizeof (asymbol *)" not "sizeof (asymbol"). Opps.
1994-02-26 * emultempl/hppaelf.em: First attempt to clean this file up.Jeff Law2-81/+155
Add comments in several functions as to their purpose and how they function (or my current best guess). Clean up horrible spacing and indention that never should have been accepted in the first place. Add FIXMEs for issues which need to be resolved. Disable linker-stub generation until it gets fixed. This allows the linker to at least work on simple code for testing purposes.
1994-02-25 * bfd.c (bfd_get_gp_size): Can't return gp value on an archive.Ian Lance Taylor2-47/+160
(bfd_set_gp_size): Can't set gp value on an archive.
1994-02-25 * config/obj-coffbfd.c (fill_section): Correct test for whether toIan Lance Taylor2-1/+8
fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).
1994-02-25 * srec.c (pass_over): Don't skip too many characters whenSteve Chamberlain2-6/+10
end of line seen.
1994-02-25Fix last patch.Ian Lance Taylor1-0/+1
1994-02-25 * ecoff.c (ecoff_sizeof_headers): Align result to 16 byteIan Lance Taylor2-21/+36
boundary.
1994-02-25 * ldlang.c (lang_size_sections): No longer static (PA ELF callsJeff Law3-18/+17
it via hppaelf_finish). Prototype moved into ldlang.h. (lang_process): Move problematic extra call to lang_size_sections into the PA ELF specific code. * emultempl/hppaelf.em (hppaelf_finish): Extra call to lang_size_sections moved here.
1994-02-25 * coffread.c (read_coff_symtab): Pass mst_file_* toJim Kingdon1-0/+6
record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT symbols in the minimal symbols regardless of SDB_TYPE.
1994-02-25 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail forJim Kingdon1-0/+7
next over recursive call. Revise the tests from that point on (which had been skipped) to match GDB's actual (correct) output. * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug with next over a breakpoint whose condition is false.
1994-02-25 * breakpoint.h (enum bptype): New type bp_through_sigtramp.Jim Kingdon4-61/+137
(bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP. * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP if we hit a bp_through_sigtramp breakpoint. Remove kludge which ignored bs->stop for a bp_step_resume breakpoint. * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint which performs one (the check_sigtramp2 one) of the functions which had been handled by the step_resume_breakpoint. For each use of the step_resume_breakpoint, make it still use the step_resume_breakpoint, use the through_sigtramp_breakpoint, or operate on both. Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what. When setting the frame address of the step resume breakpoint, set it to the address for frame *before* the call instruction is executed, not after.
1994-02-25 * mips-tdep.c (mips_print_register): Print integers usingJim Kingdon2-27/+49
print_scalar_formatted rather than duplicating all the CC_HAS_LONG_LONG and so on. (mips_push_dummy_frame): Use read_register_gen rather than using read_register and then putting it back in target format with store_unsigned_integer. If registers are more than 4 bytes, give an error rather than have some registers overwrite other registers. #if 0 unused include of opcode/mips.h.