external/binutils.git
29 years ago * coffcode.h (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXT
Ian Lance Taylor [Fri, 6 Oct 1995 18:00:29 +0000 (18:00 +0000)]
* coffcode.h (OTHER_GLOBAL_CLASS): Do not define to be C_HIDEXT
if RS6000COFF_C.

29 years ago * gas/arm/arm.exp: Renamed from gas.exp.
David Edelsohn [Fri, 6 Oct 1995 17:54:33 +0000 (17:54 +0000)]
* gas/arm/arm.exp: Renamed from gas.exp.

29 years agogas.exp renamed to arm.exp.
David Edelsohn [Fri, 6 Oct 1995 17:53:56 +0000 (17:53 +0000)]
gas.exp renamed to arm.exp.

29 years ago * Makefile.in (site.exp): Fix setting of $srcdir.
David Edelsohn [Fri, 6 Oct 1995 17:28:33 +0000 (17:28 +0000)]
* Makefile.in (site.exp): Fix setting of $srcdir.

* config/tc-arm.c (md_atof): Fix little-endian output.

29 years agoFix typo in last change
Michael Meissner [Fri, 6 Oct 1995 16:37:31 +0000 (16:37 +0000)]
Fix typo in last change

29 years agoAdd NT/MAC object file formats to powerpc eabi.
Michael Meissner [Fri, 6 Oct 1995 16:25:45 +0000 (16:25 +0000)]
Add NT/MAC object file formats to powerpc eabi.

29 years ago * targets.c (bfd_target): Add _bfd_read_ar_hdr field. Modify
Ian Lance Taylor [Fri, 6 Oct 1995 16:15:35 +0000 (16:15 +0000)]
* targets.c (bfd_target): Add _bfd_read_ar_hdr field.  Modify
BFD_JUMP_TABLE_ARCHIVE accordingly.
* libbfd-in.h (_bfd_snarf_ar_hdr): Don't declare.
(_bfd_compute_and_write_armap): Declare.
(_bfd_generic_read_ar_hdr): Declare.
(_bfd_read_ar_hdr): Define.
(_bfd_noarchive_read_ar_hdr): Define.
(_bfd_archive_bsd_read_ar_hdr): Define.
(_bfd_archive_coff_read_ar_hdr): Define.
* archive.c: Change all callers of _bfd_snarf_ar_hdr to call
_bfd_read_ar_hdr instead.
(_bfd_generic_read_ar_hdr): Rename from _bfd_snarf_ar_hdr.
(_bfd_compute_and_write_armap): Rename from
compute_and_write_armap.  Make non-static.  Change all callers.
* ecoff.c (_bfd_ecoff_slurp_armap): Call _bfd_read_ar_hdr rather
than _bfd_snarf_ar_hdr.
* aout-target.h (MY_read_ar_hdr): Define if not defined.
* ieee.c (ieee_read_ar_hdr): Define.
* libecoff.h (_bfd_ecoff_read_ar_hdr): Define.
* oasys.c (oasys_read_ar_hdr): Define.
* som.c (som_read_ar_hdr): Define.
* bfd-in2.h, libbfd.h: Rebuild.

29 years ago * coff-rs6000.c: Add full support for AIX archives. Rewrite old
Ian Lance Taylor [Fri, 6 Oct 1995 16:12:59 +0000 (16:12 +0000)]
* coff-rs6000.c: Add full support for AIX archives.  Rewrite old
read-only/host-only support.

29 years ago * coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to be
Ian Lance Taylor [Fri, 6 Oct 1995 16:09:24 +0000 (16:09 +0000)]
* coffcode.h (coff_slurp_symbol_table): Set C_HIDEXT symbols to be
BSF_LOCAL.

29 years ago * ar.c (do_quick_append): Comment out.
Ian Lance Taylor [Fri, 6 Oct 1995 16:02:43 +0000 (16:02 +0000)]
* ar.c (do_quick_append): Comment out.
(replace_members): Add quick argument.
(main): Don't call do_quick_append.
(open_inarch): Don't call quick_append to create an empty archive.
Instead call bfd_openw/bfd_set_format/bfd_close.

29 years agomore vms work (mostly whitespace/comment cleanup) from Pat Rankin
Ken Raeburn [Fri, 6 Oct 1995 02:29:16 +0000 (02:29 +0000)]
more vms work (mostly whitespace/comment cleanup) from Pat Rankin

29 years ago* bucomm.c: Always include time.h.
Ken Raeburn [Fri, 6 Oct 1995 02:21:05 +0000 (02:21 +0000)]
* bucomm.c: Always include time.h.

29 years ago* i386-dis.c: Describe cmpxchg8b operand, and spell the opcode name correctly.
Ken Raeburn [Fri, 6 Oct 1995 02:17:12 +0000 (02:17 +0000)]
* i386-dis.c: Describe cmpxchg8b operand, and spell the opcode name correctly.

29 years agopentium updates
Ken Raeburn [Fri, 6 Oct 1995 01:43:38 +0000 (01:43 +0000)]
pentium updates

29 years agosplit out ns32k doc like other cpus
Ken Raeburn [Fri, 6 Oct 1995 01:39:35 +0000 (01:39 +0000)]
split out ns32k doc like other cpus

29 years ago* sb.c, macro.c: Include string.h.
Ken Raeburn [Fri, 6 Oct 1995 01:37:30 +0000 (01:37 +0000)]
* sb.c, macro.c: Include string.h.

29 years ago* Makefile.in (comparison): Only check *.o; we don't care if timestamps
Ken Raeburn [Fri, 6 Oct 1995 00:57:16 +0000 (00:57 +0000)]
* Makefile.in (comparison): Only check *.o; we don't care if timestamps
inserted by the native linker differ.

29 years ago* config/tc-alpha.c (alpha_align): Only fill with a no-op pattern if alignment
Ken Raeburn [Fri, 6 Oct 1995 00:54:53 +0000 (00:54 +0000)]
* config/tc-alpha.c (alpha_align): Only fill with a no-op pattern if alignment
stricter than 4 bytes is requested; in that case, align to a 4-byte boundary
first.

29 years ago * values.c allocate_repeat_value): Allocate an array type, and
Per Bothner [Fri, 6 Oct 1995 00:37:40 +0000 (00:37 +0000)]
* values.c allocate_repeat_value):  Allocate an array type, and
a value of that type; use that instead of setting VALUE_REPEATED.
* value.h (struct value):  Remove fields repetitions and repeated.
(VALUE_REPEATED, VALUE_REPETITIONS):  Removed, no longer used.
* c-valprint.c, ch-valprint.c, eval.c, printcmd.c, valops.c,
value.h, values.c:  Simplify, since now VALUE_REPEATED is never used.
* valprint.c (value_print_array_elemen):  Removed never-used function.

