deliverable/binutils-gdb.git
31 years agoTue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 17:07:35 +0000 (17:07 +0000)] 
Tue Jan 19 09:06:14 1993  Ian Lance Taylor  (ian@cygnus.com)

* libcoff-in.h: Update prototype for coff_count_linenumbers.

31 years agoTue Jan 19 08:26:07 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 19 Jan 1993 16:27:13 +0000 (16:27 +0000)] 
Tue Jan 19 08:26:07 1993  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (gcc-no-fixedincludes): Made to work with current
gcc Makefile.

31 years agoClean up readline doc subdir to conform to normal
Roland Pesch [Mon, 18 Jan 1993 23:59:57 +0000 (23:59 +0000)] 
Clean up readline doc subdir to conform to normal
configure/distribution practices.

Makefile: remove, replacing with a configurable Makefile.in

texindex.c texinfo.tex: remove, replacing with references to tools elsewhere
                        in Cygnus distribution tree.

Makefile.in: configurable (and useable) Makefile.

configure.in: pro forma configure stub.

31 years agoUpdate GDB_SUPPORT_DIRS and GDB_SUPPORT_FILES.
Stu Grossman [Mon, 18 Jan 1993 23:30:48 +0000 (23:30 +0000)] 
Update GDB_SUPPORT_DIRS and GDB_SUPPORT_FILES.

31 years ago.Sanitize: Add 29k-share and sparclite.
Stu Grossman [Mon, 18 Jan 1993 22:47:55 +0000 (22:47 +0000)] 
.Sanitize:  Add 29k-share and sparclite.

31 years agoMakefile.in (FLAGS_TO_PASS): Balance (start-sanitize-chill) with (end-sanitize-chill).
Stu Grossman [Mon, 18 Jan 1993 22:46:10 +0000 (22:46 +0000)] 
Makefile.in (FLAGS_TO_PASS):  Balance (start-sanitize-chill) with (end-sanitize-chill).

31 years agonew file
Steve Chamberlain [Mon, 18 Jan 1993 21:32:32 +0000 (21:32 +0000)] 
new file

31 years agoMon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 18 Jan 1993 20:24:48 +0000 (20:24 +0000)] 
Mon Jan 18 11:58:45 1993  Ian Lance Taylor  (ian@cygnus.com)

* mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB,
MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in
include/coff/mips.h.

31 years agocheckpoint
Steve Chamberlain [Mon, 18 Jan 1993 20:24:47 +0000 (20:24 +0000)] 
checkpoint

31 years ago * c-exp.y (exp:STRING): Convert C strings into array-of-char
Fred Fish [Sat, 16 Jan 1993 05:15:58 +0000 (05:15 +0000)] 
* c-exp.y (exp:STRING):  Convert C strings into array-of-char
constants with an explicit null byte terminator.  OP_STRING is
now used for real string types.
* c-lang.c (builtin_type_*):  Move declarations to lang.c since
they are used by all languages.
* c-lang.c (_initialize_c_language):  Move initializations of
builtin_type_* to lang.c.
* c-typeprint.c (c_type_print_varspec_prefix,
c_type_print_varspec_suffix):  TYPE_CODE_PASCAL_ARRAY renamed
to TYPE_CODE_STRING.
* c-valprint.c (c_val_print):  Change the way character arrays
are printed as strings to be consistent with the way strings
are printed when pointer-to-char types are dereferenced.
Remove test of print_max before calling val_print_string, which
now does it's own test.
* eval.c (evaluate_subexp):  Add case for OP_ARRAY.
* expprint.c (print_subexp, dump_expression):  Add case for OP_ARRAY.
* expression.h (enum exp_opcode):  Add OP_ARRAY and document.
* gdbtypes.c (builtin_type_*):  Add declarations moved from
c-lang.c.
* gdbtypes.c (create_string_type):  New function to create real
string types.
* gdbtypes.c (recursive_dump_type):  TYPE_CODE_PASCAL_ARRAY
renamed to TYPE_CODE_STRING.
* gdbtypes.c (_initialize_gdbtypes):  Add initializations of
builtin_type_* types moved from c-lang.c.
* gdbtypes.h (enum type_code):  TYPE_CODE_PASCAL_ARRAY renamed
to TYPE_CODE_STRING.
* gdbtypes.h (builtin_type_string):  Add extern declaration.
* gdbtypes.h (create_string_type):  Add prototype.
* m2-lang.c (m2_create_fundamental_type):  TYPE_CODE_PASCAL_ARRAY
renamed to TYPE_CODE_STRING.
* m88k-tdep.c (pushed_size):  TYPE_CODE_PASCAL_ARRAY renamed to
TYPE_CODE_STRING.
* mipsread.c (_initialize_mipsread):  TYPE_CODE_PASCAL_ARRAY
renamed to TYPE_CODE_STRING.
* parse.c (length_of_subexp, prefixify_subexp):  Add case for
OP_ARRAY.
* printcmd.c (print_formatted):  Recognize TYPE_CODE_STRING.
* typeprint.c (print_type_scalar):  TYPE_CODE_PASCAL_ARRAY renamed
to TYPE_CODE_STRING.
* valops.c (allocate_space_in_inferior):  New function and
prototype, using code ripped out of value_string.
* valops.c (value_string):  Rewritten to use new function
allocate_space_in_inferior, but temporarily disabled until some
other support is in place.
* valops.c (value_array):  New function to create array constants.
* valprint.c (val_print_string):  Add comment to document use,
complete rewrite to fix several small buglets.
* value.h (value_array):  Add prototype.
* value.h (val_print_string):  Change prototype to match rewrite.
**** start-sanitize-chill ****
* ch-valprint.c (chill_val_print):  Add case for TYPE_CODE_STRING.
* ch-exp.y (match_character_literal):  Disable recognition of
control sequence form of character literals and document why.
**** end-sanitize-chill ****

