binutils-gdb.git
30 years ago * config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
Ian Lance Taylor [Wed, 12 Oct 1994 18:11:52 +0000 (18:11 +0000)]
* config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
rather than explicitly adding the frag address.
* config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
the end of the line numbers; this replaces the zero entry which
used to be added by coff_add_linesym, removed Oct 7.
(coff_adjust_section_syms): Ignore sections with no seginfo.
Update the RS/6000 assembler for recent gas changes.

30 years ago * rs6000-core.c (rs6000coff_core_file_matches_executable_p): Make
Ian Lance Taylor [Wed, 12 Oct 1994 16:19:33 +0000 (16:19 +0000)]
* rs6000-core.c (rs6000coff_core_file_matches_executable_p): Make
str1 and str2 const pointers.

30 years ago * partial-stab.h (N_TEXT): Delete GDB_TARGET_IS_HPPA kludge; they
Jeff Law [Wed, 12 Oct 1994 16:13:51 +0000 (16:13 +0000)]
* partial-stab.h (N_TEXT): Delete GDB_TARGET_IS_HPPA kludge; they
are no longer needed as of gcc-2.6.0.

30 years ago * Makefile.in (INSTALL): Use top level install.sh script.
Ian Lance Taylor [Wed, 12 Oct 1994 15:57:28 +0000 (15:57 +0000)]
* Makefile.in (INSTALL): Use top level install.sh script.
* config/README (INSTALL): Remove.
* config/delta88.mh (INSTALL): Remove.
* config/i386v4.mh (INSTALL): Remove.
* config/irix4.mh (INSTALL): Remove.
* config/irix5.mh (INSTALL): Remove.
* config/ncrt3000.mh (INSTALL): Remove.

30 years agoshut up if only a subset was checked out in the first place
Ken Raeburn [Wed, 12 Oct 1994 06:56:16 +0000 (06:56 +0000)]
shut up if only a subset was checked out in the first place

30 years ago* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink to
Ken Raeburn [Wed, 12 Oct 1994 05:46:05 +0000 (05:46 +0000)]
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink to
the appropriate stage* directory, and use it instead in the -B options.
(comparison): Revert yesterday's change.

30 years ago* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if pc-relative,
Ken Raeburn [Wed, 12 Oct 1994 05:41:45 +0000 (05:41 +0000)]
* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if pc-relative,
use fx_offset only, ignore address of relocation.

30 years agoBreakpoints work, run works. Fixed "monitor" command.
Rob Savoye [Wed, 12 Oct 1994 03:34:08 +0000 (03:34 +0000)]
Breakpoints work, run works. Fixed "monitor" command.

30 years agoupdating to match changes made to progressive/build-all.mk
Karen Christiansen [Tue, 11 Oct 1994 23:59:43 +0000 (23:59 +0000)]
updating to match changes made to progressive/build-all.mk

30 years agoWriting to memory now works for both targets.
Rob Savoye [Tue, 11 Oct 1994 22:12:30 +0000 (22:12 +0000)]
Writing to memory now works for both targets.

30 years agoTue Oct 11 13:57:56 1994 Eric Youngdale (eric@andante.aib.com)
Ian Lance Taylor [Tue, 11 Oct 1994 21:40:54 +0000 (21:40 +0000)]
Tue Oct 11 13:57:56 1994  Eric Youngdale  (eric@andante.aib.com)

* elf32-i386.c (elf_i386_check_relocs): Make sure that a symbol
with a global offset table entry or a procedure linkage table
entry is added to the dynamic symbol table.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): If a symbol has
already gotten a procedure linkage table entry, change the
definition to the PLT entry.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.

30 years ago * lynx-core.c (lynx_core_file_p): SPARC Lynx appears to start
Ian Lance Taylor [Tue, 11 Oct 1994 21:13:45 +0000 (21:13 +0000)]
* lynx-core.c (lynx_core_file_p): SPARC Lynx appears to start
dumping the .data section in a core file at a page boundary.

30 years ago * lynx-nat.c (child_wait): Correct handling of byte reversed SPARC
Ian Lance Taylor [Tue, 11 Oct 1994 21:08:57 +0000 (21:08 +0000)]
* lynx-nat.c (child_wait): Correct handling of byte reversed SPARC
        Lynx wait status.
(fetch_core_registers): Don't try to fetch a register if
regmap maps it to -1.
* sparc-tdep.c (sparc_frame_find_saved_regs): Use FRAME_SAVED_I0
and FRAME_SAVED_L0 when setting saved_regs_addr.  SPARC Lynx
stores the registers in a weird order.
These patches make SPARC Lynx gdb usable, though it still has problems.