29 years ago * parse.c (write_dollar_variable): New function.
Per Bothner [Thu, 5 Oct 1995 22:15:49 +0000 (22:15 +0000)]
* parse.c (write_dollar_variable):  New function.
* c-exp.y (yylex):  Replace code for recognizing '$' pseudo-variables
with a call to write_dollar_variable.
Simplify grammar correspondingly.
* f-exp.y:  Likewise.
* m2-exp.y:  Likewise.
* ch-exp.y:  Likewise.  (Remove function match_dollar_tokens.)
* scm-exp.c (scm_lreadr):  Call write_dollar_variable to handle '$'.

29 years ago * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
Ian Lance Taylor [Thu, 5 Oct 1995 21:31:58 +0000 (21:31 +0000)]
* objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
symbols after other symbols with the same value.  Likewise for
symbols which look like file names.
(objdump_print_address): Always chose the first reasonable symbol
with a given value.
PR 8148.

29 years agonew file.
Steve Chamberlain [Thu, 5 Oct 1995 21:23:43 +0000 (21:23 +0000)]
new file.

29 years ago * interp.c (callback): Initialize to default callback.
Steve Chamberlain [Thu, 5 Oct 1995 21:14:21 +0000 (21:14 +0000)]
* interp.c (callback): Initialize to default callback.

29 years ago * peicode.c (coff_swap_filehdr_in): If symptr is
Steve Chamberlain [Thu, 5 Oct 1995 21:07:24 +0000 (21:07 +0000)]
* peicode.c (coff_swap_filehdr_in): If symptr is
zero, there aren't any symbols, even if nsyms is set.

29 years agoThu Oct 5 13:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 5 Oct 1995 20:57:30 +0000 (20:57 +0000)]
Thu Oct  5 13:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>

* win32.c: New file; support for debugging on windows NT.
* configure.in: (i[345]86-*-win32): New target.
* configure: Regnerated.
* eval.c (evaluate_subexp_standard): Remove unused name.
* serial.c (gdb_string.h): Include.
* source.c (value.h): Include.
* config/i386/i386win32.mh (XDEPFILES): Add win32.o
* config/i386/i386win32.mt: New.
* config/i386/tm-i386win32.h: New.

29 years ago * configure.in: Allow configuration and build of emacs19 for the alpha.
Brendan Kehoe [Thu, 5 Oct 1995 20:27:24 +0000 (20:27 +0000)]
* configure.in: Allow configuration and build of emacs19 for the alpha.