31 years ago * Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,
Mike Werner [Sat, 16 Jan 1993 01:05:50 +0000 (01:05 +0000)] 
* Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,
  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.

31 years agoBasically a checkpoint for coff-mips.c.
Ian Lance Taylor [Fri, 15 Jan 1993 23:39:05 +0000 (23:39 +0000)] 
Basically a checkpoint for coff-mips.c.

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.

31 years agoFri Jan 15 18:17:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Fri, 15 Jan 1993 23:20:27 +0000 (23:20 +0000)] 
Fri Jan 15 18:17:00 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* 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.

31 years ago * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
Steve Chamberlain [Fri, 15 Jan 1993 20:07:26 +0000 (20:07 +0000)] 
* remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.

31 years agoFri Jan 15 10:27:02 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 15 Jan 1993 18:32:04 +0000 (18:32 +0000)] 
Fri Jan 15 10:27:02 1993  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (GCC_FLAGS_TO_PASS): New variable.
(all-gcc, install-gcc, subdir_do): Use it.

31 years agoAdd a29k-udi.mt.
Stu Grossman [Fri, 15 Jan 1993 00:09:20 +0000 (00:09 +0000)] 
Add a29k-udi.mt.

31 years agoAdd paread.c.
Stu Grossman [Fri, 15 Jan 1993 00:08:23 +0000 (00:08 +0000)] 
Add paread.c.

31 years agoOops! Forgot to do this one...
Stu Grossman [Fri, 15 Jan 1993 00:08:02 +0000 (00:08 +0000)] 
Oops!  Forgot to do this one...

31 years ago * hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
Stu Grossman [Fri, 15 Jan 1993 00:06:50 +0000 (00:06 +0000)] 
* hppa-pinsn.c (print_insn):  Use read_memory_integer, instead of
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.

31 years ago * libcoff.h, coffgen.c (coff_count_linenumbers), coffcode.h
Steve Chamberlain [Thu, 14 Jan 1993 23:56:04 +0000 (23:56 +0000)] 
* libcoff.h, coffgen.c (coff_count_linenumbers), coffcode.h
(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.

31 years agouse the SYMBOL_VALUE macro -- from Stu
David D. Zuhn [Thu, 14 Jan 1993 09:13:41 +0000 (09:13 +0000)] 
use the SYMBOL_VALUE macro -- from Stu

31 years ago * c-valprint.c (cp_print_class_member): Add extern decl.
Fred Fish [Thu, 14 Jan 1993 05:10:12 +0000 (05:10 +0000)] 
* c-valprint.c (cp_print_class_member):  Add extern decl.
* 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 ****

31 years agoRename uninstalled gcc driver from gcc to xgcc.
Jim Wilson [Thu, 14 Jan 1993 01:07:41 +0000 (01:07 +0000)] 
Rename uninstalled gcc driver from gcc to xgcc.

31 years agochillrt depends on a C library (newlib)
David D. Zuhn [Tue, 12 Jan 1993 08:12:55 +0000 (08:12 +0000)] 
chillrt depends on a C library (newlib)

31 years agoMon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Tue, 12 Jan 1993 00:47:20 +0000 (00:47 +0000)] 
Mon Jan 11 18:50:07 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* 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.

