aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-10-06Print exit status/signal number if -IMichael Meissner2-0/+21
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn1-0/+12
<schwab@issan.informatik.uni-dortmund.de> * m68k-dis.c (print_insn_m68k): Recognize all two-word instructions that take no args by looking at the match mask. (print_insn_arg): Always print "%" before register names. [case 'c']: Use "nc" for the no-cache case, as recognized by gas. [case '_']: Don't print "@#" before address. [case 'J']: Use "%s" as format string, not register name. [case 'B']: Treat place == 'C' like 'l' and 'L'.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn4-7/+39
<schwab@issan.informatik.uni-dortmund.de> * Makefile.in: Add dependecies for $(OBJS) on header files. * cg_print.c (print_cycle, print_members, cg_print_index): Fix new style output format to make it consistent. * dummy.c (find_call): Fix typo in error message.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn7-24/+34
<schwab@issan.informatik.uni-dortmund.de> * nm.c (print_symname): Don't try to demangle an empty name. * objdump.c (slurp_symtab): Reset symcount if there are no symbols. (slurp_dynamic_symtab): Likewise, for dynsymcount. (disassemble_data): Fix memory leak: free sorted_syms when done. (display_bfd): Likewise, for syms and dynsyms. (dump_relocs): Don't print header before possibly generating an error message. (dump_dynamic_relocs): Likewise. * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting bugs.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn2-46/+26
<schwab@issan.informatik.uni-dortmund.de> * ld/ld.1: Fix formatting bugs.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn1-0/+6
<schwab@issan.informatik.uni-dortmund.de> * config.sub (arm | armel | armeb): Fix shell syntax.
1995-10-06 * coffcode.h (bfd_coff_backend_data): Add new fieldIan Lance Taylor4-26/+115
_bfd_coff_print_aux. (bfd_coff_print_aux): New static function. (coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the scnlen field of an XTY_LD csect aux entry. (coff_print_aux): New static function. (coff_slurp_symbol_table): Don't pointerize scnlen field; now done in coff_pointerize_aux_hook. (bfd_coff_std_swap_table): Initialize new field. * coffgen.c (coff_print_symbol): Call bfd_coff_print_aux. * libcoff.h: Rebuild. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. * coff-mips.c (mips_ecoff_backend_data): Likewise.
1995-10-06 * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLGIan Lance Taylor2-1/+11
if there are symbols, for native AIX ld compatibility.
1995-10-06 * sb.c, macro.c: Decide whether to include <string.h> orIan Lance Taylor1-0/+5
<strings.h> just as as.h does.
1995-10-06 * coffcode.h (bfd_coff_backend_data): Add new fieldIan Lance Taylor6-35/+105
_bfd_coff_pointerize_aux_hook. (coff_pointerize_aux_hook): Define as a function if RS6000COFF_C or I960, and as 0 otherwise. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * coffgen.c (coff_pointerize_aux): Change parameters to take symbol pointer instead of type and class, and to take aux index. Call _bfd_coff_pointerize_aux_hook if it is defined. (coff_get_normalized_symtab): Always call coff_pointerize_aux. * coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields. * coff-mips.c (mips_ecoff_backend_data): Likewise.
1995-10-06 * interp.c (callback): Remove last change. It is initialized byJim Wilson1-0/+3
a sim_set_callbacks call.
1995-10-06 * interp.c (trap, case SYS_utime): Cast second arg of utime toJim Wilson2-1/+8
void * to avoid compiler error.
1995-10-06 * gas/arm/le-fpconst.[sd]: New testcase.David Edelsohn1-0/+1
1995-10-06(le-fpconst): New testcase.David Edelsohn3-0/+18
1995-10-06Changes to make the simulator work again.Jim Wilson3-7/+51
* callback.c (fdbad): Fix typo in comment. (os_close, os_isatty, os_lseek, os_read, os_write): Use if statements rather than || to get correct return value. (os_write_stdout): Pass missing first argument to os_write. * remote-sim.c: Include callback.h. (_initialize_remote_sim): Call sim_set_callbacks and then initialize the callbacks.
1995-10-06 * common/run.c (main): Initialize the callbacks.Jim Wilson2-0/+162
1995-10-06Add AIX multilib support; Add -mcall-aix/-mcall-aixdesc multilibs to ↵Michael Meissner2-2/+45
powerpc*-*-eabisim.
1995-10-06 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined forDavid Edelsohn1-0/+2
all coff targets.
1995-10-06* sysinfo.y: Eliminate unused terminals "[" and "]" and unused nonterminalKen Raeburn1-0/+5
"name". One s/r conflict remains.
1995-10-06 * coffcode.h (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXTIan Lance Taylor2-4/+2
if RS6000COFF_C.
1995-10-06 * gas/arm/arm.exp: Renamed from gas.exp.David Edelsohn1-0/+8
1995-10-06gas.exp renamed to arm.exp.David Edelsohn2-1/+1
1995-10-06 * Makefile.in (site.exp): Fix setting of $srcdir.David Edelsohn1-0/+6
* config/tc-arm.c (md_atof): Fix little-endian output.
1995-10-06Fix typo in last changeMichael Meissner2-1/+4
1995-10-06Add NT/MAC object file formats to powerpc eabi.Michael Meissner1-0/+5
1995-10-06 * targets.c (bfd_target): Add _bfd_read_ar_hdr field. ModifyIan Lance Taylor6-23/+82
BFD_JUMP_TABLE_ARCHIVE accordingly. * libbfd-in.h (_bfd_snarf_ar_hdr): Don't declare. (_bfd_compute_and_write_armap): Declare. (_bfd_generic_read_ar_hdr): Declare. (_bfd_read_ar_hdr): Define. (_bfd_noarchive_read_ar_hdr): Define. (_bfd_archive_bsd_read_ar_hdr): Define. (_bfd_archive_coff_read_ar_hdr): Define. * archive.c: Change all callers of _bfd_snarf_ar_hdr to call _bfd_read_ar_hdr instead. (_bfd_generic_read_ar_hdr): Rename from _bfd_snarf_ar_hdr. (_bfd_compute_and_write_armap): Rename from compute_and_write_armap. Make non-static. Change all callers. * ecoff.c (_bfd_ecoff_slurp_armap): Call _bfd_read_ar_hdr rather than _bfd_snarf_ar_hdr. * aout-target.h (MY_read_ar_hdr): Define if not defined. * ieee.c (ieee_read_ar_hdr): Define. * libecoff.h (_bfd_ecoff_read_ar_hdr): Define. * oasys.c (oasys_read_ar_hdr): Define. * som.c (som_read_ar_hdr): Define. * bfd-in2.h, libbfd.h: Rebuild.
1995-10-06 * coff-rs6000.c: Add full support for AIX archives. Rewrite oldIan Lance Taylor1-195/+702
read-only/host-only support.
1995-10-06 * coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to beIan Lance Taylor1-11/+13
BSF_LOCAL.
1995-10-06 * ar.c (do_quick_append): Comment out.Ian Lance Taylor1-0/+8
(replace_members): Add quick argument. (main): Don't call do_quick_append. (open_inarch): Don't call quick_append to create an empty archive. Instead call bfd_openw/bfd_set_format/bfd_close.
1995-10-06more vms work (mostly whitespace/comment cleanup) from Pat RankinKen Raeburn2-124/+124
1995-10-06* bucomm.c: Always include time.h.Ken Raeburn1-0/+4
1995-10-06* i386-dis.c: Describe cmpxchg8b operand, and spell the opcode name correctly.Ken Raeburn2-12/+33
1995-10-06pentium updatesKen Raeburn2-4/+39
1995-10-06split out ns32k doc like other cpusKen Raeburn3-0/+35
1995-10-06* sb.c, macro.c: Include string.h.Ken Raeburn3-10/+75
1995-10-06* Makefile.in (comparison): Only check *.o; we don't care if timestampsKen Raeburn2-2/+7
inserted by the native linker differ.
1995-10-06* config/tc-alpha.c (alpha_align): Only fill with a no-op pattern if alignmentKen Raeburn1-0/+6
stricter than 4 bytes is requested; in that case, align to a 4-byte boundary first.
1995-10-06 * values.c allocate_repeat_value): Allocate an array type, andPer Bothner4-123/+72
a value of that type; use that instead of setting VALUE_REPEATED. * value.h (struct value): Remove fields repetitions and repeated. (VALUE_REPEATED, VALUE_REPETITIONS): Removed, no longer used. * c-valprint.c, ch-valprint.c, eval.c, printcmd.c, valops.c, value.h, values.c: Simplify, since now VALUE_REPEATED is never used. * valprint.c (value_print_array_elemen): Removed never-used function.
1995-10-05 * parse.c (write_dollar_variable): New function.Per Bothner7-374/+123
* c-exp.y (yylex): Replace code for recognizing '$' pseudo-variables with a call to write_dollar_variable. Simplify grammar correspondingly. * f-exp.y: Likewise. * m2-exp.y: Likewise. * ch-exp.y: Likewise. (Remove function match_dollar_tokens.) * scm-exp.c (scm_lreadr): Call write_dollar_variable to handle '$'.
1995-10-05 * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiledIan Lance Taylor2-30/+69
symbols after other symbols with the same value. Likewise for symbols which look like file names. (objdump_print_address): Always chose the first reasonable symbol with a given value. PR 8148.
1995-10-05new file.Steve Chamberlain2-0/+6
1995-10-05 * interp.c (callback): Initialize to default callback.Steve Chamberlain2-22/+59
1995-10-05 * peicode.c (coff_swap_filehdr_in): If symptr isSteve Chamberlain1-0/+5
zero, there aren't any symbols, even if nsyms is set.
1995-10-05Thu Oct 5 13:27:30 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain11-125/+1138
* win32.c: New file; support for debugging on windows NT. * configure.in: (i[345]86-*-win32): New target. * configure: Regnerated. * eval.c (evaluate_subexp_standard): Remove unused name. * serial.c (gdb_string.h): Include. * source.c (value.h): Include. * config/i386/i386win32.mh (XDEPFILES): Add win32.o * config/i386/i386win32.mt: New. * config/i386/tm-i386win32.h: New.
1995-10-05 * configure.in: Allow configuration and build of emacs19 for the alpha.Brendan Kehoe2-3/+6
1995-10-05 * libecoff.h (struct ecoff_backend_data): Add adjust_headersIan Lance Taylor5-35/+188
field. * ecoff.c (ecoff_sec_to_styp_flags): Check for various Alpha sections, and set styp correctly for them: .got, .hash, .dynamic, .liblist, .rel.dyn, .conflic, .dynstr, .dynsym, .comment. (_bfd_ecoff_styp_to_sec_flags): Check for various Alpha section types. (ecoff_sort_hdrs): New static function. (ecoff_compute_section_file_positions): Return boolean, not void. Sort the sections by VMA before looking through them. Put the first non SEC_ALLOC section on a new page. Put every SEC_ALLOC section on an appropriate boundary within the page. (ecoff_compute_reloc_file_positions): Check return value of ecoff_compute_section_file_positions. (_bfd_ecoff_set_section_contents): Likewise. (_bfd_ecoff_write_object_contents): Check for various Alpha section types when incrementing text_size and data_size. Call adjust_headers backend function if it exists. * coff-alpha.c (alpha_adjust_headers): New static function. (alpha_ecoff_backend_data): Initialize adjust_headers field. * coff-mips.c (mips_ecoff_backend_data): Likewise. PR 8141.
1995-10-05 * ecoff.h: Define section name macros and STYP macros for variousIan Lance Taylor1-0/+6
Alpha sections: .got, .hash, .dynsym, .dynstr, .rel.dyn, .conflic, .comment, .liblist, .dynamic. PR 8141.
1995-10-05 * hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6.Ian Lance Taylor2-0/+5
1995-10-05 * configure.in (CC): Get ^CC, not just any old CC, fromJason Molenda2-1/+6
${host_makefile_frag}.
1995-10-05 * expression.h (enum exp_code): Added OP_NAME.Per Bothner9-265/+576
* expprint.c (print_subexp): Add OP_NAME support. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * scm-lang.c (scm_unpack, in_eval_c, scm_lookup_name): new function. * scm-lang.h: Declare builtin_type_scm; other minor tweaks. * values.c (unpack_long): If type is SCM, call scm_unpack. * scm-valprint.c (scm_val_print): Use extract_signed_integer, instead unpack_long * scm-lang.c: More Scheme expression parsing from here ... * scm-exp.c: ... to here. New file. Also, provide for gdb to evaluate simple constants and names.. * Makefile.in: Note new scm-exp.{c,o}.