30 years agoTue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)
Jason Merrill [Tue, 11 Oct 1994 19:43:48 +0000 (19:43 +0000)]
Tue Oct 11 12:12:29 1994  Jason Merrill  (jason@phydeaux.cygnus.com)

        * Makefile.in (CXXFLAGS): Use -fno-implicit-templates instead of
        -fexternal-templates.

Because libstdc++ won't build with -fexternal-templates.

30 years ago * config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
Ian Lance Taylor [Tue, 11 Oct 1994 19:25:42 +0000 (19:25 +0000)]
* config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
for an embedded PIC switch expression, since the definition of
S_IS_LOCAL was changed.

30 years agoTue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)
Jason Merrill [Tue, 11 Oct 1994 19:13:46 +0000 (19:13 +0000)]
Tue Oct 11 12:12:29 1994  Jason Merrill  (jason@phydeaux.cygnus.com)

        * configure.in (target_libs): Add libstdc++.
        (noconfigdirs): Add libstdc++ as appropriate.

30 years ago* Makefile.in (comparison): When comparing as.new or gasp.new, try running the
Ken Raeburn [Tue, 11 Oct 1994 19:12:55 +0000 (19:12 +0000)]
* Makefile.in (comparison): When comparing as.new or gasp.new, try running the
binary through sed to avoid differences due to "stage1" or "stage2" having been
written into the binary.

30 years agoMemory_reads_inferior() and monitor_fetch_registers() now work good on
Rob Savoye [Tue, 11 Oct 1994 04:37:18 +0000 (04:37 +0000)]
Memory_reads_inferior() and monitor_fetch_registers() now work good on
both targets. On to the "set" functions...

30 years agoKeep/lose arc stuff.
David Edelsohn [Mon, 10 Oct 1994 21:04:34 +0000 (21:04 +0000)]
Keep/lose arc stuff.

30 years ago* nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
J.T. Conklin [Mon, 10 Oct 1994 20:54:28 +0000 (20:54 +0000)]
* nlmconv.c (link_inputs): Pass -Ur flag to ld so that the
  ctor/dtor tables needed by C++ programs are built.

30 years ago* cofflink.c (_bfd_coff_final_link): Cast argument to bfd_h_put_32 to correct
Ken Raeburn [Mon, 10 Oct 1994 20:38:06 +0000 (20:38 +0000)]
* cofflink.c (_bfd_coff_final_link): Cast argument to bfd_h_put_32 to correct
type.
(coff_read_string_table): Cast argument to bfd_h_get_32 to correct type.
* elfcode.h (elf_link_output_extsym): Cast argument to bfd_elf_hash to correct
type.

30 years ago* elf32-sparc.c (elf_sparc_howto_table): The PC10, PC22, and WPLT30 relocations
Ken Raeburn [Mon, 10 Oct 1994 20:30:32 +0000 (20:30 +0000)]
* elf32-sparc.c (elf_sparc_howto_table): The PC10, PC22, and WPLT30 relocations
are PC-relative.

30 years agoMove COPYING.NEWLIB to cygnus_files.
David Edelsohn [Mon, 10 Oct 1994 17:24:43 +0000 (17:24 +0000)]
Move COPYING.NEWLIB to cygnus_files.
Don't want it appearing in fsf releases!

30 years ago * Makefile.in (srconv.o): Add dependence on sysroff.c.
Jim Wilson [Mon, 10 Oct 1994 01:06:20 +0000 (01:06 +0000)]
* Makefile.in (srconv.o): Add dependence on sysroff.c.

30 years ago * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
Jim Kingdon [Sun, 9 Oct 1994 14:52:02 +0000 (14:52 +0000)]
* gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
bug involving using inferior_pid to figure out whether to select a
frame.

30 years ago * blockframe.c (reinit_frame_cache): Reinstate select_frame call
Jim Kingdon [Sun, 9 Oct 1994 04:02:32 +0000 (04:02 +0000)]
* blockframe.c (reinit_frame_cache): Reinstate select_frame call
if inferior_pid is nonzero.

30 years ago * config/sparc/tm-sparc.h: Add PARAMS declarations to all
Peter Schauer [Sat, 8 Oct 1994 11:55:45 +0000 (11:55 +0000)]
* config/sparc/tm-sparc.h:  Add PARAMS declarations to all
function declarations.

30 years ago Speed up GDB startup time by not demangling partial symbols.
Peter Schauer [Sat, 8 Oct 1994 11:54:29 +0000 (11:54 +0000)]
Speed up GDB startup time by not demangling partial symbols.
* symfile.h (ADD_PSYMBOL_VT_TO_LIST),
symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
No longer demangle partial symbols.
* symtab.c (lookup_symbol, list_symbols): Handle mangled
variables, e.g. C++ static members, via the minimal symbols.