31 years agoMon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Tue, 12 Jan 1993 00:38:59 +0000 (00:38 +0000)] 
Mon Jan 11 18:32:22 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* 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.

31 years agoUpdated for bfd changes.
Ian Lance Taylor [Tue, 12 Jan 1993 00:19:41 +0000 (00:19 +0000)] 
Updated for bfd changes.

31 years ago * ldmain.c (decode_library_subfile): Patch from
Steve Chamberlain [Mon, 11 Jan 1993 23:51:52 +0000 (23:51 +0000)] 
* ldmain.c (decode_library_subfile): Patch from
hoogen@shafer.cs.utah.edu, don't reread library symbol tables.

31 years agoadd default CC compilers for Iris and DECstation
David D. Zuhn [Mon, 11 Jan 1993 21:07:26 +0000 (21:07 +0000)] 
add default CC compilers for Iris and DECstation

31 years agoUse struct bfd_seclet * rather than bfd_seclet_type in prototypes to
Ian Lance Taylor [Sun, 10 Jan 1993 20:35:41 +0000 (20:35 +0000)] 
Use struct bfd_seclet * rather than bfd_seclet_type in prototypes to
avoid requiring seclet.h before libcoff.h.

31 years ago * Makefile.in: Add info for paread.o.
Stu Grossman [Sun, 10 Jan 1993 05:38:55 +0000 (05:38 +0000)] 
* Makefile.in:  Add info for paread.o.
* config/hppahpux.mh:  Add paread.o to NATDEPFILES.

31 years ago * coffgen.c: #include seclet.h.
Stu Grossman [Sun, 10 Jan 1993 05:30:36 +0000 (05:30 +0000)] 
* coffgen.c:  #include seclet.h.

31 years ago * blockframe.c (frameless_look_for_prologue): Correct the
Stu Grossman [Sun, 10 Jan 1993 04:23:06 +0000 (04:23 +0000)] 
* blockframe.c (frameless_look_for_prologue):  Correct the
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.

31 years ago * hppa.c (hppa_object_setup): Get rid of all knowledge of stabs
Stu Grossman [Sun, 10 Jan 1993 03:57:45 +0000 (03:57 +0000)] 
* hppa.c (hppa_object_setup):  Get rid of all knowledge of stabs
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.

31 years ago * sparc-stub.c: Use a seperate stack for our traps.
Stu Grossman [Sun, 10 Jan 1993 03:46:55 +0000 (03:46 +0000)] 
* sparc-stub.c:  Use a seperate stack for our traps.
* 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.

31 years agobuild lots of targets for HPPA (testing), add -J Sun3 CC, add sparclite targets for...
David D. Zuhn [Sat, 9 Jan 1993 02:09:36 +0000 (02:09 +0000)] 
build lots of targets for HPPA (testing), add -J Sun3 CC, add sparclite targets for sun4

31 years agofix default emulations for nindy and sparc-vxworks
David D. Zuhn [Sat, 9 Jan 1993 02:07:17 +0000 (02:07 +0000)] 
fix default emulations for nindy and sparc-vxworks

31 years ago * coffcode.h (sec_to_styp_flags): allow SEC_NEVER_LOAD to turn on
Steve Chamberlain [Fri, 8 Jan 1993 23:21:26 +0000 (23:21 +0000)] 
* coffcode.h (sec_to_styp_flags): allow SEC_NEVER_LOAD to turn on
STYP_NOLOAD bit.
* coff-z8k.c: delete unused reloc functions

31 years ago Fix support for NOLOAD, add INCLUDE
Steve Chamberlain [Fri, 8 Jan 1993 22:42:42 +0000 (22:42 +0000)] 
 Fix support for NOLOAD, add INCLUDE
* 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.

31 years agofix my default emulation changes
David D. Zuhn [Fri, 8 Jan 1993 22:06:17 +0000 (22:06 +0000)] 
fix my default emulation changes

