binutils-gdb.git
30 years agoVarious entries.
Ian Lance Taylor [Thu, 23 Dec 1993 17:29:32 +0000 (17:29 +0000)]
Various entries.

30 years ago gcc -Wall lint:
Ian Lance Taylor [Thu, 23 Dec 1993 17:29:06 +0000 (17:29 +0000)]
gcc -Wall lint:
* ar.c (main): Put parens around assignment used as truth value.
* objdump.c (display_bfd): Declare return value as void.
(stab_print): Use "" instead of 0 to initialize array.
(dump_stabs_1): Print vma using printf_vma.
(display_info): Put parens around assignment used as truth value.
* strings.c (print_strings): Cast printf arguments.

30 years ago * valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs.
Per Bothner [Tue, 21 Dec 1993 22:22:45 +0000 (22:22 +0000)]
* valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs.

30 years ago * ch-exp.y (match_dollar_tokens): Fix off-by-one bug.
Per Bothner [Tue, 21 Dec 1993 22:18:51 +0000 (22:18 +0000)]
* ch-exp.y (match_dollar_tokens):  Fix off-by-one bug.
* ch-lang.c (chill_is_varying_struct), ch-lang.h:  New function.
* ch-lang.c (chill_printstr):  Use double quotes, not single quotes.
* ch-typeprint.c (chill_type_print_base):  Handle TYPE_CODE_BITSTRING.
Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and
TYPE_CODE_STRUCT (including checking chill_is_varying_struct).
Print TYPE_DUMMY_RANGE by printing its TYPE_TARGET_TYPE.
Handle TYPE_CODE_ENUM.
* ch-valprint.c (chill_val_print):  Handle TYPE_CODE_BITSTRING.
For TYPE_CODE_STRING, never print address.  Handle VARYING strings.
* gdbtypes.c (force_to_range_type):  New.
* gdbtypes.c (create_set_type):  Make work, following Chill layout.
* gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND, TYPE_DUMMY_RANGE): New.
* stabsread.c (read_type):  Distinguish string and bitstring from
char-array and set.
* valarith.c (value_subscript), valops.c (value_coerce_array):
Handle STRINGs as well as ARRAYs.
* valarith.c (value_bit_index):  Fix think.  Use new macros.

30 years agoAdd TODO list item from observing Solaris assembler.
Ken Raeburn [Tue, 21 Dec 1993 17:54:38 +0000 (17:54 +0000)]
Add TODO list item from observing Solaris assembler.

30 years agochanges so far
Ken Raeburn [Tue, 21 Dec 1993 17:47:38 +0000 (17:47 +0000)]
changes so far

30 years ago(coff_write_relocs) [SWAP_OUT_RELOC_OFFSET]: Copy addend to r_offset field.
Ken Raeburn [Tue, 21 Dec 1993 17:41:45 +0000 (17:41 +0000)]
(coff_write_relocs) [SWAP_OUT_RELOC_OFFSET]: Copy addend to r_offset field.

30 years agoadded coff-sparc.c to CFILES, rebuilt dependencies
Ken Raeburn [Tue, 21 Dec 1993 17:27:20 +0000 (17:27 +0000)]
added coff-sparc.c to CFILES, rebuilt dependencies

30 years ago(aix386_core_file_p): Use cd_regs[0] for computing the offsetof because AIX
Ken Raeburn [Tue, 21 Dec 1993 17:24:10 +0000 (17:24 +0000)]
(aix386_core_file_p): Use cd_regs[0] for computing the offsetof because AIX
/bin/cc does not like to take the address of an array.  (From Minh Tran-Le.)

30 years agosparc-coff reloc, symbols.c BSF_* changes
Ken Raeburn [Mon, 20 Dec 1993 21:54:33 +0000 (21:54 +0000)]
sparc-coff reloc, symbols.c BSF_* changes

30 years ago* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is present
Ken Raeburn [Mon, 20 Dec 1993 21:53:01 +0000 (21:53 +0000)]
* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is present
(i.e., relocation against absolute), create a phony local symbol, and use it in
the reloc.
(fixup_segment): When adjusting a reloc with an absolute symbol, have
TC_FORCE_RELOCATION control clearing add_symbolP too.

* config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define.

30 years agono cvs on rs6000
David D. Zuhn [Mon, 20 Dec 1993 21:09:41 +0000 (21:09 +0000)]
no cvs on rs6000

30 years agomd_end, listing, obj-coff changes
Ken Raeburn [Mon, 20 Dec 1993 16:58:19 +0000 (16:58 +0000)]
md_end, listing, obj-coff changes

