aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-01-28Comment change: Soften recommendations against supplying sym+addend operands,Ken Raeburn1-2/+5
since it works, and gas does it. It's merely wasteful of space.
1994-01-28New Alpha support files, based on files from CMU.Ken Raeburn4-0/+2819
Still to do: - fix floating-point handling - figure out if we can adapt to using ../opcodes/alpha-opc.h - gcc bootstrap testing - 32-bit mode support? - test cross-assembly
1994-01-28Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-29/+29
* ldlang.c (print_one_symbol, print_input_section): Print global symbols in symbol table again.
1994-01-28* as.h: If __GNUC__ and inline are both undefined, define inline away.Ken Raeburn6-310/+266
* write.c (cvt_frag_to_fill): Don't assume that fr_var for rs_align or rs_org frags will be 1. (relax_segment): For rs_align, if fr_var is not 1, complain if required padding is not a multiple of the size of the pad pattern. (fixup_segment): Leave gp-relative relocations alone. For pcrel relocations referring to the same segment, clear fx_pcrel when clearing fx_addsy. * as.h: Adjust comments on rs_align. * write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c: Query the fx_done field instead of fx_addsy to see if the fixup still needs to be applied. Set fx_done and clear fx_addsy both, for now. If TC_HANDLES_FX_DONE isn't defined, assume md_apply_fix will only clear fx_addsy, and set fx_done accordingly after returning. * config/tc-sparc.h (TC_HANDLES_FX_DONE): Define. * config/obj-coff.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Defined here, static. * config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before including aout/aout64.h. * write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false, don't write out a section symbol even if it's used in a relocation; assume relocations will handle section numbers somehow. Rename "punt_it" label to "punt_it_if_unused" to reflect it's true use. (EMIT_SECTION_SYMBOLS): Default to 1. (adjust_reloc_syms): Don't create a new symbol for an absolute reference; just use the absolute section symbol. (write_relocs): Make printout of reloc values dependent on flag DEBUG3, not DEBUG2. * config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0. * config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
1994-01-28* chardefs.h: Only declare strrchr if it is not #define'd.Jim Kingdon1-0/+4
1994-01-28whitespace/formatting changesKen Raeburn1-8/+9
1994-01-28 * symmisc.c (maintenance_print_symbols): Don't refer to the nameJim Kingdon1-0/+6
of the command in error message (the text was referring to the old name of the command). * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
1994-01-28whitespace/comment changesKen Raeburn1-13/+11
1994-01-28* symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Deleted.Ken Raeburn1-24/+20
(symbol_begin): Moved to end of file, so function inlining can work better. (fb_label_count, fb_label_max): Default C static initializers are sufficient. * symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Declarations deleted.
1994-01-27 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to printJim Kingdon2-8/+13
full details on structure elements without names. This partially reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect of those changes was accidental.
1994-01-27* atof-generic.c: Some reformatting.Ken Raeburn2-441/+503
(atof_generic): Be careful when mixing signed/unsigned values of different sizes.
1994-01-27 * read.c (lex_type): No longer make '{' a valid character forIan Lance Taylor2-1/+4
symbol names.
1994-01-27 * gdb.texinfo (Selection, Frame Info): Update information aboutJim Kingdon2-8/+20
arbitrary frame specficiations.
1994-01-27 * as.c (main): Print long values using %ld.Ian Lance Taylor2-1/+3
1994-01-27 * messages.c (as_warn_internal): New static function.Ian Lance Taylor2-11/+15
(as_warn, 3 versions): Use as_warn_internal. (as_warn_where, 3 versions): New function. * as.h (as_warn_where): Declare.
1994-01-27 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME isJim Kingdon1-0/+4
defined, make it an error to specify a single argument which is not a frame number.
1994-01-27 * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,David MacKenzie3-5/+29
exit successfully instead of complaining if no input files are given.
1994-01-27 * Makefile.in (version.c), main.c (print_gdb_version): UseJim Kingdon3-7/+13
host_alias and target_alias, not host_canonical and target_canonical, to print configuration.
1994-01-27 * linker.c (generic_link_add_symbol_list): If symbol is common,Ian Lance Taylor2-1/+13
set the BSF_OLD_COMMON flag.
1994-01-27 * gdb.t10/hppa.mt: A makefile fragment for the PA.Jeff Law1-0/+5
* gdb.t10/configure.in (hppa*-*-*): Use it.
1994-01-27 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type insteadJim Kingdon2-2/+17
of builtin_type_long. It is necessary to get a type which is TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
1994-01-27 Fix many sins which will come up in 32 bit x 64 bit GDB, andJim Kingdon4-14/+16
various miscellaneous things discovered in the process: * printcmd.c, defs.h (print_address_numeric): New function. * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), cp-valprint.c (cplus_print_value), infcmd.c (jump_command), printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: Use it. * utils.c, defs.h (gdb_print_address): New function. * expprint (dump_expression), gdbtypes.h: Use it. * breakpoint.c (describe_other_breakpoints), symmisc.c (dump_symtab, print_symbol): Use filtered not unfiltered I/O. (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well just run gdb under a debugger for this (and it had problems with printing addresses, how to print b->shadow, etc.). * buildsym.c (make_blockvector), core.c (memory_error), exec.c (print_section_info), maint.c (print_section_table), mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: Add comments saying code is broken. Marked with "FIXME-32x64". * dbxread.c (process_one_symbol), partial-stab.h (default), remote-vx.c (vx_run_files_info): Don't cast int being passed to local_hex_string. * symmisc.c (print_symbol): Don't cast long being passed to %lx. * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE only being a long. * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG and LOC_LOCAL. * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. * source.c: Include <sys/types.h> regardless of USG.
1994-01-27 Fix many sins which will come up in 32 bit x 64 bit GDB, andJim Kingdon18-254/+433
various miscellaneous things discovered in the process: * printcmd.c, defs.h (print_address_numeric): New function. * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), cp-valprint.c (cplus_print_value), infcmd.c (jump_command), printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: Use it. * utils.c, defs.h (gdb_print_address): New function. * expprint (dump_expression), gdbtypes.h: Use it. * breakpoint.c (describe_other_breakpoints), symmisc.c (dump_symtab, print_symbol): Use filtered not unfiltered I/O. (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well just run gdb under a debugger for this (and it had problems with printing addresses, how to print b->shadow, etc.). * buildsym.c (make_blockvector), core.c (memory_error), exec.c (print_section_info), maint.c (print_section_table), mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: Add comments saying code is broken. Marked with "FIXME-32x64". * dbxread.c (process_one_symbol), partial-stab.h (default), remote-vx.c (vx_run_files_info): Don't cast int being passed to local_hex_string. * symmisc.c (print_symbol): Don't cast long being passed to %lx. * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE only being a long. * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG and LOC_LOCAL. * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. * source.c: Include <sys/types.h> regardless of USG.
1994-01-26General editing pass prior to Net release.Roland Pesch3-258/+294
1994-01-26 * objcopy.c (filter_bytes): New function.David MacKenzie5-257/+398
(copy_section): Call it. (copy_options, copy_usage, copy_main): Add --byte option to activate it. Appropriate the -b option (which was an undocumented synonym for -F) for it, also. Add --interleave, -i option for additional control. (setup_section, copy_section, mangle_section): Renamed with no `s' on the end. * objcopy.1, binutils.texi: Document the new options. * objdump.c (display_target_tables, display_target_list): New functions broken out of display_info. Eliminate some magic constants. Use more meaningful variable names. (dump_bfd_header): New function broken out of display_bfd. (dump_section_header): New function broken out of dump_headers. (remove_useless_symbols): Don't shadow global variable name with parameter. (objdump_print_address): Fix backward test.
1994-01-26 * format.c (bfd_check_format_matches): Put the new entry in theDavid MacKenzie2-3/+8
correct element of matching_vector.
1994-01-26Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant withRob Savoye5-8/+8
everything else. (and now work recursively too)
1994-01-26More changes as suggested by Roland. Fix buglets so that it passes makeinfo.Jeff Law1-13/+12
1994-01-26 * Makefile.in: Format variable definitions consistently.Stan Shebs2-20/+25
(LD_PROG): Remove unnecessary variables from link command, change variable LOADLIBES to EXTRALIBS.
1994-01-26Add MPW/GM sanitizingStan Shebs1-5/+40
1994-01-26Tue Jan 25 20:01:55 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-0/+298
* mpw-xconfig.in: New file, mpw x mips configuration fragment. * mpw-em.c: New file, compressed version of em_mipsidt.c.
1994-01-26Tue Jan 25 19:54:19 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs6-13/+810
* mpw-config.in: New file, MPW configuration fragment. * mpw-build.in: New file, MPW build script fragment. * mpw-make.in: New file, MPW makefile fragment. (This file is semi-automatically generated from Makefile.in.) * ldfile.c (slash): If MPW, set to `:'. * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to prevent redefinition errors.
1994-01-26Removed objdump.hStan Shebs1-2/+1
1994-01-26Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-32/+18
* bucomm.c (print_arelt_descr): Change decl of `when' to time_t. * objdump.h: Removed.
1994-01-26Tue Jan 25 18:30:34 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-1/+36
* as.c (quiet_flag): New flag. (main): If -noquiet given, display execution time and memory used.
1994-01-25 * doc/{all.texi,as.texinfo}: Add documentation for HPPA port.Jeff Law3-146/+496
1994-01-25Add lib dir and utils-lib.exp.Rob Savoye2-0/+68
1994-01-25Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-2/+17
* ldmain.c (main): Compute and display total execution time. * ld.texinfo (-stats): Document the option.
1994-01-25 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.Peter Schauer1-0/+4
1994-01-25 * valops.c (value_assign): Set `type' after coercing toval.Peter Schauer4-18/+34
* c-valprint.c (c_val_print), ch-valprint.c (chill_val_print): Use extract_unsigned_integer to get the address of a reference.
1994-01-25 * reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2.Ian Lance Taylor2-1/+3
1994-01-25Correct comment.Ian Lance Taylor1-27/+70
1994-01-25Tue Jan 25 10:49:31 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs5-19/+60
* mpw-config.in (varargs.h, sys/*.h): Don't create when configuring. (host.h): Create with forward-include. * mpw-make.in (CFLAGS): Add -w flag. * mpw-build.in: New file, build script fragment.
1994-01-25Tue Jan 25 10:52:22 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-19/+23
* mpw-xconfig.in: Use forward-include to create include files.
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