29 years ago * libecoff.h (struct ecoff_backend_data): Add adjust_headers
Ian Lance Taylor [Thu, 5 Oct 1995 17:48:32 +0000 (17:48 +0000)]
* libecoff.h (struct ecoff_backend_data): Add adjust_headers
field.
* ecoff.c (ecoff_sec_to_styp_flags): Check for various Alpha
sections, and set styp correctly for them: .got, .hash, .dynamic,
.liblist, .rel.dyn, .conflic, .dynstr, .dynsym, .comment.
(_bfd_ecoff_styp_to_sec_flags): Check for various Alpha section
types.
(ecoff_sort_hdrs): New static function.
(ecoff_compute_section_file_positions): Return boolean, not void.
Sort the sections by VMA before looking through them.  Put the
first non SEC_ALLOC section on a new page.  Put every SEC_ALLOC
section on an appropriate boundary within the page.
(ecoff_compute_reloc_file_positions): Check return value of
ecoff_compute_section_file_positions.
(_bfd_ecoff_set_section_contents): Likewise.
(_bfd_ecoff_write_object_contents): Check for various Alpha
section types when incrementing text_size and data_size.  Call
adjust_headers backend function if it exists.
* coff-alpha.c (alpha_adjust_headers): New static function.
(alpha_ecoff_backend_data): Initialize adjust_headers field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
PR 8141.

29 years ago * ecoff.h: Define section name macros and STYP macros for various
Ian Lance Taylor [Thu, 5 Oct 1995 17:04:31 +0000 (17:04 +0000)]
* ecoff.h: Define section name macros and STYP macros for various
Alpha sections: .got, .hash, .dynsym, .dynstr, .rel.dyn, .conflic,
.comment, .liblist, .dynamic.
PR 8141.

29 years ago * hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6.
Ian Lance Taylor [Thu, 5 Oct 1995 15:46:40 +0000 (15:46 +0000)]
* hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6.

29 years ago * configure.in (CC): Get ^CC, not just any old CC, from
Jason Molenda [Thu, 5 Oct 1995 05:39:40 +0000 (05:39 +0000)]
    * configure.in (CC): Get ^CC, not just any old CC, from
        ${host_makefile_frag}.

29 years ago * expression.h (enum exp_code): Added OP_NAME.
Per Bothner [Thu, 5 Oct 1995 05:24:41 +0000 (05:24 +0000)]
* expression.h (enum exp_code):  Added OP_NAME.
* expprint.c (print_subexp):  Add OP_NAME support.
* parse.c (length_of_subexp, prefixify_subexp):  Likewise.
* scm-lang.c (scm_unpack, in_eval_c, scm_lookup_name):  new function.
* scm-lang.h:  Declare builtin_type_scm;  other minor tweaks.
* values.c (unpack_long):  If type is SCM, call scm_unpack.
* scm-valprint.c (scm_val_print):  Use extract_signed_integer,
instead unpack_long
* scm-lang.c: More Scheme expression parsing from here ...
* scm-exp.c:  ... to here.  New file.
Also, provide for gdb to evaluate simple constants and names..
* Makefile.in:  Note new scm-exp.{c,o}.

29 years ago * configure.in (CC): Try to get CC from
Jason Molenda [Thu, 5 Oct 1995 05:03:55 +0000 (05:03 +0000)]
    * configure.in (CC): Try to get CC from
        ${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}.

29 years ago * Makefile.in (TARGET_CONFIGDIRS): configure targetdirs
Jason Molenda [Thu, 5 Oct 1995 04:45:32 +0000 (04:45 +0000)]
    * Makefile.in (TARGET_CONFIGDIRS): configure targetdirs
        only if it exists in $(srcdir).

29 years ago * pr-8136.{ch,exp}, pr-8134.exp, func1.ch, Makefile.in: New test cases.
Per Bothner [Thu, 5 Oct 1995 01:24:44 +0000 (01:24 +0000)]
* pr-8136.{ch,exp}, pr-8134.exp, func1.ch, Makefile.in: New test cases.

29 years ago * gdbtypes.c (get_discrete_bounds): New function.
Per Bothner [Thu, 5 Oct 1995 01:09:53 +0000 (01:09 +0000)]
* gdbtypes.c (get_discrete_bounds):  New function.
(force_to_range_type):  Use get_discrete_bounds.
* gdbtypes.h (get_discrete_bounds):  Add declaration.
* valarith.c (value_bit_index):  Generalize to use get_discrete_bounds.
* ch-valprint.c (chill_val_print):  Make (power)sets and bitstring
support use get_discrete_bounds and generally be more robust.
This fixes PR chill/8136.

29 years ago * rs6000-core.c (CORE_VERSION_1): Use CORE_VERSION_1 instead
Jeff Law [Thu, 5 Oct 1995 00:21:25 +0000 (00:21 +0000)]
* rs6000-core.c (CORE_VERSION_1): Use CORE_VERSION_1 instead
of ALTERNATE_AIX_CORE_FORMAT.
* configure.in (aix4): No longer need CORE_FLAGS.
* configure: Updated.

29 years agoBetter parsing, tocd, tocv started
Kim Knuttila [Wed, 4 Oct 1995 21:43:23 +0000 (21:43 +0000)]
Better parsing, tocd, tocv started

29 years ago * ldexp.c (exp_get_abs_int): Return bfd_vma, not int.
Ian Lance Taylor [Wed, 4 Oct 1995 21:39:29 +0000 (21:39 +0000)]
* ldexp.c (exp_get_abs_int): Return bfd_vma, not int.
* ldexp.h (exp_get_abs_int): Update declaration.
* ldlang.c (print_output_section_statement): Use fprintf_vma to
print return value of exp_get_abs_int.
PR 8142.