30 years ago* as.c (main): Only invoke md_end if it's defined as a macro.
Ken Raeburn [Mon, 20 Dec 1993 16:48:00 +0000 (16:48 +0000)]
* as.c (main): Only invoke md_end if it's defined as a macro.
* tc.h (md_end): Don't declare it.
* config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do anything.
* config/tc-vax.c (vip_end): Deleted null function.
* config/tc-mips.c (md_mips_end): Renamed from md_end.
* config/tc-mips.h (md_mips_end): Declare.
(md_end): New macro, calls md_mips_end.

* write.c (write_object_file): Don't close output file.
* as.c (main): Close output file (if needed) after calling listing_print, which
should be after calling write_object_file, which sets the frag addresses.

30 years agowhitespace
Ken Raeburn [Mon, 20 Dec 1993 16:43:37 +0000 (16:43 +0000)]
whitespace

30 years ago* as.c (main): Call listing_print before BFD gets closed, when symbol data
Ken Raeburn [Mon, 20 Dec 1993 15:43:23 +0000 (15:43 +0000)]
* as.c (main): Call listing_print before BFD gets closed, when symbol data
hasn't been freed up yet.

30 years ago * configure: If only ${target_alias} is given, use that
Per Bothner [Mon, 20 Dec 1993 04:44:21 +0000 (04:44 +0000)]
* configure:  If only ${target_alias} is given, use that
as the default for ${host_alias}.
* configure:  Add missing back-slashes before nested quotes.

30 years agoModified Files:
Kung Hsu [Fri, 17 Dec 1993 18:51:17 +0000 (18:51 +0000)]
Modified Files:
ChangeLog symtab.c c-valprint.c

        * symtab (decode_line_1): fix a bug when position char is not
        set correctly.
        * c-valprint (c_val_print): handle vtbl printing when vtbl is not
        set up yet.

30 years ago * ldmain.c (lprefix): Change default from a char to a string
Jeff Law [Fri, 17 Dec 1993 05:21:33 +0000 (05:21 +0000)]
    * ldmain.c (lprefix): Change default from a char to a string
        with only one character.
        (lprefix_len): Set default to one.

        * ldmain.h (lprefix_len): Declare.

        * ldsym.c (write_file_locals): Use strncmp rather than a character
        comparison for lprefix.

        * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
        correctly.

        * emultmpl/hppaosf.em: Include ldexp.h.
        (before_parse): Set lprefix and lprefix_len correctly.

30 years ago * config/tc-hppa.c (md_begin): Initialize "dummy_label".
Jeff Law [Fri, 17 Dec 1993 05:16:01 +0000 (05:16 +0000)]
    * config/tc-hppa.c (md_begin): Initialize "dummy_label".
        (tc_gen_reloc, SOM version): For relocations which have no symbol,
        set sym_ptr_ptr to dummy_label.  Avoids lossage in generic BFD code.