Handle reordered functions in an objfile, for Irix 5.2 shared
libraries.
* objfiles.h (OBJF_REORDERED):  New bit in the objfile flags,
set if the functions in an objfile are reordered.
* mdebugread.c (parse_partial_symbols):  Detect reordered
functions in an objfile.
* symtab.c (find_pc_psymtab, find_pc_symtab):  Use expensive
lookup algorithm if the functions in the objfile are reordered.

* xcoffexec.c (exec_close):  If the current target has a copy
of the exec_ops sections, reflect the freeing of the sections
in current_target.

* valops.c (call_function_by_hand):  Use `sizeof dummy1', not
`sizeof dummy', for constructing the call dummy code.

* config/sparc/tm-sparc.h:  Add PARAMS declarations to all
function declarations.
* sparc-tdep.c (sparc_pop_frame):  Cast result of
read_memory_integer to CORE_ADDR when passing it to PC_ADJUST.

* irix5-nat.c (enable_break):  Set breakpoint at the entry point
of the executable, to handle the case where main resides in a
shared library.
* irix5-nat.c (solib_create_inferior_hook):  Reset stop_soon_quietly
after shared library symbol reading, to get rid of a warning from
heuristic_proc_start if the startup code has no symbolic debug info.

* breakpoint.h (struct breakpoint):  Add new fields language
and input_radix, to enable breakpoint resetting with the
proper language and radix.
* breakpoint.c (set_raw_breakpoint):  Initialize them.
(breakpoint_re_set_one):  Use them when resetting the breakpoint.
(breakpoint_re_set):  Preserve current language and input_radix
across breakpoint_re_set_one calls.