31 years agoBasically a checkpoint.
Ian Lance Taylor [Fri, 8 Jan 1993 21:46:36 +0000 (21:46 +0000)] 
Basically a checkpoint.

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.

31 years agoFri Jan 8 16:37:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Fri, 8 Jan 1993 21:42:58 +0000 (21:42 +0000)] 
Fri Jan  8 16:37:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* bfd.h: Update to include ECOFF tdata and target_flavour.

31 years agoFri Jan 8 16:19:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Fri, 8 Jan 1993 21:27:06 +0000 (21:27 +0000)] 
Fri Jan  8 16:19:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* 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.

31 years agoForgot to commit ChangeLog.
Ian Lance Taylor [Fri, 8 Jan 1993 21:26:42 +0000 (21:26 +0000)] 
Forgot to commit ChangeLog.

31 years agoThese changes cut the size of libbfd.a on a Sun4 by about 11%.
Ian Lance Taylor [Fri, 8 Jan 1993 21:11:21 +0000 (21:11 +0000)] 
These changes cut the size of libbfd.a on a Sun4 by about 11%.
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.

31 years agokeep config-gas.com.
Ken Raeburn [Fri, 8 Jan 1993 14:40:59 +0000 (14:40 +0000)] 
keep config-gas.com.
if purging v9, discard ChangeLog.v9, keep otherwise.

31 years agolog for v9 work
Ken Raeburn [Fri, 8 Jan 1993 14:39:53 +0000 (14:39 +0000)] 
log for v9 work

31 years agoAdd chillrt, h8300sim to sub dirs.
Bill Cox [Fri, 8 Jan 1993 01:31:48 +0000 (01:31 +0000)] 
Add chillrt, h8300sim to sub dirs.

31 years agorecognise all sparclite variants
David D. Zuhn [Fri, 8 Jan 1993 00:02:07 +0000 (00:02 +0000)] 
recognise all sparclite variants

31 years agoSecond try.
Ian Lance Taylor [Thu, 7 Jan 1993 21:39:37 +0000 (21:39 +0000)] 
Second try.
* mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.

31 years agoThu Jan 7 13:33:06 1993 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 7 Jan 1993 21:38:05 +0000 (21:38 +0000)] 
Thu Jan  7 13:33:06 1993  Ian Lance Taylor  (ian@cygnus.com)

* mips-pinsn.c: Actual work now done by opcodes/mips-dis.c.

31 years agoKeep mips-dis.c.
Ian Lance Taylor [Thu, 7 Jan 1993 18:24:38 +0000 (18:24 +0000)] 
Keep mips-dis.c.

31 years agono more default emulation
David D. Zuhn [Thu, 7 Jan 1993 18:23:07 +0000 (18:23 +0000)] 
no more default emulation

31 years agoThu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Thu, 7 Jan 1993 18:21:29 +0000 (18:21 +0000)] 
Thu Jan  7 13:15:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* mips-dis.c: New file, from gdb/mips-pinsn.c.
* Makefile.in (DIS_LIBS): Added mips-dis.o.
(CFILES): Added mips-dis.c.

31 years agoupdate dates
David D. Zuhn [Thu, 7 Jan 1993 17:14:01 +0000 (17:14 +0000)] 
update dates

31 years agoLots of changes from Eric Youngdale, mostly for VAX and VMS support.
Ken Raeburn [Thu, 7 Jan 1993 10:49:48 +0000 (10:49 +0000)] 
Lots of changes from Eric Youngdale, mostly for VAX and VMS support.

31 years agoLots of changes from Eric Youngdale, mostly for VAX and VMS support.
Ken Raeburn [Thu, 7 Jan 1993 10:48:49 +0000 (10:48 +0000)] 
Lots of changes from Eric Youngdale, mostly for VAX and VMS support.
Also, fix another goof in read.c, which caused ".data" not to work...

31 years ago * Makefile.in: Removed explicit setting of SUBDIRS. This gets done
Mike Werner [Thu, 7 Jan 1993 04:39:57 +0000 (04:39 +0000)] 
* Makefile.in: Removed explicit setting of SUBDIRS. This gets done
  by configure, using configure.in .
**** start-sanitize-chill ****
* configure.in: Added sanitization for chill to the setting of
  target_libs .
**** end-sanitize-chill ****

