platform/upstream/binutils.git
29 years ago * NEWS: Add information about win32 and arm code.
Steve Chamberlain [Mon, 9 Oct 1995 21:54:26 +0000 (21:54 +0000)]
* NEWS:  Add information about win32 and arm code.
* win32-nat.c: Renamed from win32.c
* config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
* config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
* config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
* config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
* configure.in (i[345]86-*-win32): Updated to cope with filename changes.
* configure: Regenerated.

29 years ago * configure.in: Stop putting binutils in noconfigdirs for
Ian Lance Taylor [Mon, 9 Oct 1995 21:23:34 +0000 (21:23 +0000)]
* configure.in: Stop putting binutils in noconfigdirs for
powerpc-*-aix* and rs6000-*-*.

29 years ago * libcoff-in.h (struct xcoff_tdata): Define.
Ian Lance Taylor [Mon, 9 Oct 1995 21:19:53 +0000 (21:19 +0000)]
* libcoff-in.h (struct xcoff_tdata): Define.
(xcoff_data): Define.
* bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union.
* bfd-in2.h, libcoff.h: Rebuild.
* coff-rs6000.c (xcoff_mkobject): New static function.
(coff_mkobject): Define.
(xcoff_copy_private_bfd_data): New static function.
(coff_bfd_copy_private_bfd_data): Define.
(rs6000coff_howto_table): Change R_TOC complain_on_overflow from
signed to bitfield.
(rs6000coff_vec): Add DYNAMIC to object_flags.
* coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and
.loader sections specially.
(coff_new_section_hook): If RS6000COFF_C, get the .text and .data
section alignment from the XCOFF tdata information.
(coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on
F_SHROBJ, and copy the extra a.out header information into the
XCOFF tdata structure.
(coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ,
F_DYNLOAD and the extra a.out header information.
(coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or
C_HIDEXT symbol with attached csect information.
* coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap
in the o_maxdata field.
(coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields.
* coffgen.c (coff_renumber_symbols): Don't move any symbol to the
end if BSF_NOT_AT_END is set.

29 years agoMon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Mon, 9 Oct 1995 20:08:13 +0000 (20:08 +0000)]
Mon Oct  9 13:06:31 1995  steve chamberlain  <sac@slash.cygnus.com>

* dlltool.c (add_underscore): New.
(xlate): Use new name.
(main, usage): Update.

29 years ago * internal.h (struct internal_aouthdr): Add o_maxdata field.
Ian Lance Taylor [Mon, 9 Oct 1995 18:50:11 +0000 (18:50 +0000)]
* internal.h (struct internal_aouthdr): Add o_maxdata field.

29 years ago * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments.
Ian Lance Taylor [Mon, 9 Oct 1995 18:46:30 +0000 (18:46 +0000)]
* rs6000.h (AOUTHDR): Add o_maxdata field.  Add comments.
(_PAD, _LOADER): Define.
(STYP_LOADER): Define.

29 years agoAdd support for building -mcall-aixdesc libraries.
Michael Meissner [Mon, 9 Oct 1995 16:40:32 +0000 (16:40 +0000)]
Add support for building -mcall-aixdesc libraries.

29 years ago * coffcode.h (coff_slurp_symbol_table): Set BSF_NOT_AT_END for an
Ian Lance Taylor [Mon, 9 Oct 1995 15:40:38 +0000 (15:40 +0000)]
* coffcode.h (coff_slurp_symbol_table): Set BSF_NOT_AT_END for an
XCOFF XTY_LD symbol.

29 years ago * targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
Ian Lance Taylor [Mon, 9 Oct 1995 15:29:04 +0000 (15:29 +0000)]
* targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
_bfd_read_ar_hdr_fn.
* libbfd-in.h (_bfd_read_ar_hdr): Update accordingly.
* bfd-in2.h, libbfd.h: Rebuild.
* archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr
return value.
(do_slurp_bsd_armap, do_slurp_coff_armap): Likewise.
(bfd_slurp_bsd_armap_f2): Likewise.
(_bfd_slurp_extended_name_table): Likewise.

29 years ago * ch-exp.y (yylex): Also look for '$' following '$'.
Per Bothner [Mon, 9 Oct 1995 01:00:09 +0000 (01:00 +0000)]
* ch-exp.y (yylex):  Also look for '$' following '$'.

29 years ago * configure.in: Explicitly `exit 0' for broken shells.
Peter Schauer [Sun, 8 Oct 1995 11:27:49 +0000 (11:27 +0000)]
* configure.in:  Explicitly `exit 0' for broken shells.
* configure:  Rebuilt.

29 years ago * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
Peter Schauer [Sun, 8 Oct 1995 11:24:21 +0000 (11:24 +0000)]
* gdb.base/return.exp:  Change xfail from "sparc-*-solaris2.*" to
"sparc-*-solaris2*".

29 years ago * configure.in: Handle powerpc-ibm-aix* like rs6000-ibm-aix*.
Peter Schauer [Sun, 8 Oct 1995 11:20:01 +0000 (11:20 +0000)]
* configure.in:  Handle powerpc-ibm-aix* like rs6000-ibm-aix*.

29 years agofix typo
Michael Meissner [Sun, 8 Oct 1995 02:53:24 +0000 (02:53 +0000)]
fix typo

29 years agoAdd set_sim_callbacks new needed by gdb.
Michael Meissner [Sun, 8 Oct 1995 02:42:39 +0000 (02:42 +0000)]
Add set_sim_callbacks new needed by gdb.

29 years agoFix warnings under Linux
Michael Meissner [Sun, 8 Oct 1995 00:45:37 +0000 (00:45 +0000)]
Fix warnings under Linux

29 years agoFix warnings under Linux
Michael Meissner [Sun, 8 Oct 1995 00:44:03 +0000 (00:44 +0000)]
Fix warnings under Linux

29 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
Ian Lance Taylor [Sat, 7 Oct 1995 21:09:57 +0000 (21:09 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
bother searching for needed libraries unless doing a final link.

29 years agodo not build aixdesc libs.
Michael Meissner [Sat, 7 Oct 1995 02:52:25 +0000 (02:52 +0000)]
do not build aixdesc libs.

29 years agoModify last patch based on advice from Stu.
Jim Wilson [Sat, 7 Oct 1995 00:31:18 +0000 (00:31 +0000)]
Modify last patch based on advice from Stu.

29 years ago * top.c (execute_control_command): Use 0/1 instead of BFD's
Stan Shebs [Sat, 7 Oct 1995 00:27:31 +0000 (00:27 +0000)]
* top.c (execute_control_command): Use 0/1 instead of BFD's
true/false.

29 years agosplit change log
Ken Raeburn [Fri, 6 Oct 1995 22:39:14 +0000 (22:39 +0000)]
split change log

29 years ago * coffgen.c (coff_fix_symbol_name): Don't try to set up file
Ian Lance Taylor [Fri, 6 Oct 1995 22:35:01 +0000 (22:35 +0000)]
* coffgen.c (coff_fix_symbol_name): Don't try to set up file
auxent if there isn't one.
(coff_write_symbols): If there is no file auxent, use SYMNMLEN
rather than FILNMLEN as the maximum name length.

29 years ago * sparcl-stub.c: include sparclite.h to get access to register
Stu Grossman [Fri, 6 Oct 1995 21:51:20 +0000 (21:51 +0000)]
* sparcl-stub.c:  include sparclite.h to get access to register
fondling macros.
* (trap_low):  Save and restore FP regs if necessary.  Also, clean
up save and restore of debug unit regs.
* (hard_trap_info):  Add more architecturally defined traps.
* (set_debug_traps):  Only set FP disabled trap if FP is disabled.
* (get_in_break_mode):  Clean up.  Get rid of calls to
set_hw_breakpoint_trap().  Also, use write_asi macro
* (handle_exception):  Clean up `g' and `G' commands.  Add `P'
command.
* (hw_breakpoint):  Why was this here!?  It's gone now...

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 21:39:20 +0000 (21:39 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.

* config/obj-elf.c (obj_elf_common): Convert specified byte alignment to power
of two.  Set size of local bss symbol.

* config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 21:30:51 +0000 (21:30 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* archive.c (bfd_get_next_mapent): Return BFD_NO_MORE_SYMBOLS when the symbol
table is empty.

* elf32-m68k.c (elf_m68k_size_dynamic_sections): Don't reserve space for
section symbols, since we don't output them either.
(elf_m68k_adjust_dynindx): Removed.

* ptrace-core.c (rawptr): Make it a local variable of ptrace_unix_core_file_p.
* trad-core.c (rawptr): Likewise, for trad_unix_core_file_p.

29 years agoPrint exit status/signal number if -I
Michael Meissner [Fri, 6 Oct 1995 21:23:35 +0000 (21:23 +0000)]
Print exit status/signal number if -I

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 20:59:33 +0000 (20:59 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k-dis.c (print_insn_m68k): Recognize all two-word instructions that take
no args by looking at the match mask.
(print_insn_arg): Always print "%" before register names.
[case 'c']: Use "nc" for the no-cache case, as recognized by gas.
[case '_']: Don't print "@#" before address.
[case 'J']: Use "%s" as format string, not register name.
[case 'B']: Treat place == 'C' like 'l' and 'L'.

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 20:51:43 +0000 (20:51 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile.in: Add dependecies for $(OBJS) on header files.

* cg_print.c (print_cycle, print_members, cg_print_index): Fix new style output
format to make it consistent.
* dummy.c (find_call): Fix typo in error message.

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 20:48:58 +0000 (20:48 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* nm.c (print_symname): Don't try to demangle an empty name.
* objdump.c (slurp_symtab): Reset symcount if there are no symbols.
(slurp_dynamic_symtab): Likewise, for dynsymcount.
(disassemble_data): Fix memory leak: free sorted_syms when done.
(display_bfd): Likewise, for syms and dynsyms.
(dump_relocs): Don't print header before possibly generating an error message.
(dump_dynamic_relocs): Likewise.

* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting
bugs.

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 20:46:02 +0000 (20:46 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* ld/ld.1: Fix formatting bugs.

29 years agoMon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ken Raeburn [Fri, 6 Oct 1995 20:38:53 +0000 (20:38 +0000)]
Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config.sub (arm | armel | armeb): Fix shell syntax.

29 years ago * coffcode.h (bfd_coff_backend_data): Add new field
Ian Lance Taylor [Fri, 6 Oct 1995 20:36:26 +0000 (20:36 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_print_aux.
(bfd_coff_print_aux): New static function.
(coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the
scnlen field of an XTY_LD csect aux entry.
(coff_print_aux): New static function.
(coff_slurp_symbol_table): Don't pointerize scnlen field; now done
in coff_pointerize_aux_hook.
(bfd_coff_std_swap_table): Initialize new field.
* coffgen.c (coff_print_symbol): Call bfd_coff_print_aux.
* libcoff.h: Rebuild.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

29 years ago * coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG
Ian Lance Taylor [Fri, 6 Oct 1995 19:49:48 +0000 (19:49 +0000)]
* coffcode.h (coff_write_object_contents): On AIX, clear F_RELFLG
if there are symbols, for native AIX ld compatibility.

29 years ago * sb.c, macro.c: Decide whether to include <string.h> or
Ian Lance Taylor [Fri, 6 Oct 1995 19:25:15 +0000 (19:25 +0000)]
* sb.c, macro.c: Decide whether to include <string.h> or
<strings.h> just as as.h does.

29 years ago * coffcode.h (bfd_coff_backend_data): Add new field
Ian Lance Taylor [Fri, 6 Oct 1995 19:19:48 +0000 (19:19 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_pointerize_aux_hook.
(coff_pointerize_aux_hook): Define as a function if RS6000COFF_C
or I960, and as 0 otherwise.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* coffgen.c (coff_pointerize_aux): Change parameters  to take
symbol pointer instead of type and class, and to take aux index.
Call _bfd_coff_pointerize_aux_hook if it is defined.
(coff_get_normalized_symtab): Always call coff_pointerize_aux.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

29 years ago * interp.c (callback): Remove last change. It is initialized by
Jim Wilson [Fri, 6 Oct 1995 19:15:06 +0000 (19:15 +0000)]
* interp.c (callback): Remove last change.  It is initialized by
a sim_set_callbacks call.

29 years ago * interp.c (trap, case SYS_utime): Cast second arg of utime to
Jim Wilson [Fri, 6 Oct 1995 19:13:13 +0000 (19:13 +0000)]
* interp.c (trap, case SYS_utime): Cast second arg of utime to
void * to avoid compiler error.

29 years ago * gas/arm/le-fpconst.[sd]: New testcase.
David Edelsohn [Fri, 6 Oct 1995 19:10:17 +0000 (19:10 +0000)]
* gas/arm/le-fpconst.[sd]: New testcase.

29 years ago(le-fpconst): New testcase.
David Edelsohn [Fri, 6 Oct 1995 19:08:47 +0000 (19:08 +0000)]
(le-fpconst): New testcase.

29 years agoChanges to make the simulator work again.
Jim Wilson [Fri, 6 Oct 1995 19:06:13 +0000 (19:06 +0000)]
Changes to make the simulator work again.
* callback.c (fdbad): Fix typo in comment.
(os_close, os_isatty, os_lseek, os_read, os_write): Use if statements
rather than || to get correct return value.
(os_write_stdout): Pass missing first argument to os_write.
* remote-sim.c: Include callback.h.
(_initialize_remote_sim): Call sim_set_callbacks and then initialize
the callbacks.

29 years ago * common/run.c (main): Initialize the callbacks.
Jim Wilson [Fri, 6 Oct 1995 19:05:40 +0000 (19:05 +0000)]
* common/run.c (main): Initialize the callbacks.

29 years agoAdd AIX multilib support; Add -mcall-aix/-mcall-aixdesc multilibs to powerpc*-*-eabisim.
Michael Meissner [Fri, 6 Oct 1995 18:42:50 +0000 (18:42 +0000)]
Add AIX multilib support; Add -mcall-aix/-mcall-aixdesc multilibs to powerpc*-*-eabisim.

29 years ago * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
David Edelsohn [Fri, 6 Oct 1995 18:33:20 +0000 (18:33 +0000)]
* config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
all coff targets.

29 years ago* sysinfo.y: Eliminate unused terminals "[" and "]" and unused nonterminal
Ken Raeburn [Fri, 6 Oct 1995 18:12:45 +0000 (18:12 +0000)]
* sysinfo.y: Eliminate unused terminals "[" and "]" and unused nonterminal
"name".  One s/r conflict remains.

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.