* symtab.c (decode_line_1):  Do not build a canonical line
specification for `*expr' line specifications.

* breakpoint.h (bpstat_stop_status):  Fix prototype declaration.

30 years agoelf fixes
Ken Raeburn [Sat, 8 Oct 1994 07:55:52 +0000 (07:55 +0000)]
elf fixes

30 years ago The point of these changes is to avoid reading the frame pointer
Jim Kingdon [Sat, 8 Oct 1994 03:41:21 +0000 (03:41 +0000)]
The point of these changes is to avoid reading the frame pointer
and stack pointer during stepping, to speed things up.
A.  Changes to not select a frame until we need a selected frame:
    * blockframe.c (flush_cached_frames): Call select_frame (NULL, -1).
    * infrun.c (wait_for_inferior): Move call to select_frame back to
    normal_stop.  This reverts a change of 13 Apr 94 (it says Jeff
    Law, but the change was my idea); the only reason for that change
    was so we could save and restore the selected frame in
    wait_for_inferior, and now that flush_cached frames clears the
    selected frame, that should work OK now.
B.  Changes to not create a current_frame until we need one:
    * blockframe.c (get_current_frame): If current_frame is NULL, try
    to create an innermost frame.
    * sparc-tdep.c (sparc_pop_frame), infcmd.c (run-stack_dummy),
    infrun.c (wait_for_inferior), thread.c (thread_switch),
    convex-tdep.c (set_thread_command), a29k-tdep.c (pop_frame),
    alpha-tdep.c (alpha_pop_frame), convex-xdep.c (core_file_command),
    h8300-tdep.c (h8300_pop_frame), h8500-tdep.c (h8300_pop_frame),
    hppa-tdep.c (hppa_pop_frame), i386-tdep.c (i386_pop_frame),
    i960-tdep.c (pop_frame), m68k-tdep.c
    (m68k_pop_frame), mips-tdep.c (mips_pop_frame), rs6000-tdep.c
    (push_dummy_frame, pop_dummy_frame, pop_frame), sh-tdep.c
    (pop_frame), config/arm/tm-arm.h (POP_FRAME),
    config/convex/tm-convex.h (POP_FRAME), config/gould/tm-pn.h
    (POP_FRAME), config/ns32k/tm-merlin.h (POP_FRAME),
    config/ns32k/tm-umax.h (POP_FRAME), config/tahoe/tm-tahoe.h
    (POP_FRAME), config/vax/tm-vax.h (POP_FRAME): Don't
    call create_new_frame.
    * corelow.c (core_open), altos-xdep.c (core_file_command),
    arm-xdep.c (core_file_command), gould-xdep.c (core_file_command),
    m3-nat.c (select_thread), sun386-nat.c (core_file_command),
    umax-xdep.c (core_file_command): Don't call create_new_frame; do
    call flush_cached_frames.
    * blockframe.c (reinit_frame_cache): Don't call create_new_frame
    or select_frame.
C.  Changes to get rid of stop_frame_address and instead only
fetch the frame pointer when we need it.
    * breakpoint.c (bpstat_stop_status): Remove argument
    frame_address; use FRAME_FP (get_current_frame ()).
    * infrun.c (wait_for_inferior): Don't pass frame pointer to
    bpstat_stop_status.
    * infrun.c (wait_for_inferior): Use FRAME_FP (get_current_frame
    ()) instead of stop_frame_address.
    * infrun.c (save_inferior_status, restore_inferior_status),
    inferior.h (struct inferior_status): Don't save and restore
    stop_frame_address.
    * inferior.h, infcmd.c, thread.c (thread_switch), m3-nat.c
    (select_thread): Remove stop_frame_address and uses thereof.
D.  Same thing for the stack pointer.
    * infrun.c (wait_for_inferior): Remove stop_sp and replace
    uses thereof with read_sp ().
E.  Change to eliminate one nasty little spot where we were
wanting to know the frame pointer from before the current step
(idea from GDB 3.5, which saved my ass, because my other ideas of
how to fix it were very baroque).
    * infrun.c: Remove prev_frame_address.
    * infrun.c (wait_for_inferior, step_over_function): Use
    step_frame_address instead of prev_frame_address.
F.  Same basic idea for the stack pointer.
    * inferior.h, infcmd.c: New variable step_sp.
    * infcmd.c (step_1, until_next_command): Set it.
    * infrun.c: Remove prev_sp and replace uses by step_sp.
    * infrun.c (wait_for_inferior): If we get out of the step
    range, then set step_sp to the current stack pointer before we
    start going again.

30 years agocoff aux/lineno, m88k, vms/flagseen changes
Ken Raeburn [Fri, 7 Oct 1994 22:06:01 +0000 (22:06 +0000)]
coff aux/lineno, m88k, vms/flagseen changes

30 years ago* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather than
Ken Raeburn [Fri, 7 Oct 1994 22:02:54 +0000 (22:02 +0000)]
* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather than
both it and TC_M88K.
(coff_adjust_section_syms): New function.
(coff_frob_section): For non-empty sections, create aux entry for the section
symbol, indicating the size.
(n_line_nos): New variable.
(add_lineno): Increment it.
(coff_add_linesym): Increment n_line_nos, don't call add_lineno.
(coff_frob_file): New function; map coff_adjust_section_syms over sections.
(obj_coff_line): Only reset line_base for .bf symbols.
* config/obj-coff.h (coff_adjust_section_syms, coff_frob_file): Declare.
(obj_frob_file): New macro.

* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
obj_frob_forward_symbol, and rewritten for new parameter list.

30 years agodefine TC_KEEP_FX_OFFSET
Ken Raeburn [Fri, 7 Oct 1994 22:00:18 +0000 (22:00 +0000)]
define TC_KEEP_FX_OFFSET

30 years agoMon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)
Ken Raeburn [Fri, 7 Oct 1994 22:00:01 +0000 (22:00 +0000)]
Mon Oct  3 21:02:38 1994  Pat Rankin  (rankin@eql.caltech.edu)

* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.

30 years agowhoops
Ian Lance Taylor [Fri, 7 Oct 1994 16:33:35 +0000 (16:33 +0000)]
whoops

30 years ago * top.c (target_byte_order_auto): New static variable.
Ian Lance Taylor [Fri, 7 Oct 1994 16:20:21 +0000 (16:20 +0000)]
* top.c (target_byte_order_auto): New static variable.
(set_endian): Mention that ``auto'' is permitted.
(set_endian_auto): New static function.
(show_endian): Change message based on target_byte_order_auto.
(set_endian_from_file): New function.
(init_main): Add command ``auto'' to endianlist.
* exec.c (exec_file_command): Call set_endian_from_file.
* defs.h (set_endian_from_file): Declare.

30 years ago* nlm/i386.c (flush_i_cache): New function, does nothing.
J.T. Conklin [Fri, 7 Oct 1994 01:17:02 +0000 (01:17 +0000)]
* nlm/i386.c (flush_i_cache): New function, does nothing.
(frame_to_registers, registers_to_frame, set_step_traps,
clear_step_traps, do_status): Make non-static.

30 years ago * config.guess: Update from FSF.
Per Bothner [Fri, 7 Oct 1994 01:06:03 +0000 (01:06 +0000)]
* config.guess:  Update from FSF.

30 years ago * defs.h: If TARGET_BYTE_ORDER_SELECTABLE is defined by tm.h,
Ian Lance Taylor [Thu, 6 Oct 1994 16:47:32 +0000 (16:47 +0000)]
* defs.h: If TARGET_BYTE_ORDER_SELECTABLE is defined by tm.h,
define TARGET_BYTE_ORDER as target_byte_order, and declare
target_byte_order as an extern int, and define BITS_BIG_ENDIAN as
a test of TARGET_BYTE_ORDER.
* top.c: Several additions if TARGET_BYTE_ORDER_SELECTABLE is
defined:
(endianlist, target_byte_order): New variables.
(set_endian, set_endian_big, set_endian_little): New functions.
(show_endian): New function.
(init_cmd_lists): Initialize endianlist.
(init_main): Add commands ``set endian big'', ``set endian
little'', and ``show endian''.
* a29k-pinsn.c: Rewrite uses of TARGET_BYTE_ORDER and
BITS_BIG_ENDIAN to switch at run time rather than at compile time.
* coffread.c, dwarfread.c, findvar.c, mips-tdep.c: Likewise.
* remote-os9k.c, stabsread.c, valarith.c, valprint.c: Likewise.
* values.c: Likewise.
* mips-tdep.c: Rewrite uses of GDB_TARGET_IS_MIPS64 to switch at
run time rather than at compile time.

30 years ago * config/mips/tm-mips.h (GDB_TARGET_IS_MIPS64): If not already
Ian Lance Taylor [Thu, 6 Oct 1994 16:43:40 +0000 (16:43 +0000)]
* config/mips/tm-mips.h (GDB_TARGET_IS_MIPS64): If not already
defined, define as 0.
(FIX_CALL_DUMMY): Rewrite to remove presumption that host and
target are similar.
* config/mips/tm-idt.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
* config/mips/tm-idtl.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
* config/mips/tm-idt64.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
(BREAKPOINT): Remove definition.
* config/mips/tm-idtl64.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
(BREAKPOINT): Remove definition.
* config/mips/tm-mips64.h (GDB_TARGET_IS_MIPS64): Define with a
value of 1, rather than without a value.
* config/mips/tm-bigmips64.h (GDB_TARGET_IS_MIPS64): Likewise.

30 years ago * remote-mips.c (break_insn): Remove.
Ian Lance Taylor [Thu, 6 Oct 1994 16:42:52 +0000 (16:42 +0000)]
* remote-mips.c (break_insn): Remove.
(BREAK_INSN, BREAK_INSN_SIZE): Define.
(mips_insert_breakpoint): Use BREAK_INSN, not break_insn.
(mips_remove_breakpoint): Likewise.

30 years agoBoth targets initialize, can dump registers too.
Rob Savoye [Thu, 6 Oct 1994 05:28:49 +0000 (05:28 +0000)]
Both targets initialize, can dump registers too.

30 years ago * Makefile.in (all-prms): Depend on all-librx.
Brendan Kehoe [Wed, 5 Oct 1994 21:32:42 +0000 (21:32 +0000)]
* Makefile.in (all-prms): Depend on all-librx.

30 years ago* nlm/configure.in: ${gdb_host_cpu} defaults to ${host_cpu}.
J.T. Conklin [Wed, 5 Oct 1994 21:01:54 +0000 (21:01 +0000)]
* nlm/configure.in: ${gdb_host_cpu} defaults to ${host_cpu}.

30 years agoyet another typo
J.T. Conklin [Wed, 5 Oct 1994 18:45:58 +0000 (18:45 +0000)]
yet another typo

30 years ago* nlm/Makefile.in: Get rid of NWINCLUDES.
J.T. Conklin [Wed, 5 Oct 1994 18:44:56 +0000 (18:44 +0000)]
* nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,powerpc}/gdbserve.mt: Remove NWINCLUDES.
  User should now configure with --with-headers.

30 years ago * archive.c (bfd_construct_extended_name_table): SVR4 uses slash
Ian Lance Taylor [Wed, 5 Oct 1994 18:43:30 +0000 (18:43 +0000)]
* archive.c (bfd_construct_extended_name_table): SVR4 uses slash
newline at the end of the file name, not just newline.

30 years agoFix typo
J.T. Conklin [Wed, 5 Oct 1994 18:43:12 +0000 (18:43 +0000)]
Fix typo

30 years ago* nlm/Makefile.in: Get rid of NWINCLUDES.
J.T. Conklin [Wed, 5 Oct 1994 18:40:49 +0000 (18:40 +0000)]
* nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,i386,powerpc}: Remove NWINCLUDES.  User should
  now configure with --with-headers.

30 years ago * config/obj-coff.c (coff_frob_section): Remove assert about
Ian Lance Taylor [Wed, 5 Oct 1994 04:13:29 +0000 (04:13 +0000)]
* config/obj-coff.c (coff_frob_section): Remove assert about
section alignment.
* config/tc-sparc.c (md_section_align): Use section alignment, not
xvec align_power_min field.

30 years agoAdd ChangeLog entry that (apparently) I nuked.
Jeff Law [Tue, 4 Oct 1994 23:30:39 +0000 (23:30 +0000)]
Add ChangeLog entry that (apparently) I nuked.

30 years ago * ecoff.c (_bfd_ecoff_new_section_hook): Default section alignment
Ian Lance Taylor [Tue, 4 Oct 1994 21:30:45 +0000 (21:30 +0000)]
* ecoff.c (_bfd_ecoff_new_section_hook): Default section alignment
power to 4, rather than using align_power_min.

30 years ago * coffcode.h (coff_new_section_hook): Don't use align_power_min;
Ian Lance Taylor [Tue, 4 Oct 1994 21:13:51 +0000 (21:13 +0000)]
* coffcode.h (coff_new_section_hook): Don't use align_power_min;
use COFF_DEFAULT_SECTION_ALIGNMENT_POWER instead.  Force the .stab
and .stabstr sections to be aligned to no more than 2.  Remove
COFF_SPARC special cases.
* coff-a29k.c: Define COFF_DEFAULT_SECTION_ALIGNMENT_POWER.
* coff-apollo.c, coff-go32.c, coff-h8300.c: Likewise.
* coff-h8500.c, coff-i386.c, coff-i960.c, coff-m68k.c: Likewise.
* coff-m88k.c, coff-rs6000.c, coff-sh.c, coff-sparc.c: Likewise.
* coff-we32k.c, coff-z8k.c: Likewise.
PR 5706.

30 years ago * configure.in: Use ${config_shell} when running config.bfd.
Ian Lance Taylor [Tue, 4 Oct 1994 16:18:19 +0000 (16:18 +0000)]
* configure.in: Use ${config_shell} when running config.bfd.

30 years ago * configure: Use ${config_shell} when running ${configsub}.
Ian Lance Taylor [Tue, 4 Oct 1994 16:06:32 +0000 (16:06 +0000)]
* configure: Use ${config_shell} when running ${configsub}.

30 years ago * cofflink.c (coff_link_input_bfd): Don't try to convert a long
Ian Lance Taylor [Tue, 4 Oct 1994 15:54:27 +0000 (15:54 +0000)]
* cofflink.c (coff_link_input_bfd): Don't try to convert a long
filename if the offset field is zero.

30 years ago * elfcode.h (swap_out_syms): If the alignment of a common symbol
Ian Lance Taylor [Tue, 4 Oct 1994 15:25:02 +0000 (15:25 +0000)]
* elfcode.h (swap_out_syms): If the alignment of a common symbol
was not set, use a sensible default rather than zero.
PR 5751.

30 years ago* config.sub: No longer recognize h8300h.
David Edelsohn [Mon, 3 Oct 1994 21:30:15 +0000 (21:30 +0000)]
* config.sub: No longer recognize h8300h.

30 years ago * config.sub: Remove extraneous differences between config.sub and
Ian Lance Taylor [Mon, 3 Oct 1994 16:41:46 +0000 (16:41 +0000)]
* config.sub: Remove extraneous differences between config.sub and
gcc/config.sub.

30 years ago * gdbserver/server.c (main): Silently accept all unrecognized
Jim Kingdon [Mon, 3 Oct 1994 14:51:22 +0000 (14:51 +0000)]
* gdbserver/server.c (main): Silently accept all unrecognized
requests and send back a zero length acknowledge.  That is what
*-stub.c do and is what remote.c expects.

30 years ago * gdbserver/server.c (main): Silently accept query requests
Peter Schauer [Mon, 3 Oct 1994 12:14:38 +0000 (12:14 +0000)]
* gdbserver/server.c (main):  Silently accept query requests
and send back a zero length acknowledge.

30 years ago * corelow.c (core_open): Copy the modified to_sections_end
Peter Schauer [Mon, 3 Oct 1994 12:13:46 +0000 (12:13 +0000)]
* corelow.c (core_open):  Copy the modified to_sections_end
vector from current_target to core_ops too.

* gdbserver/server.c (main):  Silently accept query requests
and send back a zero length acknowledge.

30 years ago * rs6000-core.c (rs6000coff_core_p): Set SEC_HAS_CONTENTS flag
Peter Schauer [Mon, 3 Oct 1994 11:47:38 +0000 (11:47 +0000)]
* rs6000-core.c (rs6000coff_core_p):  Set SEC_HAS_CONTENTS flag
for .stack and .ldinfo sections. Cast coredata.c_tab to a
file_ptr to avoid warnings from gcc.

30 years agoRewrote make-gas.com handling so that only "make realclean" will remove it.
Ken Raeburn [Sat, 1 Oct 1994 04:30:10 +0000 (04:30 +0000)]
Rewrote make-gas.com handling so that only "make realclean" will remove it.

30 years agogot rid of make-gas.com
Ken Raeburn [Sat, 1 Oct 1994 04:24:38 +0000 (04:24 +0000)]
got rid of make-gas.com

30 years agoMakefile.in (DISTSTUFFDIRS): Add gas.
Ken Raeburn [Sat, 1 Oct 1994 04:24:29 +0000 (04:24 +0000)]
Makefile.in (DISTSTUFFDIRS): Add gas.

30 years agovms make-gas.com stuff
Ken Raeburn [Sat, 1 Oct 1994 04:20:16 +0000 (04:20 +0000)]
vms make-gas.com stuff

30 years agoNow gets rebuilt by "make diststuff".
Ken Raeburn [Sat, 1 Oct 1994 04:18:46 +0000 (04:18 +0000)]
Now gets rebuilt by "make diststuff".

30 years ago(diststuff): Build make-gas.com.
Ken Raeburn [Sat, 1 Oct 1994 04:17:56 +0000 (04:17 +0000)]
(diststuff): Build make-gas.com.
(clean, mostlyclean): Delete make-gas.com.
(realclean): Separate target, depend on clean and distclean.

30 years agoFri Sep 30 19:05:20 1994 Pat Rankin (rankin@eql.caltech.edu)
Ken Raeburn [Sat, 1 Oct 1994 04:15:45 +0000 (04:15 +0000)]
Fri Sep 30 19:05:20 1994  Pat Rankin  (rankin@eql.caltech.edu)

* vmsconf.sh (make-gas.com): handle DCL verification to enable
sensible feedback to the user while gas is being built.

30 years agoi386 pic changes
Ken Raeburn [Sat, 1 Oct 1994 03:52:42 +0000 (03:52 +0000)]
i386 pic changes
as.h: __STDC__ -> varargs
write.* PLT changes
write.c,symbols.c debug changes

30 years ago* nlm/Makefile.in: Get rid of NWINCLUDES.
J.T. Conklin [Sat, 1 Oct 1994 00:25:13 +0000 (00:25 +0000)]
* nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,powerpc}/gdbserve.mt: define NWINCLUDES.

30 years ago* gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.
Jim Kingdon [Fri, 30 Sep 1994 23:02:22 +0000 (23:02 +0000)]
* gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.

30 years ago * lynx-nat.c (child_wait): Use status.w_status, not status, in
Jim Kingdon [Fri, 30 Sep 1994 22:53:36 +0000 (22:53 +0000)]
* lynx-nat.c (child_wait): Use status.w_status, not status, in
arithmetic.  status is a `union wait'.