31 years agoredo (yet again) chill sanitization -- thanks per
David D. Zuhn [Thu, 7 Jan 1993 01:43:53 +0000 (01:43 +0000)] 
redo (yet again) chill sanitization -- thanks per

31 years agorevert chill Sanitize patches
David D. Zuhn [Thu, 7 Jan 1993 01:24:52 +0000 (01:24 +0000)] 
revert chill Sanitize patches

31 years ago * arsup.h (interactive), bucomm.h (program_name): Prefix
Per Bothner [Wed, 6 Jan 1993 23:19:45 +0000 (23:19 +0000)] 
* arsup.h (interactive), bucomm.h (program_name):  Prefix
with 'extern', to avoid warnings from some compilers.

31 years ago>
Steve Chamberlain [Wed, 6 Jan 1993 23:16:17 +0000 (23:16 +0000)] 
>
* arparse.y: fix unnecessary shift/reduce

31 years agofix chill sanitization
Bill Cox [Wed, 6 Jan 1993 22:31:06 +0000 (22:31 +0000)] 
fix chill sanitization

31 years ago * test-build.mk: set $PATH for all builds
David D. Zuhn [Wed, 6 Jan 1993 21:45:48 +0000 (21:45 +0000)] 
* test-build.mk: set $PATH for all builds
* Makefile.in: pass TARGET_FLAGS_TO_PASS for xiberty and libm

31 years ago * Makefile.in (GCC_FOR_TARGET): Supply a default that matches
Fred Fish [Wed, 6 Jan 1993 19:04:18 +0000 (19:04 +0000)] 
* Makefile.in (GCC_FOR_TARGET):  Supply a default that matches
the one used in gcc/Makefile.in, so that a null expansion doesn't
override the one needed to build gcc with a native cc.

31 years ago * symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
Steve Chamberlain [Wed, 6 Jan 1993 18:22:01 +0000 (18:22 +0000)] 
* symfile.c: If O_BINARY isn't defined, set it to 0, call openp for
binary files oring in the right bit.

* main.c, source.c, state.c, symmisc.c: use macros defined in
fopen-{bin|both} when fopening files.

* remote-hms.c, remote-sim.c: lint

31 years ago * defs.h (HOST_CHAR_BIT): New macro, defaults to either CHAR_BIT
Fred Fish [Wed, 6 Jan 1993 16:52:10 +0000 (16:52 +0000)] 
* defs.h (HOST_CHAR_BIT):  New macro, defaults to either CHAR_BIT
from a configuration file (typically including <limits.h>), or to
TARGET_CHAR_BIT if CHAR_BIT is not defined.
* eval.c (evaluate_subexp):  Use new BYTES_TO_EXP_ELEM macro.
* eval.c (evaluate_subexp):  Add case for OP_BITSTRING.
* expprint.c (print_subexp):  Use new BYTES_TO_EXP_ELEM macro.
* exppritn.c (print_subexp, dump_expression):  Add case for
OP_BITSTRING.
* expression.h (OP_BITSTRING):  New expression element type for
packed bitstrings.
* expression.h (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM):  New
macros to convert between number of expression elements and bytes
to store that many elements.
* i960-tdep.c (leafproc_return):  Use new macros to access
minimal symbol name and address fields.
* m88k-pinsn.c (sprint_address):  Use new macros to access
minimal symbol name and address fields.
* nindy-tdep.c (nindy_frame_chain_valid):  Use new macro to access
minimal symbol address field.
* parse.c (write_exp_elt, write_exp_string, prefixify_expression,
parse_exp_1):  Use new EXP_ELEM_TO_BYTES macro.
* parse.c (write_exp_string, length_of_subexp, prefixify_expression):
Use new BYTES_TO_EXP_ELEM macro.
* parse.c (write_exp_bitstring):  New function to write packed
bitstrings into the expression element vector.
* parse.c (length_of_subexp, prefixify_subexp):  Add case for
OP_BITSTRING.
* parser-defs.h (struct stoken):  Document that it is used for
OP_BITSTRING as well as OP_STRING.
* parser-defs.h (write_exp_bitstring):  Add prototype.
**** start-sanitize-chill ****
* ch-exp.y (BIT_STRING_LITERAL):  Change token type to sval.
* ch-exp.y (NUM, PRED, SUCC, ABS, CARD, MAX, MIN, SIZE, UPPER,
LOWER, LENGTH):  New tokens for keywords.
* ch-exp.y (chill_value_built_in_routine_call, mode_argument,
upper_lower_argument, length_argument, array_mode_name,
string_mode_name, variant_structure_mode_name):  New non-terminals
and productions.
* ch-exp.y (literal):  Useful production for BIT_STRING_LITERAL.
* ch-exp.y (match_bitstring_literal):  New lexer support function
to recognize bitstring literals.
* ch-exp.y (tokentab6):  New token table for 6 character keywords.
* ch-exp.y (tokentab5):  Add LOWER, UPPER.
* ch-exp.y (tokentab4):  Add PRED, SUCC, CARD, SIZE.
* ch-exp.y (tokentab3):  Add NUM, ABS, MIN, MAX.
* ch-exp.y (yylex):  Check tokentab6.
* ch-exp.y (yylex):  Call match_bitstring_literal.
**** end-sanitize-chill ****

