aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-31 * coff-mips.c (mips_relocate_section): Don't convert a relocIan Lance Taylor1-0/+5
against an absolute symbol into a reloc against a section. PR 7880.
1995-08-31Thu Aug 31 08:00:14 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-81/+54
* coff-arm.c (coff_arm_reloc): Fix common size problem. (i3coff_object_p): Delete. Wed Aug 30 20:41:27 1995 steve chamberlain <sac@slash.cygnus.com> * coff-arm.c (deletemeacoff_arm_reloc): Deleted. (arm26): Not partial inplace. * coffcode.h (coff_compute_section_file_positions): Don't do page aligning if COFF_PAGE_SIZE isn't defined. * coffswap.h (coff_swap_scnhdr_in): Update image base correctly.
1995-08-31 * config/tc-arm.c (tc_gen_reloc): Delete duplicated code.David Edelsohn1-0/+4
1995-08-31 * dlltool.c (run): Add missing 3rd arg to waitpid.David Edelsohn2-11/+13
1995-08-31 * Makefile.in (run): Link in math library too.Jeff Law1-0/+1
1995-08-31 * interp.c (FPSCR, FPUL): Define.Jeff Law3-6/+94
(struct save_state): Add fields for floating point registers, FPSCR and FPUL. (sim_resume): Add 'F' for accessing floating point registers in the save state structure. * gencode.c: Add sh3e opcodes. (gensym): Define a buffer for int<->fp conversions. First cut at simulating sh3e instructions. Basic stuff should work; instructions using fpul and fpscr are completely untested... Sanitized away for now (sh3e).
1995-08-31 * configure.in: treat i386-win32 canadian cross the same asJason Molenda2-1/+13
i386-go32 canadian cross.
1995-08-31 * gencode.c (gensim): abort if an unknown opcode is encountered.Jeff Law2-9/+35
1995-08-31 * app.c (do_scrub_chars): Free saved_input when the from bufferIan Lance Taylor1-0/+5
exactly fills the to buffer.
1995-08-31Wed Aug 30 20:41:27 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-114/+91
* coff-arm.c (deletemeacoff_arm_reloc): Deleted. (arm26): Not partial inplace. * coffcode.h (coff_compute_section_file_positions): Don't do page aligning if COFF_PAGE_SIZE isn't defined. * coffswap.h (coff_swap_scnhdr_in): Update image base correctly.
1995-08-31 * rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes toKung Hsu2-48/+56
conform to GNU coding standards.
1995-08-30 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.David Edelsohn1-1/+5
Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic sparc64 insns.
1995-08-30(synth64.[ds]): New testcase.David Edelsohn3-0/+36
1995-08-30(prefetch.[sd]): New testcase.David Edelsohn4-0/+32
1995-08-30sparc prefetch insn stuff.David Edelsohn1-0/+8
1995-08-30 * sparc-opc.c (sparc_opcodes, prefetcha insn): Fix.David Edelsohn2-22/+143
(lookup_{name,value}): New functions. (prefetch_table): New static local. (sparc_{encode,decode}_prefetch): New functions. * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
1995-08-30 * config/tc-sparc.c (parse_keyword_arg, parse_const_expr_arg): New fns.David Edelsohn1-1/+7
(sparc_ip): Call them for asi, membar, and prefetch parsing.
1995-08-30Add some blank lines to improve readability.Jim Wilson2-4/+37
1995-08-30Correct comment on first line of file.Jim Wilson2-2/+299
1995-08-30 * Makefile.in (TOOL_PROGS): Include dlltool if needed.Steve Chamberlain2-21/+56
1995-08-30Keep the sparc subdir.David Edelsohn1-0/+1
1995-08-30(membar): New testcase.David Edelsohn3-0/+31
1995-08-30 * disassemble.c (disassembler): Handle bfd_mach_sparc64.David Edelsohn1-0/+2
1995-08-29 Put _iname in idata$7.Steve Chamberlain1-1/+1
1995-08-29 * coffswap.h (coff_swap_scnhdr_in): Don't always add IMAGE_BASE.Steve Chamberlain2-6/+13
Swap in PE header. * coffcode.h (coff_write_object_contents): Remove #if0ed code Only remove empty sections in PE inmage files.
1995-08-29 * config/tc-sparc.c (sparc_ip): Clean up ASI support.David Edelsohn2-14/+14
1995-08-29 * sparc-opc.c (asi): New static local.David Edelsohn3-39/+111
(sparc_{encode,decode}_asi): New functions. * sparc-dis.c (print_insn): Call sparc_decode_asi.
1995-08-29 * sparc.h (sparc_{encode,decode}_asi): Declare.David Edelsohn1-3/+6
1995-08-29Start of sparc generic testsuite.David Edelsohn4-0/+103
asi.[ds]: new test.
1995-08-29 * coff-arm.c (coff_rtype_to_howto): Deal with reloc 11.Steve Chamberlain2-106/+100
* coffcode.h (coff_write_object_contents): Remove #if0ed code Only remove empty sections in PE inmage files.
1995-08-29Tue Aug 29 13:50:21 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-238/+550
* libbfd.h, bfd-in2.h: regenerated. * coff-arm.c (aoutarm_std_relo): New entry at 11. (arm_reloc_type_lookup) : Understand type 11. * coff-i386.c (howto_table): fix name of rva type. (coff-i386_rtype_to_howto): Understand R_IMAGEBASE type. * coffcode.h (sec_to_styp_flags): .edata is data. (coff_compute_section_file_positions): Get page size right for PE. (fill_pe_header_info): Fix fields. (coff_write_object_contents): Remove end_of_image calc. (_bfd_coff_generate_reloc_section): Remove orphaned comment. * coffswap.h (coff_swap_scnhdr_in): Don't always add IMAGE_BASE. (coff_swap_scnhdr_out): Setup PE flags correctly. * reloc.c (BFD_RELOC_RVA): New field.
1995-08-29Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-159/+168
* dlltool.c (rva): Deleted. (rvaafter, rva_before): Use new assembler pseudo. (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. (gen_exp_file): Don't generate .edata if no need. (gen_lib_file): Don't make timestamp. (workout_prefix): Fix memory initialization bug. (usage): Tidy up, delete many single char options. (main): rva option is gone.
1995-08-29Tue Aug 29 13:20:27 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+12
* read.c (potable): Rva is new entry. (cons_worker): New, split from cons. Handles rva. (cons, s_rva): Call cons_worker. * read.h (s_rva): New declaration. * write.c (fixup_segment): Don't throw away rva relocs. * config/tc-arm.c (md_apply_fix, tc_gen_reloc): Handle RVA. * config/tc-i386.c (tc_coff_fix2type): Handle RVA. * config/tc-i386.h (TC_COUNT_RELOC): Remember RVAs. (TC_RVA_RELOC): New definition.
1995-08-29 * remote.c (remote_wait): Revert 19 July my change which should beKung Hsu1-0/+5
customer specific.
1995-08-28 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*Fred Fish8-3/+68
clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc compiled test. * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer): Add mips-sgi-irix5* xfail for not gcc compiled. * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci. * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for "p top", "whatis top", "p middle", and "whatis middle". * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for "whatis signed char" for not gcc compiled. * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for "set variable signed char=-1 (-1)" and "set variable signed char=0xFF (0xFF)" for not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled. Add mips-sgi-irix* xfail when not gcc compiled for "continue to call2b". Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for "continue to call2g". (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for "backtrace from call6a" (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail when not gcc compiled for "backtrace from call7a". (localvars_after_alloca): Fix gdb_test cmds for "print * after runto ...". Remove rs6000-*-* xfails for "print i after runto localvars_after_alloca" and "print l after runto localvars_after_alloca" for all compilers. * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5), when not compiled with gcc, for: "print signed char == (minus)", "print signed char != (minus)", "print signed char < (minus)", "print signed char > (minus)". * gdb.base/callfuncs.exp (do_function_calls): Add mips-sgi-irix* xfail, when compiled with native compiler, for "call inferior func with struct - returns char *". * gdb.base/return.exp (return_tests): Change xfail for "correct value returned double test" to include Solaris 2.4. * gdb.base/funcargs.exp (float_and_integral_args): Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1995-08-28 * config/tc-arm.c (do_swi): Allow optional leading '#'.David Edelsohn2-0/+4215
1995-08-27 * config/te-delta.h: Include obj-format.h.Ian Lance Taylor4-0/+11
* config/te-sco386.h: Likewise. * config/te-sysv32.h: Likewise.
1995-08-27 * app.c (scrub_file): Remove.Ian Lance Taylor1-0/+27
(scrub_from_file, scrub_to_file): Remove. (scrub_string, scrub_last_string): Remove. (scrub_from_string, scrub_to_string): Remove. (saved_input, saved_input_len): New static variables. (struct app_saved): Remove scrub_string, scrub_last_string, and scrub_file fields. Add saved_input and saved_input_len fields. (app_push): Adjust saved fields for changes in struct app_save. Initialize state and saved_input. (app_pop): Adjust saved fields for changes in struct app_save. (do_scrub_chars): Rename from do_scrub_next_char and rewrite to process a buffer at a time rather than a character at a time. (main, as_warn): Remove obsolete testing code. * as.h (do_scrub_next_char): Don't declare. (do_scrub_chars): Declare. (scrub_from_file, scrub_from_string): Don't declare. (scrub_to_file, scrub_to_string): Don't declare. * input-file.c (input_file_get): New static function. (input_file_give_next_buffer): Call do_scrub_chars rather than do_scrub_next_char. * read.c (scrub_string, scrub_string_end): New static variables. (scrub_from_string): New static function. (read_a_source_file): Call do_scrub_chars rather than do_scrub_next_char. (and comment change in input-scrub.c)
1995-08-26 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests forPeter Schauer2-95/+62
enumeration bitfields if compiling with GNU C. * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path to empty' prompt.
1995-08-26 * mdebugread.c (parse_symbol): Handle sh.value of zero for enums.Peter Schauer5-17/+142
Determine signedness of enum type from enumerators. (parse_type): Handle btIndirect types, handle fBitfield for some non-member types. (upgrade_type): Use TYPE_FLAG_TARGET_STUB for arrays with unknown length. (cross_ref): Handle stIndirect forward reference to btTypedef. * stabsread.c (read_enum_type): Determine signedness of enum type from enumerators. * top.c (execute_command): Remove trailing whitespace from command arguments, except for `set' and `complete' commands. (validate_comname): Allow underscores in user defined command names. * values.c (modify_field): Change `Value does not fit in %d bits' error to a warning. Exclude sign extension bits of negative field values from fit check.
1995-08-25Only build PowerPC simulator if target is powerpc*-*-eabisimMichael Meissner9-38/+104
1995-08-25 * gasp.c (as_abort): New function.Ian Lance Taylor2-0/+18
* sb.c (sb_build): Revert yesterday's patch.
1995-08-25 * Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.Ian Lance Taylor1-0/+5
Just link against libiberty, not against $(LIBS).
1995-08-24Add powerpc*-eabisim support.Michael Meissner1-0/+69
1995-08-23 * ecoff.c (_bfd_ecoff_slurp_symbolic_info): Add parentheses to FIXIan Lance Taylor1-0/+5
expression to avoid compiler bug on HP-UX 9.01.
1995-08-23 * sb.c (sb_build): Undefine abort before calling it, since gaspIan Lance Taylor2-0/+6
does not provide as_abort.
1995-08-23Add PowerPC simulator from Andrew Cagney <cagney@highland.com.au>Michael Meissner36-20/+9971
1995-08-23Link in PowerPC simulator.Michael Meissner3-0/+14
1995-08-23 * coffcode.h (pe_value): Unansify.Steve Chamberlain1-0/+4
1995-08-23Add support for -disable switches in PowerPC multilibsMichael Meissner2-0/+138