aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-03-28Mon Mar 28 12:35:00 1994 David Edelsohn (edelsohn@npac.syr.edu)Ian Lance Taylor2-0/+2422
* config/tc-ppc.c (md_parse_option): Add -mpwrx (POWER/2 aka RIOS2), -mpwr (POWER aka RIOS1), -mppc (PowerPC aka MPC603/604), and -many (all architectures).
1994-03-28Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)Ian Lance Taylor2-74/+115
* ppc-opc.c: Define POWER2 as short alias flag. (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and fsqrt.
1994-03-28 * gdb.t07/gdbme.c: More code for watchpoint testing.Jeff Law1-0/+9
* gdb.t07/watchpoint.exp: Accept both "Watchpoint" and "Hardware watchpoint" throughout file. (test_watchpoint_triggered_in_syscall): New test. (test_complex_watchpoint): New test.
1994-03-28 * More fixes for object formats which allow multiple sectionsJeff Law2-16/+91
with the same name: * objcopy.c (setup_section): Make a new output section even if one already exists with the given name. (copy_section): Use isection->output_section rather than trying to look the output section up by its (possibly non-unique) name.
1994-03-27 * gas/hppa/reloc/funcrelocbug.s: New test.Jeff Law3-0/+197
* gas/hppa/reloc/reloc.exp: Run it.
1994-03-27 * config/tc-hppa.c (tc_gen_reloc): Set addend for relocationJeff Law2-24/+38
involving a function symbol which is not a plabel to zero. (md_apply_fix): Never pass a function symbol to field_adjust.
1994-03-27Arg. Forgot this in yesterday's cvs commit.Jeff Law1-8/+41
1994-03-26 * som.c (som_get_section_contents): New function. Do not tryJeff Law2-1/+23
to actually read data from a section that doesn't have either SEC_LOAD or SEC_DEBUGGING set (eg $BSS$) just return true.
1994-03-26 * configure: Make unrecognized options give nonfatal warningsDavid MacKenzie2-9/+18
instead of fatal errors, and pass them to any subdirectory configures in case they recognize them. Make --x equivalent to --with-x.
1994-03-26 * libbfd.c (bfd_read): Set bfd_error as appropriate for a shortJeff Law16-1196/+1011
read. (bfd_error_system_call or bfd_error_file_truncated). * som.c: Do not blindly set bfd_error_system_call after a failing bfd_read, bfd_write, or bfd_seek. In a few places (like som_object_p) override the error status set by bfd_read. * aix386-core.c, aout-encap,c archive.c, bout.c: Likewise. * coff-rs6000.c, coffgen.c ecoff.c, elf.c: Likewise. * elf32-hppa.c, elfcode.h, hp300hpux.c, i386lynx.c: Likewise. * nlm32-alpha.c, nlm32-i386.c, nlm32-sparc.c: Likewise. * som.c: Check return values from several bfd_{seek,read,write} calls that we just assumed were not failing.
1994-03-26 * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.Jim Kingdon3-4/+20
* stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to combining all 'p' and 'r' pairs into a LOC_REGPARM.
1994-03-26 * command.c (do_setshow_command, case var_string): Never add aJim Kingdon4-1/+22
space to the end of the string. * NEWS: Document this change. * .gdbinit: Add a space to the "set prompt" command.
1994-03-26 * configure: Add --enable-* options. Clean up usage message andDavid MacKenzie2-25/+38
some comments.
1994-03-26 * buildsym.c (start_subfile, patch_subfile_names), demangle.cJim Kingdon2-6/+9
(set_demangling_style, set_demangling_command): Use savestring not strdup. We were not dealing properly with a NULL return from strdup, and were not declaring strdup (the system header may or may not have it).
1994-03-26 * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minorJim Kingdon4-40/+93
changes to make it compile (it doesn't link yet).
1994-03-26Work around texinfo glitch (@item vs @cindex).Roland Pesch1-24/+25
1994-03-26Updates for Hitachi targets.Roland Pesch1-7/+64
1994-03-26 * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,Jim Kingdon1-0/+1
tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
1994-03-26 * valprint.c (val_print): Remove inaccurate comment about whatJim Kingdon1-3/+7
types can be stub types.
1994-03-26 * hosts/sysv4.h (HAVE_PROCFS): Add comments about ptx4.Jim Kingdon3-10/+32
* config/sysv4.mh: Add comment. * config/symmetry.mh: Change comment. * configure.host: Use sysv4, not symmetry, for i[34]86-sequent-sysv4*.
1994-03-26 * hppa-tdep.c (skip_prologue): Do nothing if not at the beginningJeff Law2-18/+135
of a function. (skip_trampoline_code): Rewrite and add support for argument relocation stubs stubs, import/export stubs, calls through "_sr4export" and cascaded trampolines.
1994-03-26 * gdbme.c (call_with_trampolines): New function to try and stepJeff Law1-0/+9
into. Tests trampoline problems on the PA. * funcargs.exp (localvars_in_indirect_call): No longer expect stepping into indirect call to fail on PAs. (test_stepping_over_trampolines): New test.
1994-03-26Forgot this in recent commit.Jeff Law1-36/+44
1994-03-26Stu apparantly forgot to update the .Sanitize file when he addedSean Eric Fagan1-0/+1
tm-alphanw.h.
1994-03-26 * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.Jim Kingdon14-8/+680
* symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior): Supply alternate version if ATTACH_DETACH is not defined. * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt, tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files. * configure.in: Recognize i[34]86-sequent-sysv4* host.
1994-03-26new for ptxJim Kingdon2-0/+0
1994-03-26new for ptxJim Kingdon4-0/+0
1994-03-25new for ptx4Jim Kingdon1-0/+0
1994-03-25new for ptx4Jim Kingdon1-0/+0
1994-03-25new for ptx4Jim Kingdon1-0/+0
1994-03-25 * config/obj-aout.c (obj_aout_frob_symbol): If N_EXT is set for anIan Lance Taylor2-5/+36
N_INDR symbol, set BSF_EXPORT and clear BSF_LOCAL.
1994-03-25 * config/tc-mips.c (append_insn): If EMBEDDED_PIC, don't swap aIan Lance Taylor2-7/+71
branch with an instruction that uses $at, in case the branch is later expanded. (macro): If EMBEDDED_PIC, case M_JAL_A may use $at. (md_pcrel_from): If not OBJ_AOUT, return 4 for an undefined symbol to make it pcrel_offset. (tc_gen_reloc): If not OBJ_AOUT, set the reloc addend to reloc->address; another gruesome hack to get gas reloc handling to do the right thing.
1994-03-25 Changes to support linker relaxing of embedded MIPS PIC code toIan Lance Taylor7-220/+1247
use a five instruction sequence for funtion calls which are out of range of the bal instruction. * libecoff.h (struct ecoff_section_tdata): Define. (ecoff_section_data): Define. (ecoff_bfd_relax_section): Don't define. * ecoff.c (ecoff_final_link_debug_accumulate): Don't read or free the debugging information if it has already been read. (ecoff_indirect_link_order): Handle _cooked_size being different from _raw_size. Don't reread the contents or the relocs if they have already been read in. * coff-mips.c (mips_howto_table): Change bitsize of PCREL16 from 18 to 16. (PCREL16_EXPANSION_ADJUSTMENT): Define. (mips_relocate_refhi): Take adjust argument. (mips_relocate_section): Handle reloc offsets stored in section used_by_bfd field. Call mips_relax_pcrel16 to handle details of expanding an out of range PCREL16. Keep trace of adjustments required by expansions. Set s and unset h when converting a reloc from undefined to section. Change handling of PC relative relocs: if against a section, they are correct in the object file, if against an external symbol they are pcrel_offset. (mips_relax_section): New function. (mips_relax_pcrel16): New function. (ecoff_bfd_relax_section): Define. * coff-alpha.c (ecoff_bfd_relax_section): Define. * ecofflink.c (bfd_ecoff_debug_accumulate): Handle adjustments built by mips_relax_section when writing out addresses. * elf32-mips.c (mips_elf_read_ecoff_info): Clear adjust field.
1994-03-25 * ldlang.c (print_input_section): For section size, useIan Lance Taylor2-11/+15
_cooked_size if it is non-zero, size otherwise. (size_input_section): Likewise. (lang_do_assignments): Likewise (case lang_input_section_enum).
1994-03-25 * ecoff.h (struct ecoff_debug_info): Add adjust field.Ian Lance Taylor2-42/+73
(struct ecoff_value_adjust): Define.
1994-03-25Fix typo in comment.Ian Lance Taylor1-1/+1
1994-03-25 * aoutx.h (NAME(aout,find_nearest_line)): The caller expectsIan Lance Taylor2-2/+271
functionname_ptr to be set to a symbol name, so prepend symbol_leading_char.
1994-03-25 * hppa-tdep.c (skip_prologue): Return "pc" not zeroJeff Law2-1/+4
if no unwind descriptor is found.
1994-03-25 * tm-hppa.h (NUM_REGS): Bump to 128 registers.Jeff Law2-13/+38
(REGISTER_NAMES): Add entries for "right-half" of FP registers. (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs differently. All registers are four bytes. (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are the same size. (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs. * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP registers as both single and double values (fetching 2nd 32bit half as necessary). Annotate each register printed with its precision.
1994-03-25 * paread.c (read_unwind_info): Fix off-by-one error.Jeff Law2-2/+6
1994-03-25* main.c (complete_command): Deal with it if arg is NULL.Jim Kingdon2-2/+14
1994-03-25* config/tc-alpha.c (alpha_ip): Only set GP prolog size if using PV register.Ken Raeburn1-0/+40
(T12): New macro. (emit_insn): New function. (md_assemble): Call it. (alpha_force_relocation): Handle BFD_RELOC_26, for call_pal instructions. (lituse_pending): New variable. Set by anything that generates a LITERAL reloc, cleared by anything that generates a LITUSE reloc, tested by code that might want to emit a LITUSE reloc. (emit_unaligned_io): New function. Currently calls md_assemble, but it should eventually be converted to generate the insn itself and call emit_insn directly. (emit_load_unal, emit_store_unal, emit_byte_manip_r, emit_extract_r, emit_insert_r, emit_mask_r, emit_sign_extend, emit_bis_r): Likewise. (alpha_ip, case 'I'): Handle with BFD_RELOC_23. (alpha_ip, label get_macro): Don't emit the final instruction if the opcode is zero. (alpha_ip, case 'B', subcase 'd'): New case, for subword and unaligned memory access macros. (md_apply_fix): Handle BFD_RELOC_26. Generate an error message if the value can't be resolved.
1994-03-25 * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise commentJim Kingdon2-9/+16
regarding using the PC--using the PC is necessary and all the FIXME comments in the world won't make it go away.
1994-03-25Netware debugger stub NLM.Stu Grossman14-0/+4070
1994-03-24 * ldlang.c (new_afile): Add new argument add_to_list. Don't setIan Lance Taylor2-112/+117
real to true for lang_input_file_is_marker_enum. Clear the_bfd. (lang_add_input_file): Pass true to new_afile for add_to_list. (lookup_name): Remove force_load argument. Changed all callers. Pass false to new_afile for add_to_list. Split loading of symbols out into separate function. (load_symbols): New function split out of lookup_name. Don't load the symbols if they are already loaded. (open_input_bfds): For lang_input_statement_enum call load_symbols rather than lookup_name. (lang_process): Pass abs_output_section rather than NULL to lang_size_sections. (lang_startup): Set real field of first_file to true.
1994-03-24Thu Mar 24 11:33:46 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain3-18/+47
* coff-h8300.c (h8300_reloc16_extra_cases): Add relaxing info for 16bit relative branches. * coff-h8500.c (r_high8, r_low16, r_high16): Don't complain on overflow.
1994-03-24 * valops.c (value_at, value_at_lazy): Give error if we dereferenceJim Kingdon3-8/+22
a pointer to void. * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID. * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types.
1994-03-24 * som.c (som_bfd_prep_for_ar_write): Ignore non-SOM objects.Jeff Law2-2/+30
(som_bfd_ar_write_symbol_stuff, som_write_armap): Likewise.
1994-03-24(NM_FOR_TARGET): Build tree version is now nm.new.David Edelsohn1-0/+8
1994-03-24 * stabsread.c (patch_block_stabs): Add comment about what happensJim Kingdon2-10/+9
if the definition is in another compilation unit from the stab.