31 years ago * Makefile.in (SUBDIRS): Add chillrt.
Fred Fish [Wed, 6 Jan 1993 16:02:53 +0000 (16:02 +0000)] 
* Makefile.in (SUBDIRS):  Add chillrt.
* Makefile.in (all.normal):  Add all-chillrt.
* Makefile.in (all.cross):  Add all-chillrt.
* Makefile.in (install-no-fixedincludes):  Add install-chillrt.
* Makefile.in (install.cross):  Add install-chillrt.
* Makefile.in (all-chillrt, install-chillrt):  New targets.
* Makefile.in (subdir_do):  Handle chillrt like newlib.
* configure.in (target_libs):  Add chillrt.

(Also added appropriate stuff to .Sanitize)

31 years agohandle machines other than DOS & Sun
David D. Zuhn [Wed, 6 Jan 1993 10:30:22 +0000 (10:30 +0000)] 
handle machines other than DOS & Sun

31 years agouse waitpid instead of wait4
David D. Zuhn [Wed, 6 Jan 1993 10:26:42 +0000 (10:26 +0000)] 
use waitpid instead of wait4

31 years agofix install rule
David D. Zuhn [Wed, 6 Jan 1993 09:00:02 +0000 (09:00 +0000)] 
fix install rule

31 years agouse bfd_xmalloc instead of malloc
David D. Zuhn [Wed, 6 Jan 1993 08:24:08 +0000 (08:24 +0000)] 
use bfd_xmalloc instead of malloc

31 years ago * Makefile.in: FLAGS_TO_PASS, send down GCC_FOR_TARGET,
Steve Chamberlain [Tue, 5 Jan 1993 15:39:43 +0000 (15:39 +0000)] 
* Makefile.in: FLAGS_TO_PASS, send down GCC_FOR_TARGET,
AR_FOR_TARGET and RANLIB_FOR_TARGET so gcc can make libgcc in a
Canadian Cross.

31 years agoTemporary hack until Per's solution gets implemented: If --with-minimal-bfd is
Ken Raeburn [Tue, 5 Jan 1993 14:57:44 +0000 (14:57 +0000)] 
Temporary hack until Per's solution gets implemented: If --with-minimal-bfd is
specified, set MINIMIZE=1.  (Not the default.)

31 years agoexpr.c (operand): handle logical end-of-line characters line newline
Ken Raeburn [Tue, 5 Jan 1993 14:17:21 +0000 (14:17 +0000)] 
expr.c (operand): handle logical end-of-line characters line newline

31 years agolook for --with_bfd_assembler option
Ken Raeburn [Tue, 5 Jan 1993 13:44:58 +0000 (13:44 +0000)] 
look for --with_bfd_assembler option

31 years agoAccept -with arguments.
Ken Raeburn [Tue, 5 Jan 1993 13:00:59 +0000 (13:00 +0000)] 
Accept -with arguments.
Requoting for recursion may be buggy, but it does handle simple cases now.

31 years agoadd groff
David D. Zuhn [Tue, 5 Jan 1993 10:49:49 +0000 (10:49 +0000)] 
add groff

31 years agoupdate dates
David D. Zuhn [Tue, 5 Jan 1993 10:49:11 +0000 (10:49 +0000)] 
update dates

31 years ago * xcoffexec.c (vmap_symtab): Use new macros to access minimal
Fred Fish [Tue, 5 Jan 1993 04:20:54 +0000 (04:20 +0000)] 
* xcoffexec.c (vmap_symtab):  Use new macros to access minimal
symbol name and value fields.