30 years agoyesterday's gdbinit changes
Ken Raeburn [Fri, 30 Sep 1994 20:22:59 +0000 (20:22 +0000)]
yesterday's gdbinit changes

30 years ago * elfcode.h (elf_bfd_final_link): Remove assertion when a non
Ian Lance Taylor [Fri, 30 Sep 1994 17:13:08 +0000 (17:13 +0000)]
* elfcode.h (elf_bfd_final_link): Remove assertion when a non
        SEC_IN_MEMORY section is found in dynobj.  This can happen when
linking PIC compiled code.

30 years ago * config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.
Jim Kingdon [Fri, 30 Sep 1994 13:58:58 +0000 (13:58 +0000)]
* config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.

* lynx-nat.c (child_wait): Pass fourth argument to ptrace.

30 years ago * configure.in (configdirs): Change binutils.all to binutils-all.
Ian Lance Taylor [Fri, 30 Sep 1994 03:49:54 +0000 (03:49 +0000)]
* configure.in (configdirs): Change binutils.all to binutils-all.

30 years agooptionally configure libgui (--enable-gdbgui)
Thomas Lord [Fri, 30 Sep 1994 00:36:58 +0000 (00:36 +0000)]
optionally configure libgui (--enable-gdbgui)

30 years ago(all): Depend on .gdbinit.
Ken Raeburn [Thu, 29 Sep 1994 23:03:07 +0000 (23:03 +0000)]
(all): Depend on .gdbinit.
(.gdbinit): Rebuild from gdbinit.in by running config.status.