30 years agorecent config/* & section_symbol changes
Ken Raeburn [Thu, 16 Dec 1993 21:56:03 +0000 (21:56 +0000)]
recent config/* & section_symbol changes

30 years ago * mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
Ian Lance Taylor [Thu, 16 Dec 1993 21:47:59 +0000 (21:47 +0000)]
* mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
defined, define it as 4.

30 years ago* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH now
Ken Raeburn [Thu, 16 Dec 1993 21:31:22 +0000 (21:31 +0000)]
* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH now
const.

* config/obj-*.c, config/tc-*.c: Omit superfluous "return" statements at ends
of functions.  Don't check for null return from hash_new, since it won't return
at all if there's no memory available.  Also, check for null return from
hash_insert, rather than zero-length string, as success indicator.

30 years agoread.c(lex_type): Don't make '[' a valid symbol name char.
Ken Raeburn [Thu, 16 Dec 1993 21:12:43 +0000 (21:12 +0000)]
read.c(lex_type): Don't make '[' a valid symbol name char.

30 years ago * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
Jeff Law [Thu, 16 Dec 1993 21:10:24 +0000 (21:10 +0000)]
    * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.

        * config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define.

        * config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to
        override.
        (REMOTE_BREAKPOINT): Likewise.

30 years ago * hosts/hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
Jeff Law [Thu, 16 Dec 1993 21:07:44 +0000 (21:07 +0000)]
    * hosts/hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.

30 years agoupdate rev to 5.6(Cygnus)
David D. Zuhn [Thu, 16 Dec 1993 04:24:16 +0000 (04:24 +0000)]
update rev to 5.6(Cygnus)

30 years agoremove gratitious s
David D. Zuhn [Thu, 16 Dec 1993 04:22:10 +0000 (04:22 +0000)]
remove gratitious s

30 years agodocument -v flag
David D. Zuhn [Thu, 16 Dec 1993 04:18:17 +0000 (04:18 +0000)]
document -v flag

30 years agoadd -v flag to gprof (print version number)
David D. Zuhn [Thu, 16 Dec 1993 04:14:45 +0000 (04:14 +0000)]
add -v flag to gprof (print version number)

30 years agoMakefile.in (RUNTEST): New variable.
Ken Raeburn [Wed, 15 Dec 1993 20:46:54 +0000 (20:46 +0000)]
Makefile.in (RUNTEST): New variable.
(CHECKFLAGS): Pass it down.

30 years agoforgot to check in some log messages last week
Ken Raeburn [Wed, 15 Dec 1993 20:44:45 +0000 (20:44 +0000)]
forgot to check in some log messages last week

30 years agocleanups and mach3 changes
David MacKenzie [Wed, 15 Dec 1993 17:08:52 +0000 (17:08 +0000)]
cleanups and mach3 changes

30 years agoSome changes from trying to run test suite in California last week:
Ken Raeburn [Wed, 15 Dec 1993 16:28:46 +0000 (16:28 +0000)]
Some changes from trying to run test suite in California last week:

* Makefile.in (site.exp): Don't set ASFLAGS.  Quote value of OBJDUMPFLAGS in
case it's empty.  Use temporary names until the end; make creating site.exp the
final step.
(check): Pass in ASFLAGS.

* gas/all/gas.exp: Use all_ones proc.  Change regexp for matching
C comments to avoid bugs in latest expect code.

30 years agoremoved an unnecessary comment
Ken Raeburn [Wed, 15 Dec 1993 16:23:27 +0000 (16:23 +0000)]
removed an unnecessary comment

30 years ago * som.c (som_begin_writing): Fix thinkos in auxiliary header
Jeff Law [Wed, 15 Dec 1993 05:50:44 +0000 (05:50 +0000)]
    * som.c (som_begin_writing): Fix thinkos in auxiliary header
        support.
        (bfd_som_attach_aux_hdr): Likewise.

30 years ago * configure.in (hppa*-*-osf*): Do not consider this a developmental
Jeff Law [Wed, 15 Dec 1993 05:45:45 +0000 (05:45 +0000)]
    * configure.in (hppa*-*-osf*): Do not consider this a developmental
        configuration.

30 years ago * config/tc-hppa.c (md_apply_fix): Handle cases where no
Jeff Law [Wed, 15 Dec 1993 05:41:11 +0000 (05:41 +0000)]
    * config/tc-hppa.c (md_apply_fix): Handle cases where no
        relocation will be emitted for 32bit formats.

30 years ago * config.guess: Recognize some Tektronix configurations.
Per Bothner [Wed, 15 Dec 1993 05:28:09 +0000 (05:28 +0000)]
* config.guess:  Recognize some Tektronix configurations.
From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.

30 years ago * ldlex.h: Don't declare yywrap if it is a macro.
Ian Lance Taylor [Tue, 14 Dec 1993 22:34:41 +0000 (22:34 +0000)]
* ldlex.h: Don't declare yywrap if it is a macro.
* ldlex.l: Include sysdep.h.

30 years ago * ldlang.c (lang_for_each_statement_worker,
Ian Lance Taylor [Tue, 14 Dec 1993 22:20:35 +0000 (22:20 +0000)]
* ldlang.c (lang_for_each_statement_worker,
lang_for_each_statement): Forgot to use PARAMS.

30 years ago * elf32-hppa.c (hppa_elf_gen_reloc_type): Handle 'T' field
Jeff Law [Tue, 14 Dec 1993 07:36:15 +0000 (07:36 +0000)]
    * elf32-hppa.c (hppa_elf_gen_reloc_type): Handle 'T' field
        selectors for PIC code.

        * som.c (hppa_som_gen_reloc_type): Handle 'T' field selectors.
        (som_write_fixups): Handle R_DLT_REL, R_FSEL, R_RSEL, R_LSEL
        relocations needed by PIC.

30 years ago * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
Jeff Law [Tue, 14 Dec 1993 07:34:37 +0000 (07:34 +0000)]
    * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
        for any of the 'T' field selectors.

30 years ago Implement support for Chill POWERSETs.
Per Bothner [Tue, 14 Dec 1993 04:32:51 +0000 (04:32 +0000)]
Implement support for Chill POWERSETs.
* ch-exp.y (operand_2):  Implement 'Element IN PowerSet'.
* ch-typeprint.c (chill_type_print_base):  Handle POWERSETs.
* ch-valprint.c (chill_val_print):  Handle TYPE_CODE_SET.
* eval.c (evaluate_subexp):  Implement BINOP_IN.
* expression.h (enum exp_opcode):  Added BINOP_IN.
* gdbtypes.c (create_set_type), gdbtypes.h:  New function.
* stabsread.c (read_type):  If 'S', create a set type.
* valarith.c (value_bit_index, value_in), value.h:  New functions,
for indexing in SETs.

30 years ago * Makefile.in: Added .PHONY targets where appropriate. Added some
Ian Lance Taylor [Mon, 13 Dec 1993 19:46:45 +0000 (19:46 +0000)]
* Makefile.in: Added .PHONY targets where appropriate.  Added some
comments.  Also:
(gcclibdir, version): Removed unused variables.
(DEP): New variable, set to mkdep.
(ALL_CFLAGS): New variable.  Used in .c.o target.
(CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New
variables.
(HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES,
GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed
mostly obsolete variables.  Adjusted remaining uses.
(DEF_EMUL): Removed variable.
(ldmain.o): Handle undefined EMUL error correctly.
(ldemul-list.h): Depend on config.status rather than Makefile.
Create via temporary file.
(ver960.c, roll, make): Removed obsolete targets.
(.dep, .dep1, dep.sed, dep, dep-in): New targets.  Used to rebuild
dependencies.

30 years agoNew file used for rebuilding dependencies.
Ian Lance Taylor [Mon, 13 Dec 1993 19:37:22 +0000 (19:37 +0000)]
New file used for rebuilding dependencies.

30 years ago * paread.c (pa_symfile_init): Check for the existance of stabs
Fred Fish [Mon, 13 Dec 1993 14:46:21 +0000 (14:46 +0000)]
* paread.c (pa_symfile_init): Check for the existance of stabs
after DBX_TEXT_SECT has been initialized.

30 years agoMore gcc lint.
Ian Lance Taylor [Sun, 12 Dec 1993 00:54:14 +0000 (00:54 +0000)]
More gcc lint.

30 years ago * readline.c (rl_getc): If GO32, trim high bit from getkey,
Steve Chamberlain [Sun, 12 Dec 1993 00:31:44 +0000 (00:31 +0000)]
* readline.c (rl_getc): If GO32, trim high bit from getkey,
otherwise fancy PC keys cause grief.

30 years ago * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
Steve Chamberlain [Sun, 12 Dec 1993 00:08:33 +0000 (00:08 +0000)]
    * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
(DECP_PC_AFTER_BREAK): Now is 0.
* config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
REGISTER_NAMES): update to new view.  (INIT_EXTRA_FRAME_INFO): No
extra frame info now.
* config/sh/sh.h (NOP): Define NOP insn.
* config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
* config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.

30 years ago * config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
Steve Chamberlain [Sun, 12 Dec 1993 00:07:12 +0000 (00:07 +0000)]
* config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
* config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.

30 years ago * config/sh/sh.h (NOP): Define NOP insn.
Steve Chamberlain [Sun, 12 Dec 1993 00:05:54 +0000 (00:05 +0000)]
* config/sh/sh.h (NOP): Define NOP insn.

30 years ago * config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
Steve Chamberlain [Sun, 12 Dec 1993 00:05:25 +0000 (00:05 +0000)]
* config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
REGISTER_NAMES): update to new view.  (INIT_EXTRA_FRAME_INFO): No
extra frame info now.

30 years ago * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
Steve Chamberlain [Sun, 12 Dec 1993 00:03:31 +0000 (00:03 +0000)]
    * config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
(DECP_PC_AFTER_BREAK): Now is 0.

30 years ago * ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.
Steve Chamberlain [Sun, 12 Dec 1993 00:00:53 +0000 (00:00 +0000)]
* ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.
(go32_readchar): Special handling for faster polling. (async
structure): Volatile.
* h8300-tdep.c (print_register_hook): Allocate and use the right
number bytes for the raw register.
* h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue):
deleted. (h8500_register_size, h8500_register_virtual_type, ):
Use new way of counting registers.
* remote-e7000.c (echo_index): deleted. (expect): Better handling
of user interrupts. (expect_prompt): Remove never used log file
support. (want, want_nopc): Add support for H8/300H.
(fetch_regs_from_dump): Treat \r and \n as whitespace.
(e7000_drain): Send an "end" command before waiting for output to
stop.  (e7000_wait): Cope with H8/300H, better handling of user
interrupts.  (why_stop, expect_n, sub2_from_pc): New function.
* remote-utils.c (gr_load_image): call fflush and QUIT more regularly.
* utils.c (notice_quit): New function for polling for user interrupts.

30 years ago Made many changes to eliminate gcc warnings. Made various
Ian Lance Taylor [Sat, 11 Dec 1993 22:55:55 +0000 (22:55 +0000)]
Made many changes to eliminate gcc warnings.  Made various
cosmetic changes, declared various things in header files, removed
various extern declarations from .c files.  No substantive
changes.

30 years ago * ldlang.c (lang_process): Ifdef out final call to
Ian Lance Taylor [Sat, 11 Dec 1993 22:46:15 +0000 (22:46 +0000)]
* ldlang.c (lang_process): Ifdef out final call to
lang_size_sections again (reverting change of Nove 2), since it
breaks the Sun4 linker.

30 years ago * config/tc-h8500.c (build_bytes): Get reloc type right for a
Steve Chamberlain [Sat, 11 Dec 1993 19:28:41 +0000 (19:28 +0000)]
* config/tc-h8500.c (build_bytes): Get reloc type right for a
%page operation. (md_assemble): Don't modify input_line_pointer.
(mdcoff_sizemachdep): New function.
* config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro.
* config/tc-z8k.c (get_operand): Delete bogus check.

30 years agoRecognise SH.
Steve Chamberlain [Sat, 11 Dec 1993 19:21:19 +0000 (19:21 +0000)]
Recognise SH.

30 years ago * config.sub: Match any flavor of SH.
Steve Chamberlain [Sat, 11 Dec 1993 19:18:41 +0000 (19:18 +0000)]
* config.sub: Match any flavor of SH.

30 years ago * stabsread.c (read_array_type): Allow negative array bounds,
Fred Fish [Sat, 11 Dec 1993 01:27:23 +0000 (01:27 +0000)]
* stabsread.c (read_array_type):  Allow negative array bounds,
without interpreting that to mean "adjustable."
* ch-valprint.c (chill_val_print):  Handle RANGE types.
* ch-typeprint.c (chill_type_print_base):  Handle BOOL.
Handle variant records.  Handle RANGE types.

30 years ago * nlmheader.y (command): Accept MAP and FULLMAP without arguments.
Ian Lance Taylor [Fri, 10 Dec 1993 19:29:10 +0000 (19:29 +0000)]
* nlmheader.y (command): Accept MAP and FULLMAP without arguments.
* nlmconv.c (main): Change error message for MAP and FULLMAP.

30 years ago * nlmconv.c (main): Warn about imported symbols that are not in
Ian Lance Taylor [Fri, 10 Dec 1993 05:51:25 +0000 (05:51 +0000)]
* nlmconv.c (main): Warn about imported symbols that are not in
the IMPORT list even if the IMPORT keyword is not used.

Fixes PR 4006.

30 years ago * nlmconv.c (debug, unlink_on_exit): New static variables.
Ian Lance Taylor [Fri, 10 Dec 1993 05:33:49 +0000 (05:33 +0000)]
* nlmconv.c (debug, unlink_on_exit): New static variables.
(long_options): Add "debug" and "linker".
(main): Handle -d and -l arguments.  Make command line input and
output files optional.  Parse the command file before opening the
BFD's, which requires storing more information in local variables.
If INPUT names multiple files, link them together.  Use OUTPUT for
the output file name if not named on command line.
(show_usage): Changed for new options.
(link_inputs): New function to automatically invoke linker to
handle multiple INPUT files.
(choose_temp_base_try, choose_temp_base, pexecute): New functions,
mostly copied from gcc/gcc.c.
* nlmconv.h (input_files, output_file): Declare.
* nlmheader.y (input_files, output_file): Define.
(command): Support INPUT with a string_list argument.  Support
OUTPUT.
(string_list): Renamed from module_list.
* Makefile.in (nlmconv.o): Define LD_NAME based on
program_transform_name.

Fixes PR 3974.

30 years agooutput-file.c, write.c changes
Ken Raeburn [Thu, 9 Dec 1993 01:13:10 +0000 (01:13 +0000)]
output-file.c, write.c changes

30 years ago(number_to_chars_*): Delete bogus range checks.
Ken Raeburn [Thu, 9 Dec 1993 01:08:37 +0000 (01:08 +0000)]
(number_to_chars_*): Delete bogus range checks.

30 years ago * gas/m68k/disperr.s: New test.
Jeff Law [Wed, 8 Dec 1993 22:32:05 +0000 (22:32 +0000)]
    * gas/m68k/disperr.s: New test.
        * gas/m68k/all.exp: Run it.

30 years ago * nlmheader.y (nlmheader_identify): New function. Use it to print
Ian Lance Taylor [Wed, 8 Dec 1993 18:10:11 +0000 (18:10 +0000)]
* nlmheader.y (nlmheader_identify): New function.  Use it to print
the program name just once, instead of with every error message.

Fixes PR 3973.

30 years agoChange remite-e7000.c to remote-e7000.c.
Ian Lance Taylor [Wed, 8 Dec 1993 05:53:58 +0000 (05:53 +0000)]
Change remite-e7000.c to remote-e7000.c.

30 years agoTypo
Ian Lance Taylor [Wed, 8 Dec 1993 05:08:04 +0000 (05:08 +0000)]
Typo

30 years ago * config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h.
Ian Lance Taylor [Wed, 8 Dec 1993 05:06:48 +0000 (05:06 +0000)]
* config/mips/idt.mt: Use tm-idt.h instead of tm-bigmips.h.
* config/mips/idtl.mt: Use tm-idtl.h instead of tm-mips.h.
* config/mipos/tm-idt.h, config/mips/tm-idtl.h: New files; use
different BREAKPOINT value for IDT.

30 years agoTue Dec 7 16:02:53 1993 Steve Chamberlain (sac@jonny.cygnus.com)
Steve Chamberlain [Wed, 8 Dec 1993 00:12:02 +0000 (00:12 +0000)]
Tue Dec  7 16:02:53 1993  Steve Chamberlain  (sac@jonny.cygnus.com)

* config/tc-sh.c (md_convert_frag): Truncate disps before calling
md_number_to_chars.  (md_assemble): Don't modify
input_line_pointer.

30 years ago * nlmcode.h: Fixes to avoid compiler warnings...
Stu Grossman [Tue, 7 Dec 1993 23:49:32 +0000 (23:49 +0000)]
* nlmcode.h:  Fixes to avoid compiler warnings...

30 years ago * mipsread.c: Include bfd.h and coff/sym.h.
Ian Lance Taylor [Tue, 7 Dec 1993 23:42:56 +0000 (23:42 +0000)]
* mipsread.c: Include bfd.h and coff/sym.h.

30 years ago * libnlm.h (nlm_backend_data): Removed macro definition.
Ian Lance Taylor [Tue, 7 Dec 1993 23:13:43 +0000 (23:13 +0000)]
* libnlm.h (nlm_backend_data): Removed macro definition.
(nlm_alpha_backend_data): Adjusted accordingly.

30 years agoset the other three terminal state pieces for systems that HAVE_SGTTY
K. Richard Pixley [Tue, 7 Dec 1993 00:41:42 +0000 (00:41 +0000)]
set the other three terminal state pieces for systems that HAVE_SGTTY

30 years ago * nlmconv.c (long_options): Changed --header-info to --header-file
Ian Lance Taylor [Mon, 6 Dec 1993 21:12:48 +0000 (21:12 +0000)]
* nlmconv.c (long_options): Changed --header-info to --header-file
to match documentation and usage message.

30 years ago* config/tc-h8300.c (md_assemble): Don't update input_line_pointer.
David Edelsohn [Mon, 6 Dec 1993 19:50:09 +0000 (19:50 +0000)]
* config/tc-h8300.c (md_assemble): Don't update input_line_pointer.

30 years ago * config/obj-som.[ch] (obj_read_begin_hook): Remove last change.
Jeff Law [Mon, 6 Dec 1993 19:21:51 +0000 (19:21 +0000)]
    * config/obj-som.[ch] (obj_read_begin_hook): Remove last change.
        Breaks with the HP compilers.

        * config/tc-hppa.c (struct call_info): Remove fields which were
        set but never used.  Remove all code which sets those fields.
        (struct subspace_dictionary_chain): Likewise.
        (struct space_dictionary_chain): Likewise.
        (pa_desc): Delete useless function.  Delete all references.
        (hppa_tc_make_sections): No need to count the number of symbols for
        the symbol extension section.

30 years ago * configure.in: Recognize mips* for all mips targets.
Ian Lance Taylor [Mon, 6 Dec 1993 18:34:07 +0000 (18:34 +0000)]
* configure.in: Recognize mips* for all mips targets.
(mips*el-*-elf*, mips*-*-elf*): New targets; use idt and idtl.

30 years ago Added Irix 5 support.
Ian Lance Taylor [Mon, 6 Dec 1993 17:31:05 +0000 (17:31 +0000)]
Added Irix 5 support.
* configure.in (mips-sgi-irix5*): New host and target.  Use irix5
for both.
* config/mips/irix5.mh, config/mips/irix5.mt,
config/mips/xm-irix5.h, config/mips/nm-irix5.h,
config/mips/tm-irix5.h, irix5-nat.c: New files for Irix 5 support.
* mdebugread.c: New file, split out of mipsread.c.  Added
elfmdebug_build_psymtabs routine.  Added some checks on external
symbols.  Changed code to keep ecoff_debug_info and
ecoff_debug_swap structs in the psymtab and in global pointers
rather than retrieving them from the bfd.  Also changed to keep
the pending list with the psymtab rather than the objfile (each
psymtab for a single objfile points to the same pending list).
* mipsread.c: Bulk of file moved into mdebugread.c, leaving just
the sym_fns.
* Makefile.in (SFILES): Added mdebugread.c.
(OBS): Added mdebugread.o.
(mdebugread.o): New target.
* symfile.h: Declare mdebug_build_psymtabs and
elfmdebug_build_psymtabs.
* elfread.c (struct elfinfo): Added mdebugsect field.
(elf_locate_sections): Remember location of .mdebug section.
(elf_symfile_read): Call elfmdebug_build_psymtabs on .mdebug
section.
* infrun.c (AT_FUNCTION_START): Set to 0 if not already defined.
(wait_for_inferior): Use AT_FUNCTION_START if it is defined to see
if PC is at the start of a function.
* mips-tdep.c (read_next_frame_reg): Use SIGFRAME_REG_SIZE, and
give it a default definition.
(mips_skip_prologue): Skip instructions which initialize $gp
register.
(in_sigtramp): New procedure, moved in from mipsread.c.
* config/mips/tm-mips.h: Declare in_sigtramp.

30 years ago * serial.h (serial_fdopen): Make parameter const to match
Ian Lance Taylor [Mon, 6 Dec 1993 17:18:06 +0000 (17:18 +0000)]
* serial.h (serial_fdopen): Make parameter const to match
function definition.

30 years agoNew files for Irix 5 support.
Ian Lance Taylor [Mon, 6 Dec 1993 17:12:23 +0000 (17:12 +0000)]
New files for Irix 5 support.

30 years ago * config/obj-som.c (obj_som_version): Pass version string to
Jeff Law [Mon, 6 Dec 1993 08:55:06 +0000 (08:55 +0000)]
    * config/obj-som.c (obj_som_version): Pass version string to
        SOM BFD backend.
        (obj_som_copyright): New function.  Much like obj_som_version.

        * config/tc-hppa.c (obj_copyright): Define as appropriate for
        SOM and ELF.
        (pa_copyright): Just a stub now.

30 years ago * som.c (som_begin_writing): Flesh out code for handling simple
Jeff Law [Mon, 6 Dec 1993 08:53:53 +0000 (08:53 +0000)]
    * som.c (som_begin_writing): Flesh out code for handling simple
        auxiliary headers.
        (bfd_som_attach_aux_hdr): New function.

        * som.h (struct somdata): Add fields for attaching version and
        copyright headers.  Add accessor macros.

30 years ago * config/obj-som.c (obj_read_begin_hook): Delete unused function.
Jeff Law [Mon, 6 Dec 1993 07:19:13 +0000 (07:19 +0000)]
    * config/obj-som.c (obj_read_begin_hook): Delete unused function.
        * config/obj-som.h (obj_read_begin_hook): Provide dummy definition.
        (TARGET_SYMBOL_FIELDS): Delete.  SOM isn't making use of them.

30 years agoUnsnarl xref for h8 config (while making sure it still works for "all" config)
Roland Pesch [Mon, 6 Dec 1993 07:14:16 +0000 (07:14 +0000)]
Unsnarl xref for h8 config (while making sure it still works for "all" config)

30 years ago * som.c (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Add protected
Jeff Law [Mon, 6 Dec 1993 06:55:48 +0000 (06:55 +0000)]
    * som.c (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Add protected
        definitions for old versions of HPUX which fail to define them.
        (som_hppa_howto_talbe): Add R_DLT_REL, R_AUX_UNWIND, and R_SEC_STMT
        now that they're safe.  Delete bogus R_STATEMENT relocations.

30 years ago * som.c (som_hppa_howto_table): Add missing R_END_TRY. Delete
Jeff Law [Mon, 6 Dec 1993 03:33:06 +0000 (03:33 +0000)]
    * som.c (som_hppa_howto_table): Add missing R_END_TRY.  Delete
        extra R_DATA_OVERRIDE.
        (hppa_som_gen_reloc_type): Generate a relocation for the rounding
        mode selector if needed.
        (som_write_fixups): Handle requests for a change in the default
        rounding mode.  Rounding modes do not consume input bytes, but
        are just markers much like R_ENTRY and R_EXIT.

30 years ago * gas/hppa/reloc/roundmode.s: New test.
Jeff Law [Mon, 6 Dec 1993 03:26:33 +0000 (03:26 +0000)]
    * gas/hppa/reloc/roundmode.s: New test.
        * gas/hppa/reloc/reloc.exp: Run it.  Fix typo in last change.

30 years ago * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocation
Jeff Law [Mon, 6 Dec 1993 03:24:49 +0000 (03:24 +0000)]
    * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocation
        expansion due to rounding mode selectors.  Handle R_[RDSN]_MODE
        relocations for selecting the current rounding mode.

30 years ago * config/tc-hppa.c (evaluate_absolute): Support e_rrsel and
Jeff Law [Mon, 6 Dec 1993 01:07:03 +0000 (01:07 +0000)]
    * config/tc-hppa.c (evaluate_absolute): Support e_rrsel and
        e_rlsel field selectors.

30 years ago * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
Jeff Law [Sun, 5 Dec 1993 09:32:06 +0000 (09:32 +0000)]
    * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
        in a relocation.

30 years ago * elf32-hppa.c: (elf_hppa_howto_table): PLABEL and DLT
Jeff Law [Sun, 5 Dec 1993 03:46:12 +0000 (03:46 +0000)]
    * elf32-hppa.c: (elf_hppa_howto_table):  PLABEL and DLT
        relocations are not pc-relative.

30 years ago Fri Dec 3 09:55:17 1993 Pete Hoogenboom (hoogen@cs.utah.edu)
Jeff Law [Sun, 5 Dec 1993 03:41:25 +0000 (03:41 +0000)]
    Fri Dec  3 09:55:17 1993  Pete Hoogenboom  (hoogen@cs.utah.edu)

        * hppa_stubs.h: (BLE_N_XXX_0_31):  New instruction used in
        linker stub code.
        (COPY_2_31):  Likewise.

31 years agoFix a few typos.
John Gilmore [Sat, 4 Dec 1993 03:13:48 +0000 (03:13 +0000)]
Fix a few typos.

31 years ago * config/solaris2.mh (HDEFINES): Remove -Dconst=
Ian Lance Taylor [Fri, 3 Dec 1993 23:42:59 +0000 (23:42 +0000)]
* config/solaris2.mh (HDEFINES): Remove -Dconst=
* hosts/solaris.h: If not __GNUC__, define const as empty.

31 years ago * config/mips/irix4.mh: Enable ser-tcp.o.
Stu Grossman [Fri, 3 Dec 1993 22:22:05 +0000 (22:22 +0000)]
* config/mips/irix4.mh:  Enable ser-tcp.o.

31 years ago Fri Dec 3 09:47:30 1993 Pete Hoogenboom (hoogen@cs.utah.edu)
Jeff Law [Fri, 3 Dec 1993 19:20:30 +0000 (19:20 +0000)]
    Fri Dec  3 09:47:30 1993  Pete Hoogenboom  (hoogen@cs.utah.edu)

        * tc-hppa.c: (tc_gen_reloc): Addend for a plabel relocation should
        be either 0 or 2 (no static link or static link required).  Always
        assume no static link.

31 years ago * config/tc-hppa.c (md_apply_fix): Delete old wrapper function.
Jeff Law [Fri, 3 Dec 1993 18:57:28 +0000 (18:57 +0000)]
* config/tc-hppa.c (md_apply_fix): Delete old wrapper function.
(md_apply_fix_1): Rename to md_apply_fix.  Fix argument decls.
Fix comments in various places.  Always return a value.
Avoid dereferencing a NULL fx_addsy.
(hppa_force_relocation): Avoid dereferencing a NULL fx_addsy.