aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-05-08 * config/abug.exp: New file for the older Motorola Bug monitorRob Savoye3-10/+32
that runs on the mvme13x series VME boards. * config/monitor.exp: Use the new config array for target settings if they exist.
1996-05-08 * target.c (debug_to_xfer_memory): Insert line breaks whenStan Shebs1-0/+5
dumping the memory block.
1996-05-07 * scripttempl/h8300.sc: Place ".tiny" sections rightJeff Law2-1/+11
after ".data" sections. * scripttempl/h8300h.sc: Place ".tiny" sections into the "tiny" memory region, 0xff8000 through 0xffff00. HMSE.
1996-05-07Add PPCbug boot record supportMichael Meissner3-0/+536
1996-05-07 * scripttempl/h8300.sc: Set the entry point to the value ofJeff Law3-2/+9
"_start" rather than the start of the text segment. * scripttempl/h8300h.sc: Likewise. So we can have data at the start of the text space.
1996-05-07Document semicolon usage.David Edelsohn1-346/+412
1996-05-07 * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.David Edelsohn1-0/+12
(gld${EMULATION_NAME}_place_section): New function. (hold_{section,use,text,rdata,data}): New static locals. (ld_${EMULATION_NAME}_emulation): Update orphan field. * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup. (INIT,FINI): Delete, unused. (.text): Document orphan .text.foo sections. (.rdata): Document orphan .rdata.foo sections. (.data): Document orphan .data.foo sections.
1996-05-07 * scripttempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.David Edelsohn1-10/+171
(gld${EMULATION_NAME}_place_section): New function. (hold_{section,use,text,rdata,data}): New static locals. (ld_${EMULATION_NAME}_emulation): Update orphan field.
1996-05-07 * scripttempl (h8300.sc, h8300h.sc): Place .rodata sectionsJeff Law3-8/+20
before .text sections in main ram. Gets "read only" data out of the instruction stream -- improves relaxing linker. HMSE.
1996-05-07 * coff-h8300.c (howto_table): Update names to match recentJeff Law1-0/+10
changes to include/coff/internal.h. Fix minor errors in the existing relocs. Add R_MOVL1 and R_MOVL2. (rtype2howto): Similarly. (h8300_reloc16_estimate): Rewrite to simplify, fix bugs in the existing relaxing code and peform more relaxing. (h8300_reloc16_extra_cases): Likewise. Simplify, cleanup, fix bugs and improve existing relaxing code. Add code for changing a 24/32bit absolute address into a 16bit absolute address. HMSE.
1996-05-07 * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET isIan Lance Taylor2-15/+30
non-zero before assuming this is a long file name. (w_strings): Likewise. (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name. * config/obj-coff.c (w_strings): Move declaration of i inside #ifdef block which uses it.
1996-05-07 * internal.h (R_JMPL2): Renamed from R_JMPL_B8 to beJeff Law1-0/+3
consistent with other similar relocs. Cleaning up while working on HMSE.
1996-05-07 * config/tc-h8300.c (do_a_fix_imm): Rename last argument toJeff Law1-0/+7
"relaxmode". Output relocs which identify various relaxing possibilities for mov.[bwl] instructions. (build_bytes): Pass in a relaxing mode to do_a_fix_imm. So the linker can identify more potential relaxations. HMSE.
1996-05-07 * internal.h (H8/300 specific relocs): Add comments betterJeff Law2-10/+56
explaining what each reloc is used for. (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2. (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2. (R_MOVL1, R_MOVL2): New relocs. More changes for the H8/300 relaxing linker. HMSE.
1996-05-07 * scripttempl/h8300h.sc: Use "eight", not "eightbit" for theJeff Law2-8/+19
8-bit region and 8-bit sections. HMSE.
1996-05-07 * reloc16.c (bfd_coff_reloc16_get_value): Handle commonJeff Law1-0/+5
symbols correctly. For the H8/300 relaxing linker.
1996-05-06 * config/tc-arm.h (TC_HANDLES_FX_DONE): Define.David Edelsohn1-0/+10
(MD_APPLY_FIX3): Define. * config/tc-arm.c (my_get_expression): Only watch for bad segments if OBJ_AOUT. (md_apply_fix3): Renamed from md_apply_fix. If pcrel reloc and symbol is in different section, undo effects of md_pcrel_from.
1996-05-06 * fork-child.c (fork_inferior), inferior.h: init_trace_fun nowStu Grossman12-271/+1962
returns a possibly modified pid. * inftarg.c (ptrace_him): Now returns pid; * m3-nat.c (m3_trace_him): Now returns pid; * infcmd.c (run_command): Minor cleanup. * infrun.c (wait_for_inferior): Add another check for one_stepped near where we read the pc to avoid erroneously setting random_signal for multi-threaded support. * procfs.c: Add support for Solaris LWPs. Remove def of LOSING_POLL. Many cleanups... Several workarounds for Solaris lossage. System call entry and exit are now handled by dynamically registered handlers. * (syscallname): Don't barf when handed an unknown syscall number. * (info_proc_syscalls): Ditto. * sol-thread.c: New file. Implements Solaris thread support. * symfile.c (symbol_file_add): Add call to target_new_objfile to notify target-dependent code about new symbol tables. * (clear_symtab_users): Call target_new_objfile to notify it of the removal of all symbol tables. * target.c (push_target): Make sure that to_close is non-zero before calling it. * target.h (target_new_objfile): Provide default. * config/alpha/nm-osf2.h: Define LOSING_POLL because this version of OSF can't hack using poll with /proc. * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be sol-thread-new-objfile. * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and add libthread_db.so.1 to NAT_CLIBS. * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and target_pid_to_str.
1996-05-06Fix INLN in bugapi to read a full lineMichael Meissner2-0/+343
1996-05-06Do not do XCOFF hoooks for ELF systemsMichael Meissner2-9/+17
1996-05-04 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjustJeff Law1-0/+5
any reloc with an LR% or RR% field selector for SOM. Fixes net bug.
1996-05-04 * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*Ian Lance Taylor1-0/+5
variables.
1996-05-04 * elfcode.h (elf_object_p): Reject generic ELF target ifPeter Schauer1-0/+8
e_machine matches an alternate machine code in a specific backend. * netbsd-core.c (netbsd_core_vec): Remove initializer for obsolete align_power_min field.
1996-05-04 * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol withIan Lance Taylor2-0/+8
SF_GET_STATICS set. (yank_symbols): Likewise.
1996-05-04 * Makefile.in (all-inet): Depend on all-perl.Tom Tromey2-1/+3
1996-05-03 * Makefile.in (inet-install): New target.Tom Tromey2-0/+7
1996-05-03 * sim-gdb.exp: Make the SH simulator allocate less space whenStan Shebs2-1/+17
it is targeted.
1996-05-03Make simulator build in a Canadian cross environmentMichael Meissner2-14/+81
1996-05-03 * coff-h8300.c (reloc_howto_type): Add howto entry forJeff Law2-3/+98
R_PCRWORD_B. (rtype2howto): Handle R_PCRWORD_B. (h8300_reloc16_extra_cases): Handle R_PCRWORD_B. (h8300_reloc_16_estimate): Likewise. Try to turn a 16bit pc-relative branch (R_PCRWORD) into an 8bit pc-relative branch (R_PCWORD_B). So we can turn 16bit pcrel branches into 8bit pcrel branches on the H8/300H. HMSE.
1996-05-03 * internal.h (R_PCRWORD_B): Define for the h8300 relaxingJeff Law2-0/+10
linker. HMSE.
1996-05-03 * objdump.c (disassemble_data): Don't refer to bytes past the endIan Lance Taylor1-0/+5
of data.
1996-05-03 * aoutx.h (translate_from_native_sym_flags): Set the section forIan Lance Taylor1-0/+3
BSF_CONSTRUCTOR symbols.
1996-05-03 * cofflink.c (_bfd_coff_link_input_bfd): Correct setting ofIan Lance Taylor2-12/+77
last_bf_index.
1996-05-03 * Makefile.in (all-inet): Depend on all-tcl.Tom Tromey2-0/+11
(all-inet): Depend on all-send-pr.
1996-05-03 * gdbtk.tcl (debug_interface): New global, use to aid debugging.Stan Shebs2-56/+84
(insert_breakpoint_tag, delete_breakpoint_tag): Fix range. (file_popup_menu): Delete, never used. (listing_window_popup): Rename from listing_window_button_1, remove breakpoint toggling code. (toggle_breakpoint): New procedure. (create_file_win): Bind popup menu to button 2, toggle breakpoints with button 1 in breakpoint area, add display of tagged areas if debugging on.
1996-05-02 * From Peter Schauer:Jeff Law3-81/+179
* breakpoint.h (enum bpdisp): Add del_at_next_stop. * breakpoint.c (insert_breakpoints, watchpoint_check, bpstat_stop_status): Avoid bad references to memory freed via delete_breakpoint on watchpoints going out of scope. Do not delete these watchpoints, disable them and change their disposition to del_at_next_stop instead. (breakpoint_auto_delete): Delete all breakpoints whose disposition is del_at_next_stop. (breakpoint_init_inferior): Use switch to avoid reference to already deleted breakpoint. Fixes dangling pointer problems with watchpoints.
1996-05-02 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtraceJeff Law1-0/+20
test.
1996-05-02tweak last changeIan Lance Taylor2-7/+9
1996-05-02 * coffcode.h (styp_to_sec_flags): Handle long symbol namesIan Lance Taylor2-6/+9
when looking for the section symbol.
1996-05-02 * coffcode.h (coff_write_object_contents): In comdat section lookup,David Edelsohn2-14/+26
stop looking when section is found.
1996-05-02 * subsegs.h (segment_info_type): If MANY_SEGMENTS and notIan Lance Taylor3-33/+104
BFD_ASSEMBLER, add name field. * config/obj-coff.c (coff_header_append): Handle long section names. (crawl_symbols): Just use the name field for the symbol name, without worrying about null byte termination. (w_strings): Handle long section names. (write_object_file): Likewise. Also, use the name field, rather than scnhdr.s_name. (obj_coff_add_segment): Permit long section names. (obj_coff_init_stab_section): Use the name field, rather than scnhdr.s_name. (adjust_stab_section): Likewise. * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
1996-05-02 * coffcode.h (STRING_SIZE_SIZE): Define.Ian Lance Taylor3-6/+56
(bfd_coff_backend_data): Add _bfd_coff_long_section_names field. (bfd_coff_long_section_names): Define. (coff_write_object_contents): Handle long section names. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * coffgen.c (make_a_section_from_file): Handle long section names. (coff_write_symbols): Handle long section names. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. * coff-mips.c (mips_ecoff_backend_data): Likewise. * pe-arm.c (COFF_LONG_SECTION_NAMES): Define. * pei-arm.c (COFF_LONG_SECTION_NAMES): Define. * pe-i386.c (COFF_LONG_SECTION_NAMES): Define. * pei-i386.c (COFF_LONG_SECTION_NAMES): Define. * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define. * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define.
1996-05-02 * internal.h (SCNNMLEN): Define.Ian Lance Taylor2-4/+30
(struct internal_scnhdr): Use SCNNMLEN for s_name field.
1996-05-02 * Makefile.in (rs6000-nat.o): Dependant on xcoffsolib.h.Fred Fish7-17/+69
* config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... * config/rs6000/rs6000.mt (TDEPFILES): ... to here * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. (solib_info): Call xcoff_relocate_symtab via the hook. (sharedlibrary_command): Ditto. * xcoffread.c: Remove all FAKING_RS6000 comments and defines. (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. (xcoff_init_loadinfo_hook): Define and initialize here. (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. * rs6000-nat.c (_initialize_core_rs6000): Add initialization of xcoff_relocate_symtab_hook.
1996-05-02 * ldlang.c (section_already_linked): Fix typos.David Edelsohn2-3/+7
1996-05-01 * bout.c (b_out_callback): Set lma of sections.Ian Lance Taylor1-0/+7
(b_out_bfd_get_relocated_section_contents): Rename in_abfd parameter to output_bfd. Used input_bfd instead of output_bfd in several places.
1996-05-01 * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.Ian Lance Taylor1-0/+6
(mem_fmt): Likewise. (md_apply_fix): Don't check fx_im_disp field. Fixes problem introduced by September 5, 1995 change to fx_im_disp definition.
1996-05-01 * i386.h: Remove Abs32 from lcall.Ian Lance Taylor1-0/+10
1996-05-01 * aoutx.h (translate_from_native_sym_flags): Don't createIan Lance Taylor2-1/+12
SEC_CONSTRUCTOR sections. * ecoff.c (ecoff_set_symbol_info): Likewise.
1996-05-01 * elf32-mips.c (mips_elf_copy_private_bfd_data): Copy elf_gp.Ian Lance Taylor1-0/+5
From Don Bowman <bowman@waterloo.hp.com>.