30 years ago* write.c (print_fixup): Print source location on first line. Show fx_r_type
Ken Raeburn [Thu, 29 Sep 1994 23:00:45 +0000 (23:00 +0000)]
* write.c (print_fixup): Print source location on first line.  Show fx_r_type
and fx_addsy fields.

30 years agofix typu
Ken Raeburn [Thu, 29 Sep 1994 20:51:57 +0000 (20:51 +0000)]
fix typu

30 years ago* reloc.c (bfd_install_relocation): Change type of data to bfd_byte *, to go
Ken Raeburn [Thu, 29 Sep 1994 20:39:27 +0000 (20:39 +0000)]
* reloc.c (bfd_install_relocation): Change type of data to bfd_byte *, to go
along with yesterday's change.

30 years ago* elf.c (bfd_elf_print_symbol): Moved here from elf_print_symbol in elfcode.h.
Ken Raeburn [Thu, 29 Sep 1994 20:36:24 +0000 (20:36 +0000)]
* elf.c (bfd_elf_print_symbol): Moved here from elf_print_symbol in elfcode.h.
(case bfd_print_symbol_all): Print symbol's size field, except for common
symbols; print their alignment.
* elfcode.h (elf_print_symbol): Deleted.
* libelf.h (bfd_elf_print_symbol): Declare.
(bfd_elf{32,64}_print_symbol): Replace declarations with macros.