31 years ago * c-exp.y (yylex): Make static, to match prototype and other
Fred Fish [Tue, 5 Jan 1993 04:14:28 +0000 (04:14 +0000)] 
* c-exp.y (yylex):  Make static, to match prototype and other
<lang>-exp.y files.

31 years ago * expression.h (exp_opcode): Add BINOP_MOD.
Fred Fish [Tue, 5 Jan 1993 01:18:07 +0000 (01:18 +0000)] 
* expression.h (exp_opcode):  Add BINOP_MOD.
* eval.c (evaluate_subexp):  Handle new BINOP_MOD.
* expprint.c (dump_expression):  Handle new BINOP_MOD.
* language.c (binop_type_check):  Handle new BINOP_MOD.
* main.c (float_handler):  Re-enable float handler when hit.
* valarith.c (language.h):  Include, need current_language.
* valarith.c (TRUNCATION_TOWARDS_ZERO):  Define default macro
for integer divide truncates towards zero for negative results.
* valarith.c (value_x_binop):  Handle BINOP_MOD if seen.
* valarith.c (value_binop):  Allow arithmetic operations on
TYPE_CODE_CHAR variables.  Add case to handle new BINOP_MOD.
**** start-sanitize-chill ****
* ch-exp.y (operand_4):  Add useful actions for MOD and REM.
* ch-exp.y (tokentab3):  Add MOD and REM.
* ch-exp.y (yylex):  Set innermost_block for symbols found
in local scopes.  Return LOCATION_NAME for local symbols.
* ch-lang.c (chill_op_print_tab):  Fix MOD entry to use
BINOP_MOD instead of BINOP_REM.  Add REM entry, using BINOP_REM.
**** end-sanitize-chill ****

31 years agofix goof from last change
Ken Raeburn [Mon, 4 Jan 1993 21:48:44 +0000 (21:48 +0000)] 
fix goof from last change

31 years ago * p{1,3}.c (sim_resume): when running on dos, any character typed to
Steve Chamberlain [Mon, 4 Jan 1993 20:55:22 +0000 (20:55 +0000)] 
* p{1,3}.c (sim_resume): when running on dos, any character typed to
the keyboard will cause a simulated exception.

31 years agoFix all-h8300sim typo
Steve Chamberlain [Mon, 4 Jan 1993 15:46:12 +0000 (15:46 +0000)] 
Fix all-h8300sim typo

31 years agoNow works in a cross build environment
Steve Chamberlain [Mon, 4 Jan 1993 15:45:35 +0000 (15:45 +0000)] 
Now works in a cross build environment

31 years ago * command.c (shell_escape, make_command, _initialze_command):
Steve Chamberlain [Mon, 4 Jan 1993 15:39:00 +0000 (15:39 +0000)] 
* command.c (shell_escape, make_command, _initialze_command):
don't create or use fork if CANT_FORK is defined.
* serial.h, ser-go32.c: now compiles, but "the obvious problems of
code written for the IBM PC" remain.
* xm-go32.h: define CANT_FORK

31 years ago * srec.c (srec_write_records): one of my boards wants a CR between
Steve Chamberlain [Mon, 4 Jan 1993 15:21:21 +0000 (15:21 +0000)] 
* srec.c (srec_write_records): one of my boards wants a CR between
records.

31 years agolog for changes checked in this morning; deleted some duplicate entries
Ken Raeburn [Mon, 4 Jan 1993 13:28:51 +0000 (13:28 +0000)] 
log for changes checked in this morning; deleted some duplicate entries

31 years ago(s_data): Use "data_section"; it'll map to SEG_DATA or SEG_E1 if appropriate,
Ken Raeburn [Mon, 4 Jan 1993 13:24:39 +0000 (13:24 +0000)] 
(s_data): Use "data_section"; it'll map to SEG_DATA or SEG_E1 if appropriate,
as soon as I check in as.h.
(s_lcomm): Likewise with bss_section.
(s_fill): Use memset, not bzero.
whitespace/comment changes.
deleted some "#ifdef DONTDEF" sections relating to GDB symtabs.

31 years agodelete decls of segment_name, seg_name
Ken Raeburn [Mon, 4 Jan 1993 13:14:53 +0000 (13:14 +0000)] 
delete decls of segment_name, seg_name