29 years agoBetter parsing, tocd, tocv started
Kim Knuttila [Wed, 4 Oct 1995 21:02:22 +0000 (21:02 +0000)]
Better parsing, tocd, tocv started

29 years agoquote string for test
Ian Lance Taylor [Wed, 4 Oct 1995 20:46:20 +0000 (20:46 +0000)]
quote string for test

29 years agoNS32k changes from Ian Dall:
Ken Raeburn [Wed, 4 Oct 1995 20:25:21 +0000 (20:25 +0000)]
NS32k changes from Ian Dall:
* aoutx.h (MY_final_link_relocate, MY_relocate_contents): New macros.
(aout_link_input_section_std, aout_link_input_section_ext,
aout_link_reloc_link_order): Call them instead of _bfd_* versions.
* aout-target.h (MY_exec_header_not_counted): New macro, defaults to zero.
(backend_data): Use it instead of hardcoded zero.

* aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro.
(MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi.

* ns32knetbsd.c: Include bfd.h.
(MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros.
(MY_bfd_reloc_type_lookup): Declare function too.
* pc532-mach.c (set_sizes): Don't declare.
(MY_text_includes_header, MY_exec_header_not_counted): Define.
(backend_data, MY_backend_data): Don't define.

* config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and ns32k-*-lites*
like ns32k-*-netbsd*.

* hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to compile on
lites.

29 years ago* chew.c: Include <stdio.h>.
Ken Raeburn [Wed, 4 Oct 1995 19:52:10 +0000 (19:52 +0000)]
* chew.c: Include <stdio.h>.

29 years agosmall rearranging, remove DEFAULT_* defines
Kim Knuttila [Wed, 4 Oct 1995 18:47:25 +0000 (18:47 +0000)]
small rearranging, remove DEFAULT_* defines

29 years agoremove DEFAULT_* defines
Kim Knuttila [Wed, 4 Oct 1995 18:45:54 +0000 (18:45 +0000)]
remove DEFAULT_* defines

29 years agoremove DEFAULT_* defines
Kim Knuttila [Wed, 4 Oct 1995 18:38:13 +0000 (18:38 +0000)]
remove DEFAULT_* defines

29 years ago * coffcode.h (coff_write_object_contents): Restore setting
Ian Lance Taylor [Wed, 4 Oct 1995 18:20:08 +0000 (18:20 +0000)]
* coffcode.h (coff_write_object_contents): Restore setting
f_timdat to 0, deleted on August 22.

29 years ago * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
Ian Lance Taylor [Wed, 4 Oct 1995 18:05:59 +0000 (18:05 +0000)]
* config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
an absolute symbol.

29 years ago * config/tc-m68k.c (isbyte): Accept all values from -65536 to
Ian Lance Taylor [Wed, 4 Oct 1995 18:02:13 +0000 (18:02 +0000)]
* config/tc-m68k.c (isbyte): Accept all values from -65536 to
+65535, so ~VAL will not be rejected.

29 years ago * configure: If CC and CXX are not set in the environment, set
Ian Lance Taylor [Wed, 4 Oct 1995 16:22:37 +0000 (16:22 +0000)]
* configure: If CC and CXX are not set in the environment, set
them, based on either an existing Makefile or on searching for gcc
in PATH.  Substitute for CC and CXX in Makefile.
* configure.in: Remove libm from target_libs.  Separate
target_configdirs from configdirs.  If CC is not set in
environment, try to get it from a host Makefile fragment.  Rewrite
changes of configdirs to use skipdirs instead.  A few minor
tweaks.  Take directories out of target_configdirs as they are
taken out of configdirs.  Remove existing Makefile files from
subdirectories.  Substitute for TARGET_CONFIGDIRS and
CONFIG_ARGUMENTS in Makefile.
* Makefile.in (TARGET_CONFIGDIRS): New variable, automatically set
by configure.in.
(CONFIG_ARGUMENTS): Likewise.
(CONFIGURE_TARGET_MODULES): New variable.
($(DO_X)): Loop over TARGET_CONFIGDIRS as well as SUBDIRS.
($(CONFIGURE_TARGET_MODULES)): New target.
(configure-libg++, configure-libio): New targets.
(all-libg++): Depend upon configure-libg++.
(all-libio): Depend upon configure-libio.
(configure-libgloss, all-libgloss): New targets.
(configure-libstdc++): New target.
(all-libstdc++): Depend upon configure-libstdc++.
(configure-librx, all-librx): New targets.
(configure-newlib): New target.
(all-newlib): Depend upon configure-newlib
(configure-xiberty): New target.
(all-xiberty): Depend upon configure-xiberty.

29 years ago * arsup.c (ar_save): Use rename, not unlink/link/unlink.
Ian Lance Taylor [Wed, 4 Oct 1995 02:39:59 +0000 (02:39 +0000)]
* arsup.c (ar_save): Use rename, not unlink/link/unlink.

29 years ago * remote-nrom.c (nrom_ops): Add value for to_thread_alive,
Stan Shebs [Tue, 3 Oct 1995 23:58:49 +0000 (23:58 +0000)]
* remote-nrom.c (nrom_ops): Add value for to_thread_alive,
add comment naming slots.

29 years agoTue Oct 3 16:28:32 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Tue, 3 Oct 1995 23:44:34 +0000 (23:44 +0000)]
Tue Oct  3 16:28:32 1995  steve chamberlain  <sac@slash.cygnus.com>

* coffcode.h (coff_bfd_copy_private_symbol_data,
coff_bfd_copy_private_section_data,
coff_bfd_copy_private_bfd_data): ifdef to allow overrides.
* peicode.h (coff_bfd_copy_private_bfd_data): New
(pe_bfd_copy_private_bfd_data): New.
(coff_swap_scnhdr_in): Swap bss size into the right place.
(pe_print_private_bfd_data): Add some newlines.

29 years agorevert to stock autoconf 2.4 configure scripts.
Jason Molenda [Tue, 3 Oct 1995 20:31:16 +0000 (20:31 +0000)]
revert to stock autoconf 2.4 configure scripts.

29 years agoRemove last (incorrect) change.
Jeff Law [Tue, 3 Oct 1995 19:26:36 +0000 (19:26 +0000)]
Remove last (incorrect) change.

29 years ago * som.c (setup_sections): Don't die if a space has no subspaces.
Jeff Law [Tue, 3 Oct 1995 18:48:38 +0000 (18:48 +0000)]
* som.c (setup_sections): Don't die if a space has no subspaces.

29 years agoOpps. Forgot to commit this with the elf.c changes...
Jeff Law [Tue, 3 Oct 1995 18:21:17 +0000 (18:21 +0000)]
Opps.  Forgot to commit this with the elf.c changes...

29 years ago * elf.c (_bfd_elf_assign_file_position_for_section): Always
Jeff Law [Tue, 3 Oct 1995 17:57:17 +0000 (17:57 +0000)]
* elf.c (_bfd_elf_assign_file_position_for_section): Always
align to the section's alignment.  "align" argument removed;
all callers changed.
Loosely based on a patch from dupuy@smarts.com; keeps dbx from losing
when debugging programs that have been objcopy'd.

29 years ago * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
Ian Lance Taylor [Tue, 3 Oct 1995 16:43:45 +0000 (16:43 +0000)]
* cond.c (s_endif): Call demand_empty_rest_of_line.  In MRI mode,
skip characters after the pseudo-op.
(s_else): Likewise.
* read.c (get_line_sb): Don't look past buffer_limit.
(s_include): In MRI mode, skip characters after the file name.

29 years ago From David Mosberger-Tang <davidm@azstarnet.com>
Steve Chamberlain [Tue, 3 Oct 1995 15:35:55 +0000 (15:35 +0000)]
From David Mosberger-Tang  <davidm@azstarnet.com>

* alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
   (alpha_insn_set): added definitions for VAX floating point
  instructions (Unix compilers don't generate these, but handcoded
  assembly might still use them).

* alpha-dis.c (print_insn_alpha): added support for disassembling
  the miscellaneous instructions in the Alpha instruction set.

29 years ago * top.c (build_command_line): Demand arguments for if/while
Jeff Law [Tue, 3 Oct 1995 03:48:32 +0000 (03:48 +0000)]
* top.c (build_command_line): Demand arguments for if/while
commands.

29 years agoNo ChangeLog to keep.
Stan Shebs [Tue, 3 Oct 1995 01:50:49 +0000 (01:50 +0000)]
No ChangeLog to keep.

29 years ago * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
Ian Lance Taylor [Mon, 2 Oct 1995 21:00:22 +0000 (21:00 +0000)]
* config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
periods in register names.

29 years ago * Makefile.in (X11_CFLAGS): Set only to @X_INCDIR@.
Jason Molenda [Mon, 2 Oct 1995 20:12:04 +0000 (20:12 +0000)]
   * Makefile.in (X11_CFLAGS): Set only to @X_INCDIR@.

29 years ago * binutils-all/ar.exp: New file.
Ian Lance Taylor [Mon, 2 Oct 1995 19:58:43 +0000 (19:58 +0000)]
* binutils-all/ar.exp: New file.
* binutils-all/bintest.s: Make text_symbol and data_symbol global.
Add new static symbols static_text_symbol and static_data_symbol.
* binutils-all/nm.exp: Adjust accordingly.
* config/default.exp (AR): Set if not set.
(binutils_remove): New procedure.
* lib/utils-lib.exp (default_binutils_run): Call
prune_system_crud on program output.  Use verbose -log instead of
both verbose and send_log.
(default_binutils_remove): New procedure.

29 years agoAdd # in front of CPU number
Michael Meissner [Mon, 2 Oct 1995 18:33:17 +0000 (18:33 +0000)]
Add # in front of CPU number

29 years agoupdate usage message
Michael Meissner [Mon, 2 Oct 1995 18:21:46 +0000 (18:21 +0000)]
update usage message

29 years agofix typo
Michael Meissner [Mon, 2 Oct 1995 18:20:04 +0000 (18:20 +0000)]
fix typo

29 years agoAdd support to count the number of instructions issued.
Michael Meissner [Mon, 2 Oct 1995 18:19:17 +0000 (18:19 +0000)]
Add support to count the number of instructions issued.

29 years ago * elflink.h (elf_link_add_object_symbols): Don't let a weak
Ian Lance Taylor [Mon, 2 Oct 1995 18:11:12 +0000 (18:11 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't let a weak
dynamic symbol override a common symbol.  Don't change the size or
type if they have been set and the new symbol is not a definition.
Warn if the size or type changes.

29 years ago * emultempl/elf32.em (global_stat): New file static variable.
Ian Lance Taylor [Mon, 2 Oct 1995 17:59:14 +0000 (17:59 +0000)]
* emultempl/elf32.em (global_stat): New file static variable.
(gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure
that the file has not already been included under another name.
(gld${EMULATION_NAME}_stat_needed): New static function.

29 years ago * lib/utils-lib.exp (default_binutils_assemble): Call
Ian Lance Taylor [Mon, 2 Oct 1995 16:42:47 +0000 (16:42 +0000)]
* lib/utils-lib.exp (default_binutils_assemble): Call
prune_system_crud on assembler output.

29 years ago * strings.c (main): Exit with zero status if no files are given
Ian Lance Taylor [Mon, 2 Oct 1995 16:11:07 +0000 (16:11 +0000)]
* strings.c (main): Exit with zero status if no files are given
and standard input is read.

29 years agoAdd switch processing in gdb.
Michael Meissner [Mon, 2 Oct 1995 15:47:57 +0000 (15:47 +0000)]
Add switch processing in gdb.

29 years agoMatch standalone printf_filtered to gdb prototype.
Michael Meissner [Sun, 1 Oct 1995 17:54:45 +0000 (17:54 +0000)]
Match standalone printf_filtered to gdb prototype.

29 years ago * som.c (som_begin_writing): Don't write the symbol table or
Jeff Law [Sun, 1 Oct 1995 07:38:03 +0000 (07:38 +0000)]
    * som.c (som_begin_writing): Don't write the symbol table or
symbol strings.
(som_finish_writing): Write them here.  Place them after the
subspace data, but before the relocs.

Works around a truely stupid bug in the hpux8/hpux9 linker.  Fixes all
known link-time problems with -mlinker-opt.

29 years ago * config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs
Jeff Law [Sun, 1 Oct 1995 05:08:05 +0000 (05:08 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs
are not adjustable in SOM to avoid confusing the optimizing
linker.

29 years agoFix prototype.
Michael Meissner [Sun, 1 Oct 1995 00:48:15 +0000 (00:48 +0000)]
Fix prototype.

29 years ago * scm-lang.c: Moved Scheme value printing code to ...
Per Bothner [Sat, 30 Sep 1995 23:36:40 +0000 (23:36 +0000)]
* scm-lang.c:  Moved Scheme value printing code to ...
* scm-valprint.c:  ... this new file.
Also major improvements in support for printing SCM values.
* scm-lang.h:  New file.
* scm-tags.h:  New file.
* Makefile.in:  Note new scm-valprint.{c,o}.

29 years ago * configure.in: X_INCDIR and X_LIBDIR added.
Jason Molenda [Sat, 30 Sep 1995 16:38:16 +0000 (16:38 +0000)]
    * configure.in: X_INCDIR and X_LIBDIR added.
        * Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added.
        * configure: Regnerated.

29 years agokeep vr4300el.mt
Jason Molenda [Sat, 30 Sep 1995 11:46:31 +0000 (11:46 +0000)]
keep vr4300el.mt

29 years ago * configure.in (host i[345]86-*-win32): Expand the
Jason Molenda [Sat, 30 Sep 1995 11:37:55 +0000 (11:37 +0000)]
    * configure.in (host i[345]86-*-win32):  Expand the
        noconfigdirs again.

what you were you thinking sac?

29 years agokeep common directory.
Steve Chamberlain [Sat, 30 Sep 1995 00:44:21 +0000 (00:44 +0000)]
keep common directory.

29 years agoFri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Sat, 30 Sep 1995 00:42:24 +0000 (00:42 +0000)]
Fri Sep 29 02:10:05 1995  steve chamberlain  <sac@slash.cygnus.com>

* config/arm/tm-arm.h (FRAME_CHAIN, FRAME_CHAIN_VALID):
Any pc > LOWESTPC is ok.

29 years ago * remote-rdp.c (rdp_init): Take out variable baud rate stuff.
Steve Chamberlain [Sat, 30 Sep 1995 00:06:55 +0000 (00:06 +0000)]
* remote-rdp.c (rdp_init): Take out variable baud rate stuff.
(remote_rdp_detatch): Delete.
* breakpoint.c (ctype.h): Don't include twice.

29 years ago * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If
Ian Lance Taylor [Fri, 29 Sep 1995 22:37:36 +0000 (22:37 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If
command_line.rpath is set, use it, rather than the -L options, to
build the rules section.
* ld.texinfo: Document this use of -rpath.

29 years agoFri Sep 29 15:19:23 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 29 Sep 1995 22:28:44 +0000 (22:28 +0000)]
Fri Sep 29 15:19:23 1995  steve chamberlain  <sac@slash.cygnus.com>

Fixes for when the host WIN32, but not MSC.
* complete.c: Sometimes have pwd.h
* parens.c: WIN32 has similar restrictions to __GO32__.
* readline.c (__GO32__): Some of this moved into rldefs.h
* signals.c (__GO32__): Likewise.
* rldefs.h (MSDOS||WIN32) becomes MSDOS||MSC.
(WIN32&&!WIN32): New definitions.

29 years ago Add some support for i960 MRI compatibility mode.
Ian Lance Taylor [Fri, 29 Sep 1995 19:36:07 +0000 (19:36 +0000)]
Add some support for i960 MRI compatibility mode.
* config/tc-i960.c (md_pseudo_table): Add endian.
(get_args): Don't discard a space between alphanumeric characters.
(get_cdisp): Change text_section to now_seg.
(s_endian): New static function.
* config/tc-i960.h (MRI_MODE_NEEDS_PSEUDO_DOT): Define.
* expr.h (operatorT): Add O_logical_not, O_logical_and, and
O_logical_or.
* expr.c (operand): Treat '!' as logical not operator.  If
TC_I960, in MRI mode permit `sizeof secname' and `startof
secname'.
(op_rank): Bump values by 2 to make room for && and ||.  Add
entries for !, &&, and ||.
(expr_begin): Only do MRI changes if TC_M68K.
(operator): Recognize || and &&.
(expr): Handle new operatorT values.
* symbols.c (resolve_symbol_value): Handle new operatorT values.
(print_expr_1): Likewise.
* read.c (potable): Add debug, err, irep, irepc, print, purgem,
and rep.
(read_a_source_file): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
(mri_comment_field): Only handle weird comments if TC_M68K.
(s_err): New function.
(s_org): Only punt in MRI mode if TC_M68K.
(s_mri_sect): Write TC_I960 version.
(s_print, s_purgem): New functions.
* read.h (s_err, s_print, s_purgem): Declare.
* cond.c (s_ifeqs): Implement.
(ignore_input): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
* macro.c (macro_strip_at): New static variable.
(macro_init): Add strip_at parameter.
(do_formals): If macro_strip_at, change NARG to $NARG.
(define_macro): Skip a comma after the macro name.
(get_apost_token): Skip character if macro_strip_at, even if
macro_mri.
(macro_expand_body): If macro_strip_at, don't recognize parameters
in strings unless they are preceded by an '@'.  If macro_strip_at,
pass '@' as strip character to sub_actual.  If macro_strip_at,
strip '@' characters.
(macro_expand): If macro_strip_at, change NARG to $NARG.
(delete_macro): New function.
(expand_irp): Skip leading and trailing '"' characters if irpc.
* macro.h (macro_init): Mention new strip_at parameter.
(delete_macro): Declare.
* as.c (main): If TC_I960, pass flag_mri to macro_init as
strip_at; otherwise, pass 0.
* gasp.c (process_pseudo_op): Pass 0 to macro_init as strip_at.
(main): Likewise.
* doc/as.texinfo: Document i960 MRI mode.

* as.c (show_usage): Mention --defsym.

29 years ago * lexsup.c (parse_args): Don't set link_info.shared for -assert
Ian Lance Taylor [Fri, 29 Sep 1995 15:33:29 +0000 (15:33 +0000)]
* lexsup.c (parse_args): Don't set link_info.shared for -assert
pure-text.  Pass true, not 1, to lang_add_entry.
* emultempl/sunos.em (find_assign): New static variable.
(found_assign): New static variable.
(gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn.
If not a relocateable link, and no start symbol was specified on
the command line, and there are any undefined symbols, set
link_info.shared.  If link_info.shared is set, set the address of
the .text section to 0x20.
(gld${EMULATION_NAME}_find_assignment): Rename from
gld${EMULATION_NAME}_find_statement_assignment.  If find_assign is
set, then just set found_assign based on whether an assignment is
found to find_assign.
(gld${EMULATION_NAME}_get_script): Don't use a special script when
producing a shared library.
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove.
* scripttempl/aout.sc: Remove CREATE_SHLIB tests.
* ldlang.c (entry_from_cmdline): New global variable.
(lang_add_entry): Change cmdline parameter from int to boolean.
Use global entry_from_cmdline rather than function static
from_cmdline.
* ldlang.h (entry_from_cmdline): Declare.
(lang_add_entry): Change declaration of second parameter from int
to boolean.
* ldgram.y: Pass false, not 0, to lang_add_entry.

29 years agoFri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 29 Sep 1995 09:22:29 +0000 (09:22 +0000)]
Fri Sep 29 02:10:05 1995  steve chamberlain  <sac@slash.cygnus.com>

* Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h
* callback.c (os_printf_filtered): fix protos.
* defs.h (puts_filtered, puts_unfiltered
[v|f|]printf_[un]filtered): Make format arg const.
* remote-rdp.c (rdp_init): Attept to sync at different
baudrates.
* utils.c (puts_filtered, puts_unfiltered
[v|f|]printf_[un]filtered): Define prototypes with
const in the right place.

29 years ago * mpw-configure: Fix sed command file name.
Stan Shebs [Fri, 29 Sep 1995 04:21:00 +0000 (04:21 +0000)]
* mpw-configure: Fix sed command file name.

29 years agoComings and goings of Mac-specific files.
Stan Shebs [Fri, 29 Sep 1995 03:11:46 +0000 (03:11 +0000)]
Comings and goings of Mac-specific files.

29 years ago * mpw-config.in: Calculate underscore and put into makefile
Stan Shebs [Fri, 29 Sep 1995 03:07:08 +0000 (03:07 +0000)]
* mpw-config.in: Calculate underscore and put into makefile
fragment, generate config.h.
* mpw-make.sed: New file, sed commands to edit Unix makefile
into MPW syntax.
* mpw-make.in: Remove.
* mac-binutils.r: New file, Mac resources.

29 years agoComings and goings of Mac-specific files.
Stan Shebs [Fri, 29 Sep 1995 02:39:58 +0000 (02:39 +0000)]
Comings and goings of Mac-specific files.

29 years agoChanges to Mac-specific files.
Stan Shebs [Fri, 29 Sep 1995 02:38:28 +0000 (02:38 +0000)]
Changes to Mac-specific files.

29 years ago * mpw-config.in: Translate "powerpc" into "ppc", remove gen of
Stan Shebs [Fri, 29 Sep 1995 02:37:17 +0000 (02:37 +0000)]
* mpw-config.in: Translate "powerpc" into "ppc", remove gen of
VERSION, move gen of "conf" here from makefile.
* mpw-make.sed: New file, sed commands to translate Unix makefile
into MPW syntax.
* mpw-make.in: Remove.
* mac-as.r: New file, Mac resource file.
* as.h (inline): Don't decide about defining if __MWERKS__,
remove redundant conditional and definition.

* stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.

29 years agoDescription of PowerMac changes.
Stan Shebs [Fri, 29 Sep 1995 02:16:05 +0000 (02:16 +0000)]
Description of PowerMac changes.

29 years ago * config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*.
Stan Shebs [Fri, 29 Sep 1995 02:14:51 +0000 (02:14 +0000)]
* config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*.
* configure, configure.in: Add pmac_xcoff_vec case.
* Makefile.in (BFD32_BACKENDS): Add coff-pmac.o.
* coff-pmac.c: New file, PowerMac XCOFF support.
* coffcode.h (coff_set_arch_mach_hook): Add PowerMac case.
* targets.c (pmac_xcoff_vec): Declare.

* mpw-config.in: Various changes to be compatible with the
autoconf-based configury.
* mpw-make.sed: New file, sed commands to translate Unix
makefile into MPW syntax.
* mpw-make.in: Remove.
* hosts/mpw.h: Remove.
* bfd-in.h, bfd-in2.h: If MPW, include the file that defines
true and false as enums, then define TRUE_FALSE_ALREADY_DEFINED.

29 years ago * defs.h (enum language): Add language_scm.
Per Bothner [Fri, 29 Sep 1995 01:43:54 +0000 (01:43 +0000)]
* defs.h (enum language):  Add language_scm.
* expression.h (enum exp_code):  Added OP_EXPRSTRING.
* scm-lang.c:  Preliminary support for Guile /SCM dialect of Scheme.
* expprint.c (print_subexp):  Add OP_EXPRSTRING support.
* parse.c (length_of_subexp, prefixify_subexp):  Likewise.
* valops.c (find_function_in_inferior):  New function.
(value_allocate_space_in_inferior):  New function.
(allocate_space_in_inferior):  Redefine using previous function.
* Makefile.in (SFILES):  Add scm-lang.c.
(COMMON_OBS):  Add scm-lang.o

29 years agouse bison
Steve Chamberlain [Fri, 29 Sep 1995 00:48:00 +0000 (00:48 +0000)]
use bison
use ar rv.

29 years ago * configure.in (host i[345]86-*-win32): Reduce the
Steve Chamberlain [Fri, 29 Sep 1995 00:41:15 +0000 (00:41 +0000)]
* configure.in (host i[345]86-*-win32): Reduce the
noconfigdirs again.