30 years ago* syms.c (bfd_print_symbol_vandf): Show BSF_LOCAL and BSF_GLOBAL in one column.
Ken Raeburn [Thu, 29 Sep 1994 20:29:54 +0000 (20:29 +0000)]
* syms.c (bfd_print_symbol_vandf): Show BSF_LOCAL and BSF_GLOBAL in one column.
Use the column freed up to show BSF_FUNCTION and BSF_FILE.

30 years ago * VMS does not permits `.' in directory names. Renamed
Ian Lance Taylor [Thu, 29 Sep 1994 16:46:53 +0000 (16:46 +0000)]
* VMS does not permits `.' in directory names.  Renamed
binutils.all to binutils-all.

30 years agomissed this file
Ian Lance Taylor [Thu, 29 Sep 1994 16:42:43 +0000 (16:42 +0000)]
missed this file

30 years ago * VMS does not permits `.' in directory names. Renamed
Ian Lance Taylor [Thu, 29 Sep 1994 16:39:01 +0000 (16:39 +0000)]
* VMS does not permits `.' in directory names.  Renamed
ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
ld.scripts to ld-scripts.

30 years ago * syms.c (stt): Add .rdata and .rodata.
Ian Lance Taylor [Thu, 29 Sep 1994 16:30:12 +0000 (16:30 +0000)]
* syms.c (stt): Add .rdata and .rodata.
PR 5714.

