aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-01-16 * Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,Mike Werner2-1/+43
and CHILL_LIB. * deja-gnu/gdb.t31/Makefile.in: removed explicit setting of CHILL variables as these are now passed down from the top level makefile using FLAGS_TO_PASS.
1993-01-15Basically a checkpoint for coff-mips.c.Ian Lance Taylor3-134/+1774
Fri Jan 15 18:13:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coff-msym.c (ecoff_swap_hdr_out, ecoff_swap_fdr_out, ecoff_swap_pdr_out, ecoff_swap_sym_out, ecoff_swap_ext_out, ecoff_swap_rndx_out, ecoff_swap_rfd_out, ecoff_swap_opt_in, ecoff_swap_opt_out, ecoff_swap_dnr_in, ecoff_swap_dnr_out): New functions. * coffswap.h: If NO_COFF_RELOCS is defined, don't define bfd_swap_reloc_in or coff_swap_reloc_out. * coff-mips.c: Added code to link and write out symbolic debugging information, and to swap relocs in and out.
1993-01-15Fri Jan 15 18:17:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor3-4/+69
* ecoff-ext.h: Added prototypes for new ECOFF swapping functions. (opt_ext): New structure. * mips.h (ZMAGIC): Defined to be 0413. (_LIB): Defined to be ".lib" (external_reloc): MIPS ECOFF relocs are only 8 bytes. Added macros to aid in swapping.
1993-01-15 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.Steve Chamberlain2-0/+6
1993-01-15Fri Jan 15 10:27:02 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+46
* Makefile.in (GCC_FLAGS_TO_PASS): New variable. (all-gcc, install-gcc, subdir_do): Use it.
1993-01-15Add a29k-udi.mt.Stu Grossman1-0/+1
1993-01-15Add paread.c.Stu Grossman1-0/+2
1993-01-15Oops! Forgot to do this one...Stu Grossman1-0/+20
1993-01-15 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead ofStu Grossman5-53/+107
read_memory to get byte order right. * hppah-tdep.c (find_unwind_info): Don't read in unwind info anymore. This is done in paread.c now. We expect unwind info to hang off of objfiles, and search all of the objfiles when until we find a match. * (skip_trampoline_code): Cast arg to target_read_memory. * objfiles.h (struct objfile): Add new field obj_private to hold per object file private data (unwind info in this case). * paread.c (read_unwind_info): New routine to read unwind info for the objfile. This data is hung off of obj_private. * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to the unwind info for this objfile. Also define OBJ_UNWIND_INFO to make this easier to access.
1993-01-14 * libcoff.h, coffgen.c (coff_count_linenumbers), coffcode.hSteve Chamberlain1-0/+9
(coff_write_object_contents): coff_count_linenumbers returns the number of line number records it found. * coffgen.c (coff_write_linenumbers): only write out line numbers in the section they belong to.
1993-01-14use the SYMBOL_VALUE macro -- from StuDavid D. Zuhn1-1/+1
1993-01-14 * c-valprint.c (cp_print_class_member): Add extern decl.Fred Fish7-198/+389
* c-valprint.c (c_val_print): Extract code for printing methods and move it to cp_print_class_method in cp-valprint.c. * c-valprint.c (c_val_print): Extract code to print strings and move it to val_print_string in valprint.c. * cp-valprint.c (cp_print_class_method): New function using code extracted from c_val_print. * valprint.c (val_print_string): New function using code extracted from c_val_print. * value.h (val_print_string): Add prototype. **** start-sanitize-chill **** * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type. * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL. * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE, CHECKBUF, growbuf_by_size): New variables, macros, and support functions for implementing a dynamically expandable temp buffer. * ch-exp.y (match_string_literal): New lexer function. * ch-exp.y (match_bitstring_literal): Dynamic buffer code removed and replaced with new CHECKBUF macro. * ch-exp.y (yylex): Call match_string_literal when appropriate. * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR. **** end-sanitize-chill ****
1993-01-14Rename uninstalled gcc driver from gcc to xgcc.Jim Wilson2-3/+28
1993-01-12chillrt depends on a C library (newlib)David D. Zuhn1-14/+12
1993-01-12Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor3-4/+49
* ldwrite.c: Removed perform_relocation, copy_and_relocate, and write_norel. All linking is now done via write_relax. Call ldsym_write before calling write_relax. * relax.c: Added copyright. (write_relax): Renamed from write_relaxnorel. Added relocateable argument. seclet_dump renamed to bfd_seclet_link. * relax.h: Added copyright.
1993-01-12Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor10-73/+176
* targets.c (bfd_target): Added relocateable argument to _bfd_get_relocated_section_contents. Added _bfd_seclet_link target vector for linker use. * bfd.c (bfd_seclet_link): New macro. * bfd-in.h (JUMP_TABLE): Added _bfd_seclet_link. * seclet.c (rel, seclet_dump_seclet): Added relocateable argument and boolean return value. Made static. (bfd_generic_seclet_link): Renamed from seclet_dump. Added relocateable argument. * reloc.c (bfd_generic_get_relocated_section_contents): Added relocateable argument (if relocateable, saves relocs). * bout.c (b_out_get_relocated_section_contents), reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): Added relocateable argument (if relocateable, just calls bfd_generic_get_relocated_section_contents). * libcoff-in.h (bfd_coff_reloc16_get_value): Added relocateable argument to prototype. * All targets: Set new _bfd_seclet_link vector to bfd_generic_seclet_link.
1993-01-12Updated for bfd changes.Ian Lance Taylor1-4/+12
1993-01-11 * ldmain.c (decode_library_subfile): Patch fromSteve Chamberlain1-0/+12
hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
1993-01-11add default CC compilers for Iris and DECstationDavid D. Zuhn1-0/+2
1993-01-10Use struct bfd_seclet * rather than bfd_seclet_type in prototypes toIan Lance Taylor3-6/+6
avoid requiring seclet.h before libcoff.h.
1993-01-10 * Makefile.in: Add info for paread.o.Stu Grossman2-1/+4
* config/hppahpux.mh: Add paread.o to NATDEPFILES.
1993-01-10 * coffgen.c: #include seclet.h.Stu Grossman2-0/+5
1993-01-10 * blockframe.c (frameless_look_for_prologue): Correct theStu Grossman7-155/+230
comment. * gdbtypes.h, gdbtypes.c: Use const in decl of cplus_struct_default, now that pa-gas assembler has been fixed. * hppah-nat.c: Formatting. * hppah-tdep.c: Remove lots of useless externs for variables we don't use. * (find_unwind_entry): Speed up by using binary search, and a one entry cache. * (rp_saved): New routine to see what unwind info says about RP being saved on the stack frame. * (frame_saved_pc): Look for prologue to see if we need to examine the stack for the saved RP or not. * (init_extra_frame_info): Check for prologue, instead of framesize to determine if we are frameless or not. * (frame_chain_valid): Stop backtraces when we run into _start. * (push_dummy_frame): Reformat to make more readable. * (find_dummy_frame_regs): ditto. * (hp_pop_frame): ditto. * (hp_restore_pc_queue): small cleanup. * (hp_push_arguments): ditto. * (pa_do_registers_info): ditto. * (skip_prologue): New routine created from SKIP_PROLOGUE macro. * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c. * Define FRAME_CHAIN_VALID. * Turn on BELIEVE_PCC_PROMOTION so that we can access char args passed to functions. * paread.c (pa_symtab_read): Use new bfd conventions for accessing linker symbol table. * (pa_symfile_init): Access embedded STAB info via BFD section mechanism and related macros.
1993-01-10 * hppa.c (hppa_object_setup): Get rid of all knowledge of stabsStu Grossman2-64/+37
debug info. Setup info about linker symbols only, and use standard bfd fields to hold the info. * (hppa_object_p): Remove unneeded decls. * (hppa_new_section_hook): Get rid of most of this. * libhppa.h (struct hppadata): Remove ten pounds of useless ugly fat. Remove all knowledge of stabs, remove redundant knowledge of linker symbols. * Remove macros for accessing fields which are now gone.
1993-01-10 * sparc-stub.c: Use a seperate stack for our traps.Stu Grossman2-88/+147
* Handle recursive traps. * Remove all trap init code. This needs to be done by the environment. * (set_mem_fault_trap): Call exceptionHandler() to setup this trap. * (handle_exception): See if we are at breakinst, if so, then advance PC sp that users can just step out of breakpoint(). * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to new place if SP has changed. * (case 's'): Get rid of this, we can't do it yet. * (case 't'): New command to test any old random feature. * (case 'r'): New command to reset the system. * (breakpoint): Add label to breakpoint trap instruction so that handle_exception() can detect where we are and get past the breakpoint trivially.
1993-01-09build lots of targets for HPPA (testing), add -J Sun3 CC, add sparclite ↵David D. Zuhn1-2/+8
targets for sun4
1993-01-09fix default emulations for nindy and sparc-vxworksDavid D. Zuhn1-0/+0
1993-01-08 * coffcode.h (sec_to_styp_flags): allow SEC_NEVER_LOAD to turn onSteve Chamberlain2-31/+60
STYP_NOLOAD bit. * coff-z8k.c: delete unused reloc functions
1993-01-08 Fix support for NOLOAD, add INCLUDESteve Chamberlain3-73/+112
* ldfile.c (ldfile_open_command_file): pass file name to lex_push_file. * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD attribute.
1993-01-08fix my default emulation changesDavid D. Zuhn1-5/+0
1993-01-08Basically a checkpoint.Ian Lance Taylor5-77/+1386
Fri Jan 8 15:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * bfd.c (struct _bfd): Added ecoff_tdata to tdata union. * targets.c (enum target_flavour): Added bfd_target_ecoff_flavour. * coff-msym.c: Use DEFUN for function definitons. * coff-mips.c: Added code to read and print symbols, and to find line numbers.
1993-01-08Fri Jan 8 16:37:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor2-0/+10
* bfd.h: Update to include ECOFF tdata and target_flavour.
1993-01-08Fri Jan 8 16:19:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor4-205/+394
* ecoff-ext.h: Added prototypes for ECOFF swapping functions. * internal.h (internal_scnhdr): Always provide s_align field, not just on i960. (internal_reloc): Always provide r_size field, not just on RS/6000. * mips.h (_RDATA, _SDATA, _SBSS, _LIT4, _LIT8, STYP_RDATA, STYP_SDATA, STYP_SBSS, STYP_LIT4, STYP_LIT8): Defined. (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB, STABS_SYMBOL): Moved in from gdb/mipsread.c.
1993-01-08Forgot to commit ChangeLog.Ian Lance Taylor1-1/+25
1993-01-08These changes cut the size of libbfd.a on a Sun4 by about 11%.Ian Lance Taylor8-2558/+3163
Somewhat more could be done. Fri Jan 8 15:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coffcode.h: Moved many generic functions into coffgen.c. Moved swapping functions into coffswap.h for ECOFF use. Moved relocation functions, only used by h8300 and z8k, into reloc16.c. Added hooks for coffgen.c functions to backend data structure, and added hook functions. Still more could be done. * coffswap.h: New file to hold COFF swapping routines. * coffgen.c: New file to hold generic COFF functions. * reloc16.c: New file to hold h8300 and z8k specific relocation functions. * libcoff-in.h: Added declarations for functions in coffgen.c. * libcoff.h: Rebuilt to incorporate changes. * coff-h8300.c: Function name changes. * coff-z8k.c: Function name changes. Use coff_reloc16_extra_cases hook rather than defining EXTRA_CASES. * Makefile.in: Build new files coffgen and reloc16. Added dependencies of coff-*.o on coffswap.h and seclet.h.
1993-01-08keep config-gas.com.Ken Raeburn1-1/+18
if purging v9, discard ChangeLog.v9, keep otherwise.
1993-01-08log for v9 workKen Raeburn1-0/+7
1993-01-08Add chillrt, h8300sim to sub dirs.Bill Cox1-2/+2
1993-01-08recognise all sparclite variantsDavid D. Zuhn1-1/+1
1993-01-07Second try.Ian Lance Taylor1-0/+20
* mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
1993-01-07Thu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-110/+3
* mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.
1993-01-07Keep mips-dis.c.Ian Lance Taylor1-0/+1
1993-01-07no more default emulationDavid D. Zuhn1-3/+1
1993-01-07Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1-0/+181
* mips-dis.c: New file, from gdb/mips-pinsn.c. * Makefile.in (DIS_LIBS): Added mips-dis.o. (CFILES): Added mips-dis.c.
1993-01-07update datesDavid D. Zuhn1-2/+2
1993-01-07Lots of changes from Eric Youngdale, mostly for VAX and VMS support.Ken Raeburn2-87/+222
1993-01-07Lots of changes from Eric Youngdale, mostly for VAX and VMS support.Ken Raeburn5-44/+148
Also, fix another goof in read.c, which caused ".data" not to work...
1993-01-07 * Makefile.in: Removed explicit setting of SUBDIRS. This gets doneMike Werner1-1/+5
by configure, using configure.in . **** start-sanitize-chill **** * configure.in: Added sanitization for chill to the setting of target_libs . **** end-sanitize-chill ****
1993-01-07redo (yet again) chill sanitization -- thanks perDavid D. Zuhn2-31/+40
1993-01-07revert chill Sanitize patchesDavid D. Zuhn4-46/+34