aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
1994-02-25Add missing newline in einfo message.David MacKenzie1-1/+1
1994-02-25 * lexsup.c (parse_args): Use symbolic numbers for long options.David MacKenzie2-51/+77
Fix misunderstanding in -Y and -call_shared et al.
1994-02-25For some reason this directory was missing a .Sanitize file.Ian Lance Taylor1-0/+41
1994-02-25Make correspond to djm's last change.Ian Lance Taylor1-2/+2
1994-02-25 * configure.in (powerpc-*-elf*): New target; use ppc-elf32.Ian Lance Taylor9-2/+426
* config/ppc-elf32.mt: New file. * emulparams/elf32ppc.sh: New file. * emultempl/ppc.em: New file. * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
1994-02-25 Use getopt instead of lex and yacc to parse the command line.David MacKenzie10-850/+731
* ld.texinfo (Options): Document changes to option syntax. * Makefile.in: Update dependencies. * ldver.c (help): Tweak dashes in usage message. * ldgram.y (%union): Remove unused members. Remove %tokens for command line options; add ones for input types. (command_line): Rules removed. (file): Instead of command line, recognize an input type indicator, then use the nonterminal for that type. (defsym_expr): New nonterminal from code formerly in command_line. * ldlex.h: Declare parser input type enum and variable. Don't declare parse_line. * ldlex.l: Remove unused variables. Make some used ones static and comment them. (COMMAND): Start state and its rules removed. At start of yylex, return input state token if at start of input. (lex_redirect): Don't need to set yyout. (ldlex_command): Function removed. * ldmain.c (main): Instead of calling parse_line, set up the redirections and call yyparse directly. * ldmisc.c (vfinfo): If there's no input filename, print nothing, not "command line". * lexsup.c: Remove #if 0'd code. (parse_line): Function removed. (parse_args): Rewrite to use getopt_long_only. (set_default_dirlist): New function from code formerly in ldgram.y:command_line. (set_section_start): New function. * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose compiled-in link scripts in "{" and "}", as the grammar no longer wants them to be.
1994-02-25 * gdb.t00/help.exp: Comment out "help set print" tests just likeJim Kingdon1-0/+5
(and for same reason as) "help set" test.
1994-02-24H8/500 bits.Steve Chamberlain2-0/+5
1994-02-24Various H8/500 bits.Steve Chamberlain1-0/+4
1994-02-24* defs.h: Revert Kung change regarding FORCE_LONG_LONG.Jim Kingdon1-0/+4
1994-02-24keep coff_sparc.shKen Raeburn1-0/+1
1994-02-24keep coff-sparc.mtKen Raeburn1-0/+1
1994-02-24* read.c (potable): Added ".this_GCC_requires_the_GNU_assembler", which isKen Raeburn1-0/+7
ignored by gas, but will cause other assemblers to choke. Intended for use by gcc ports that require gas instead of native assemblers.
1994-02-24 * confiugre.in (hppa*-*-osf*): New configuration.Jeff Law5-0/+23
* config/pa/hppaosf.mt: New target makefile fragment. * config/pa/tm-hppao.h: New target include file.
1994-02-24 * gas/hppa/more.parse/parse.exp (no subspace test): Only expectJeff Law3-4/+11
a failure if gas is not producing an ELF object.
1994-02-24 * config/ho-hppaosf.h: Fix braino in test for ANSI-C.Jeff Law2-1/+5
1994-02-24 * rldefs.h: Define S_ISREG if necessary.Peter Schauer1-0/+1
1994-02-24 * dwarfread.c: Remove second inclusion of <sys/types.h>, whichPeter Schauer2-1/+2
causes problems if <sys/types.h> has no multiple inclusion protection.
1994-02-24 * exec.c (print_section_info): Print entry point for exec_bfd only.Peter Schauer2-2/+7
* ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case.
1994-02-24 * elfcode.h (elf_core_file_p): Check for core file e_machine matchPeter Schauer1-0/+5
like in elf_object_p.
1994-02-24 * Merge in changes from bash-1.13.5. Merge changes from glob/tilde.cPeter Schauer1-0/+15
into tilde.c and use it. Add system function declarations where necessary. Check for __GO32__, not _GO32_ consistently. * Makefile.in: Update dependencies. * rltty.c: Include <sys/file.h> to match include file setup in readline.c for rldefs.h. Otherwise we get inconsistent TTY_DRIVER definitions in readline.c and rltty.c. * bind.c, complete.c: Do not include <sys/types.h>, it is already included via sysdep.h, which causes problems if <sys/types.h> has no multiple inclusion protection. * readline.c (_rl_set_screen_size): Reestablish test for TIOCGWINSZ_BROKEN.