31 years agocomment reformatting
Ken Raeburn [Mon, 4 Jan 1993 13:12:27 +0000 (13:12 +0000)] 
comment reformatting

31 years agoAllow srcdir builds
Steve Chamberlain [Mon, 4 Jan 1993 01:55:53 +0000 (01:55 +0000)] 
Allow srcdir builds

31 years agoAdded h8300sim
Steve Chamberlain [Sun, 3 Jan 1993 23:16:04 +0000 (23:16 +0000)] 
Added h8300sim

31 years ago * remote-sim.c: first attempt at general simulator interface
Steve Chamberlain [Sun, 3 Jan 1993 22:37:07 +0000 (22:37 +0000)] 
* remote-sim.c: first attempt at general simulator interface
* remote-hms.c: whitespace
* h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
understand new stack layout. (print_register_hook): print ccr
register in a fancy way.
include simulator target too.

31 years ago * remote-sim.c: first attempt at general simulator interface
Steve Chamberlain [Sun, 3 Jan 1993 22:36:04 +0000 (22:36 +0000)] 
* remote-sim.c: first attempt at general simulator interface
* remote-hms.c: whitespace
* h8300-tdep.c: (h8300_skip_prologue, examine_prologue):
understand new stack layout. (print_register_hook): print ccr
register in a fancy way.

31 years ago * eval.c (language.h): Include.
Fred Fish [Sun, 3 Jan 1993 22:24:21 +0000 (22:24 +0000)] 
* eval.c (language.h): Include.
* eval.c (evaluate_subexp_with_coercion):  Only coerce arrays
to pointer types when the current language is C.  It loses for
other languages when the lower index bound is nonzero.
* valarith.c (value_subscript):  Take array lower bounds into
account when performing subscripting operations.
* valops.c (value_coerce_array):  Add comment describing why
arrays with nonzero lower bounds are dealt with in value_subscript,
rather than in value_coerce_array.

31 years ago * p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
Steve Chamberlain [Sun, 3 Jan 1993 22:19:42 +0000 (22:19 +0000)] 
* p1.c, p3.c, run.c, writecode.c: all used h8/300 opcodes in and
running

31 years ago **** start-sanitize-chill ****
Fred Fish [Sun, 3 Jan 1993 06:56:08 +0000 (06:56 +0000)] 
**** start-sanitize-chill ****
* ch-exp.y (FLOAT_LITERAL):  Add token.
* ch-exp.y (literal):  Add FLOAT_LITERAL.
* ch-exp.y (match_float_literal):  New lexer routine.
* ch-exp.y (convert_float):  Remove.
* ch-exp.y (yylex):  Call match_float_literal.
* ch-exp.y (yylex):  Match single '.' after trying
to match floating point literals.
**** end-sanitize-chill ****

31 years ago * eval.c (evaluate_subexp): Add case MULTI_SUBSCRIPT.
Fred Fish [Sat, 2 Jan 1993 20:32:01 +0000 (20:32 +0000)] 
* eval.c (evaluate_subexp):  Add case MULTI_SUBSCRIPT.
* expprint.c (print_subexp):  Rename BINOP_MULTI_SUBSCRIPT to
MULTI_SUBSCRIPT.
* expprint.c (dump_expression):  New function for dumping
expression vectors during gdb debugging.
* expression.h (BINOP_MULTI_SUBSCRIPT):  Name changed to
MULTI_SUBSCRIPT and moved out of BINOP range.
* expression.h (DUMP_EXPRESSION):  New macro that calls
dump_expression if DEBUG_EXPRESSIONS is defined.
* m2-exp.y (BINOP_MULTI_SUBSCRIPT):  Changed to MULTI_SUBSCRIPT.
* parse.c (length_of_subexp, prefixify_subexp):  Change
BINOP_MULTI_SUBSCRIPT to MULTI_SUBSCRIPT.
* parse.c (parse_exp_1):  Call DUMP_EXPRESSION before and after
prefixify'ing the expression.
* printcmd.c (print_command_1):  Add comment.
**** start-sanitize-chill ****
* ch-exp.y (expression_list):  Add useful actions.
* ch-exp.y (value_array_element):  Add useful actions.
* ch-exp.y (array_primitive_value):  Add production.
* ch-exp.y (yylex):  Recognize ',' as a token.
**** end-sanitize-chill ****

This page took 0.042268 seconds and 4 git commands to generate.