30 years ago* xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change.
Jim Kingdon [Thu, 29 Sep 1994 15:26:16 +0000 (15:26 +0000)]
* xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change.

30 years ago * coffread.c (complete_symtab): If last_source_file is set upon
Jim Kingdon [Thu, 29 Sep 1994 15:09:51 +0000 (15:09 +0000)]
* coffread.c (complete_symtab): If last_source_file is set upon
entry, free it.

30 years ago * hpread.c (hpread_read_array_type): Do not change the type code
Jeff Law [Thu, 29 Sep 1994 05:03:18 +0000 (05:03 +0000)]
* hpread.c (hpread_read_array_type): Do not change the type code
to TYPE_CODE_PTR for "char foo[]".  Just make it a zero length
array type.

30 years ago * hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
Jeff Law [Thu, 29 Sep 1994 04:26:50 +0000 (04:26 +0000)]
* hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
lengths other than 32bits (HP C 9.69 represents an "unsigned char"
as an T_UNS_LONG with length 8).

30 years ago * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
Jeff Law [Thu, 29 Sep 1994 03:29:07 +0000 (03:29 +0000)]
* gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
* gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
* gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s
* gas/hppa/reloc/reloc.exp: Changed accordingly.

30 years ago * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
Jeff Law [Thu, 29 Sep 1994 03:25:03 +0000 (03:25 +0000)]
* gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
* gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
* gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s

30 years agomisc changes to configure.in, gdbinit.in, as.h, symbols.c
Ken Raeburn [Wed, 28 Sep 1994 23:24:07 +0000 (23:24 +0000)]
misc changes to configure.in, gdbinit.in, as.h, symbols.c

30 years agoMove "break abort" to end, in case gdb complains.
Ken Raeburn [Wed, 28 Sep 1994 23:16:59 +0000 (23:16 +0000)]
Move "break abort" to end, in case gdb complains.

30 years agoforgot to hit ^x^s after deleting "#if 1" lines
Ken Raeburn [Wed, 28 Sep 1994 20:31:32 +0000 (20:31 +0000)]
forgot to hit ^x^s after deleting "#if 1" lines

30 years ago(resolve_symbol_value, case O_symbol): Don't do any processing if add_symbol is
Ken Raeburn [Wed, 28 Sep 1994 20:27:31 +0000 (20:27 +0000)]
(resolve_symbol_value, case O_symbol): Don't do any processing if add_symbol is
undefined or in expr_section.
(resolve_symbol_value, case O_add): For symbol plus constant-valued symbol,
convert to O_symbol and re-reduce.
(S_GET_VALUE): If symbol needs resolving, resolve it.

(indent_level): No longer static.
(print_symbol_value_1): Don't print frag address if it matches
zero_address_frag.  Don't print "resolving" if already resolved.  Print segment
name.  Don't call print_expr_1 on an undefined symbol.
(print_expr_1): Fix whitespace before printing X_add_number.

30 years ago * Makefile.in (arparse.c): Don't ignore errors from mv.
Ian Lance Taylor [Wed, 28 Sep 1994 19:53:22 +0000 (19:53 +0000)]
* Makefile.in (arparse.c): Don't ignore errors from mv.
(sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
parallel make from trying to build both arparse.c and sysinfo.c
simultaneously.
(nlmheader.c): Similar change.
(arparse.h): Separate target from arparse.c, so that a parallel
make does not try to build both at once.  Depend upon arparse.c.
(sysinfo.h): Similar change.