binutils-gdb.git
29 years ago * ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
Ian Lance Taylor [Wed, 22 Nov 1995 19:01:43 +0000 (19:01 +0000)]
* ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
(ecoff_sec_to_styp_flags): Likewise.
(_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST.
(ecoff_set_symbol_info): Handle scRConst.
(ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST.
(ecoff_compute_section_file_positions): Handle .rconst section.
(_bfd_ecoff_write_object_contents): Likewise.
(ecoff_link_check_archive_element): Handle scRConst.
(ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): Handle .rconst section.
(ecoff_reloc_link_order): Likewise.
* ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst.
* coff-alpha.c (alpha_convert_external_reloc): Handle .rconst
section.
(alpha_relocate_section): Handle RELOC_SECTION_RCONST.

29 years ago * lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
Ian Lance Taylor [Wed, 22 Nov 1995 18:19:43 +0000 (18:19 +0000)]
* lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
from native compilers on OSF/1 and SunOS.

29 years ago * Makefile.in (EXPECT): Use $$r, not $${rootme}.
Ian Lance Taylor [Wed, 22 Nov 1995 18:18:21 +0000 (18:18 +0000)]
* Makefile.in (EXPECT): Use $$r, not $${rootme}.
(check): Set r, not rootme.

29 years ago * sunos.c (sunos_scan_dynamic_symbol): Only set written if the
Ian Lance Taylor [Wed, 22 Nov 1995 17:04:56 +0000 (17:04 +0000)]
* sunos.c (sunos_scan_dynamic_symbol): Only set written if the
DEF_DYNAMIC flag is set.
PR 8493.

29 years ago * configure: Don't turn -v into --v.
Ian Lance Taylor [Wed, 22 Nov 1995 16:30:36 +0000 (16:30 +0000)]
* configure: Don't turn -v into --v.

29 years ago * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Fred Fish [Wed, 22 Nov 1995 04:26:03 +0000 (04:26 +0000)]
* config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Also force HAVE_MMAP to be defined since autoconf is currently broken
for detecting a working mmap under hpux.
* config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS
to a better value suggested by Jeffrey A Law (law@cygnus.com).

29 years ago* host-aout.c: If TRAD_HEADER is defined, include it.
Ken Raeburn [Wed, 22 Nov 1995 00:57:55 +0000 (00:57 +0000)]
* host-aout.c: If TRAD_HEADER is defined, include it.

29 years agoRemove C comment cruft.
David Edelsohn [Wed, 22 Nov 1995 00:53:19 +0000 (00:53 +0000)]
Remove C comment cruft.

29 years ago * configure.in (targargs): Fix typo.
David Edelsohn [Wed, 22 Nov 1995 00:49:42 +0000 (00:49 +0000)]
* configure.in (targargs): Fix typo.

29 years ago * Makefile.in (DEVO_SUPPORT): Add symlink-tree.
David Edelsohn [Wed, 22 Nov 1995 00:08:26 +0000 (00:08 +0000)]
* Makefile.in (DEVO_SUPPORT): Add symlink-tree.

29 years ago * aclocal.m4 (AC_PROG_CC): Remove local definition.
Ian Lance Taylor [Tue, 21 Nov 1995 23:39:59 +0000 (23:39 +0000)]
* aclocal.m4 (AC_PROG_CC): Remove local definition.
* configure: Rebuild with autoconf 2.6.

29 years ago * configure.in: Use BFD_NEED_DECLARATION.
Ian Lance Taylor [Tue, 21 Nov 1995 23:32:33 +0000 (23:32 +0000)]
* configure.in: Use BFD_NEED_DECLARATION.
* acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.

29 years ago * configure: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:28:45 +0000 (23:28 +0000)]
* configure: Rebuild with autoconf 2.6.

29 years ago * acconfig.h: Put NEED_DECLARATION_* in @TOP@ section.
Ian Lance Taylor [Tue, 21 Nov 1995 23:26:26 +0000 (23:26 +0000)]
* acconfig.h: Put NEED_DECLARATION_* in @TOP@ section.
* config.in: Rebuild with autoconf 2.6.

29 years ago * configure.in: Use BFD_NEED_DECLARATION.
Ian Lance Taylor [Tue, 21 Nov 1995 23:23:10 +0000 (23:23 +0000)]
* configure.in: Use BFD_NEED_DECLARATION.
* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.

29 years ago * aclocal.m4 (AC_PROG_CC): Remove local definition.
Ian Lance Taylor [Tue, 21 Nov 1995 23:02:13 +0000 (23:02 +0000)]
* aclocal.m4 (AC_PROG_CC): Remove local definition.
(BFD_BINARY_FOPEN): Require AC_CANONICAL_SYSTEM.
(BFD_NEED_DECLARATION): New function.
* configure.in: Use BFD_NEED_DECLARATION.
* configure: Rebuild with autoconf 2.6.

29 years agoAdd floating point model specific support; Redo method model specific support is...
Michael Meissner [Tue, 21 Nov 1995 21:41:25 +0000 (21:41 +0000)]
Add floating point model specific support; Redo method model specific support is done; Add remaining floating add/subtract-multiply

29 years ago * xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
Ian Lance Taylor [Tue, 21 Nov 1995 21:25:35 +0000 (21:25 +0000)]
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
special_sections before returning when called with a non XCOFF
BFD.

29 years ago * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
Ian Lance Taylor [Tue, 21 Nov 1995 21:15:49 +0000 (21:15 +0000)]
* ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
being unsupported if this is not a relocaeable link and the input
BFD supports it, since ldctor_build_sets can cope with that case.

29 years ago * ld-empic/empic.exp: Update for changes in objdump output.
Ian Lance Taylor [Tue, 21 Nov 1995 21:06:55 +0000 (21:06 +0000)]
* ld-empic/empic.exp: Update for changes in objdump output.

29 years agofix typo in last change
Ken Raeburn [Tue, 21 Nov 1995 19:28:35 +0000 (19:28 +0000)]
fix typo in last change

29 years ago* Makefile.in (.m.c): Strip out directory name from function name.
Ken Raeburn [Tue, 21 Nov 1995 19:26:27 +0000 (19:26 +0000)]
* Makefile.in (.m.c): Strip out directory name from function name.

29 years ago * configure.in: Strip --host and --target options from
Ian Lance Taylor [Tue, 21 Nov 1995 19:13:51 +0000 (19:13 +0000)]
* configure.in: Strip --host and --target options from
CONFIG_ARGUMENTS, and always configure for --host only.  Add
--with-cross-host option when building with a cross-compiler.
* configure: Canonicalize the arguments put into config.status by
always using `=' for an option with an argument.  Pass a presumed
--host or --target explicitly.

29 years ago* hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do UNITS_TO_CODE
Ken Raeburn [Tue, 21 Nov 1995 19:10:18 +0000 (19:10 +0000)]
* hist.c (scale_and_align_entries): Don't use DEFUN_VOID.  Do UNITS_TO_CODE
adjustment unconditionally; compiler can optimize away zero-offset case.  Refer
to scaled_addr, not aligned_addr.

29 years agovax.c doesn't need to include vax.h; gprof.h does it
Ken Raeburn [Tue, 21 Nov 1995 18:34:11 +0000 (18:34 +0000)]
vax.c doesn't need to include vax.h; gprof.h does it

29 years ago * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Fred Fish [Tue, 21 Nov 1995 18:19:58 +0000 (18:19 +0000)]
* config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Also force HAVE_MMAP to be defined since autoconf is currently broken
for detecting a working mmap under hpux.

29 years ago * objfiles.c (map_to_address): Have gdb print a warning when it
Fred Fish [Tue, 21 Nov 1995 18:19:23 +0000 (18:19 +0000)]
* objfiles.c (map_to_address): Have gdb print a warning when it
is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and
  MMAP_INCREMENT defined (thus making it appear mmap doesn't work).

29 years ago * coffgen.c (coff_renumber_symbols): Sort common symbols with
Ian Lance Taylor [Tue, 21 Nov 1995 18:06:41 +0000 (18:06 +0000)]
* coffgen.c (coff_renumber_symbols): Sort common symbols with
global symbols.

29 years ago * coffcode.h (coff_compute_section_file_positions): Only pad the
Ian Lance Taylor [Tue, 21 Nov 1995 18:04:42 +0000 (18:04 +0000)]
* coffcode.h (coff_compute_section_file_positions): Only pad the
previous section to force file alignment when creating an
executable.
PR 8325.

29 years agominor cleanup
David Edelsohn [Tue, 21 Nov 1995 01:45:07 +0000 (01:45 +0000)]
minor cleanup

29 years ago * run.c: Include "getopt.h".
David Edelsohn [Tue, 21 Nov 1995 01:44:50 +0000 (01:44 +0000)]
* run.c: Include "getopt.h".
(verbose): Delete.
(usage): Make static.
(main): Call arm_sim_set_verbosity.
Only load sections marked SEC_LOAD.
* wrapper.c (mem_size, verbosity): New static global.
(arm_sim_set_mem_size): Renamed from sim_size.
Callers updated
(arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.

29 years ago * infrun.c (wait_for_inferior): Add support for dynamic function
Stu Grossman [Mon, 20 Nov 1995 22:40:34 +0000 (22:40 +0000)]
* infrun.c (wait_for_inferior):  Add support for dynamic function
trampolines.  These are pieces of code between the caller and the
callee that figure out the address of the callee's code at run
time.  Upon entry, we can't figure out the callee's address, so we
set a breakpoint within the trampoline where the address will be
known, and continue the target.  Once we hit the breakpoint, we
break at the callee's address and proceed as usual.
start-sanitize-gm
* config/tm-magic.h:  Define DYNAMIC_TRAMPOLINE_NEXTPC.  Turn off
IN_SOLIB_CALL_TRAMPOLINE and IN_SOLIB_RETURN_TRAMPOLINE.
end-sanitize-gm

29 years ago * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
Ian Lance Taylor [Mon, 20 Nov 1995 22:27:49 +0000 (22:27 +0000)]
* config/tc-ppc.c (ppc_debug_name_section_size): Remove.
(ppc_stabx): Don't increment ppc_debug_name_section_size.
(ppc_bc): Likewise.
(ppc_frob_file): Remove.
* config/tc-ppc.h (tc_frob_file): Don't define.
(ppc_frob_file): Don't declare.

29 years ago * coffcode.h (coff_compute_section_file_positions): If
Ian Lance Taylor [Mon, 20 Nov 1995 22:23:30 +0000 (22:23 +0000)]
* coffcode.h (coff_compute_section_file_positions): If
RS6000COFF_C, set up the .debug section.

29 years agoalpha fixes
Ken Raeburn [Mon, 20 Nov 1995 22:02:32 +0000 (22:02 +0000)]
alpha fixes

29 years agoone-operand versions of jmp, jsr
Ken Raeburn [Mon, 20 Nov 1995 21:08:05 +0000 (21:08 +0000)]
one-operand versions of jmp, jsr

29 years agonote dependence on alpha opcode table
Ken Raeburn [Mon, 20 Nov 1995 21:03:20 +0000 (21:03 +0000)]
note dependence on alpha opcode table

29 years ago * xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value
Ian Lance Taylor [Mon, 20 Nov 1995 19:57:30 +0000 (19:57 +0000)]
* xcofflink.c (xcoff_link_input_bfd): Adjust the TOC anchor value
if it is not large enough to accomodate the entire TOC area with
signed 16 bit offsets.
(xcoff_write_global_symbol): Handle negative TOC offsets in global
linkage code.
(_bfd_ppc_xcoff_relocate_section): Adjust relocations against a
TOC anchor to use the TOC value used in the output file.

29 years ago * objfiles.c (allocate_objfile): Change warning message about mapped
Fred Fish [Mon, 20 Nov 1995 19:22:40 +0000 (19:22 +0000)]
* objfiles.c (allocate_objfile): Change warning message about mapped
symbol tables so that it is obvious that they are not supported on
this particular machine rather than implying they are not supported
at all in this version of gdb.

29 years agorename te-delta88.h to avoid 8.3 conflict
Ken Raeburn [Mon, 20 Nov 1995 18:48:32 +0000 (18:48 +0000)]
rename te-delta88.h to avoid 8.3 conflict

29 years ago * stack.c (print_frame_info): Use minimal symbol only if
Peter Schauer [Mon, 20 Nov 1995 09:01:52 +0000 (09:01 +0000)]
* stack.c (print_frame_info):  Use minimal symbol only if
fi->pc is in a known section.

29 years agospeed up search for free function unit slightly.
Michael Meissner [Mon, 20 Nov 1995 04:05:36 +0000 (04:05 +0000)]
speed up search for free function unit slightly.

29 years agofix typo
Angela Marie Thomas [Sun, 19 Nov 1995 21:13:20 +0000 (21:13 +0000)]
fix typo

29 years ago * irix5-nat.c, osfsolib.c (solib_address): Return the name of the
Peter Schauer [Sun, 19 Nov 1995 13:31:52 +0000 (13:31 +0000)]
* irix5-nat.c, osfsolib.c (solib_address):  Return the name of the
containing solib.

29 years agodon't keep mips.. I don't think it's ready for primetime.
Angela Marie Thomas [Sun, 19 Nov 1995 10:12:19 +0000 (10:12 +0000)]
don't keep mips.. I don't think it's ready for primetime.

29 years agoremoved build-psim,config.make,config.hdr,function_unit.c,function_unit.h
Angela Marie Thomas [Sun, 19 Nov 1995 09:43:46 +0000 (09:43 +0000)]
removed build-psim,config.make,config.hdr,function_unit.c,function_unit.h

29 years agoadded ppc-bug.c to Things-to-keep
Angela Marie Thomas [Sun, 19 Nov 1995 09:36:55 +0000 (09:36 +0000)]
added ppc-bug.c to Things-to-keep

29 years agoremoved nm-irix5.h, nm-m3.h, nm-sysv4.h
Angela Marie Thomas [Sun, 19 Nov 1995 09:21:38 +0000 (09:21 +0000)]
removed nm-irix5.h, nm-m3.h, nm-sysv4.h

29 years agoremoved ppcbug-rom.o
Angela Marie Thomas [Sun, 19 Nov 1995 09:18:49 +0000 (09:18 +0000)]
removed ppcbug-rom.o

29 years ago * solib.c (solib_address): Return the name of the containing solib.
Fred Fish [Sun, 19 Nov 1995 07:16:03 +0000 (07:16 +0000)]
* solib.c (solib_address): Return the name of the containing solib.
* solib.h (PC_SOLIB): New macro; define using solib_address.
* stack.c (print_frame_info) [PC_SOLIB]: If no function name, try
PC_SOLIB on the PC value.

29 years ago * coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return.
Ian Lance Taylor [Sat, 18 Nov 1995 23:04:26 +0000 (23:04 +0000)]
* coffgen.c (_bfd_coff_get_external_symbols): Cast malloc return.
(_bfd_coff_read_string_table): Likewise.

29 years agoClean up some comments.
David Edelsohn [Sat, 18 Nov 1995 20:05:06 +0000 (20:05 +0000)]
Clean up some comments.

29 years ago * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
Peter Schauer [Sat, 18 Nov 1995 12:25:18 +0000 (12:25 +0000)]
* gdb.stabs/alpha.mt:  Use $(CFLAGS) when building weird.o.

29 years ago * annotate.c (annotate_source, annotate_frame_begin): Issue
Peter Schauer [Sat, 18 Nov 1995 12:19:25 +0000 (12:19 +0000)]
* annotate.c (annotate_source, annotate_frame_begin):  Issue
`0x' prefix for the pc value, to remain consistent with previous
GDB versions.

* blockframe.c (find_pc_partial_function), config/pa/tm-hppa.h:
Remove Sun shared library transfer hack and
INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK, it is obsoleted by the
mst_solib_trampoline minimal symbols.

* blockframe.c (inside_main_func):  Check main_func_*pc against
INVALID_ENTRY_*PC, not zero.
* symfile.c (init_entry_point_info):  Initialize ei.*pc with
INVALID_ENTRY_*PC.
* mipsread.c (mipscoff_symfile_read):  If the entry_file bounds
are still unknown after processing the partial symbols, then try
to set them from the minimal symbols.

* infcmd.c (registers_info):  Error out if selected_frame is NULL.
* stack.c (return_command):  Select new current frame silently if
not interactive.

* mipsread.c (read_alphacoff_dynamic_symtab):  Ignore additional
DT_MIPS_LOCAL_GOTNO and DT_MIPS_GOTSYM entries.

* irix5-nat.c (solib_create_inferior_hook):  Call solib_add only
if auto_solib_add_at_startup is nonzero.
(_initialize_solib):  Add "set auto-solib-add" command.
* osfsolib.c (solib_create_inferior_hook):  Call solib_add only
if auto_solib_add_at_startup is nonzero.
(_initialize_solib):  Add "set auto-solib-add" command.

29 years ago * armdefs.h (ARMul_State): New member `verbose'.
David Edelsohn [Sat, 18 Nov 1995 03:39:17 +0000 (03:39 +0000)]
* armdefs.h (ARMul_State): New member `verbose'.
* armrdi.c (ARMul_ConsolePrint): Add missing va_end.
* run.c (verbose): Make global.
* wrapper.c (init): Set state->verbose.
(ARMul_ConsolePrint): Don't print anything if !verbose.

29 years agoPatch for Hitachi PR 8433, avoid core dump on HPUX host
Jim Wilson [Sat, 18 Nov 1995 02:03:21 +0000 (02:03 +0000)]
Patch for Hitachi PR 8433, avoid core dump on HPUX host
* gencode.c (tab): Add explicit NaN support for ftrc instruction.

29 years ago * configure.in (target_configdirs): add target-winsup only
Jason Molenda [Sat, 18 Nov 1995 01:43:37 +0000 (01:43 +0000)]
   * configure.in (target_configdirs): add target-winsup only
        for win32 target systems.

29 years agoAdd scheduling support for M{F,T}CR
Michael Meissner [Sat, 18 Nov 1995 01:39:04 +0000 (01:39 +0000)]
Add scheduling support for M{F,T}CR

29 years agoMore scheduling stuff
Michael Meissner [Sat, 18 Nov 1995 01:14:45 +0000 (01:14 +0000)]
More scheduling stuff

29 years agoKeep PowerMac emulation file.
Stan Shebs [Sat, 18 Nov 1995 00:55:22 +0000 (00:55 +0000)]
Keep PowerMac emulation file.

29 years ago * configure.tgt (powerpc-*-macos*): New target.
Stan Shebs [Sat, 18 Nov 1995 00:50:06 +0000 (00:50 +0000)]
* configure.tgt (powerpc-*-macos*): New target.
* emulparams/ppcmacos.sh: New file, PowerMac emulation.
* Makefile.in (ALL_EMULATIONS): Add eppcmacos.o.
(eppcmacos.c): New target.
* mpw-eppcmacos.c: Update.
* mpw-make.sed: Edit out attempts to use {GENSCRIPTS}.

29 years ago * configure.in: Change "idt" config to a generic "embed" config
Rob Savoye [Sat, 18 Nov 1995 00:25:35 +0000 (00:25 +0000)]
* configure.in: Change "idt" config to a generic "embed" config
for all mips*-*-ecoff or elf configurations.
* configure: Regenerate using autoconf 2.4.
* config/mips/{idt*.mt,tm-idt*.h}: Rename to "idt" part of the
name to "embed". Build remote-array.o along with IDT protocols.
* remote-array.c: Nuke setting the serial port to 4800 baud.

29 years ago * coffcode.h (coff_pointerize_aux_hook): I960 version: don't
Ian Lance Taylor [Fri, 17 Nov 1995 21:59:17 +0000 (21:59 +0000)]
* coffcode.h (coff_pointerize_aux_hook): I960 version: don't
pointerize C_LEAFSTAT or C_LEAFEXT entries.

29 years agocheckpoint ppc simulator
Michael Meissner [Fri, 17 Nov 1995 19:17:58 +0000 (19:17 +0000)]
checkpoint ppc simulator

29 years agoFri Nov 17 10:41:25 1995 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Fri, 17 Nov 1995 15:43:18 +0000 (15:43 +0000)]
Fri Nov 17 10:41:25 1995  Philippe De Muyter  <phdm@info.ucl.ac.be>

* elf-bfd.h (struct elf_link_hash_table): Change type of
dynsymcount and bucketcount fields from size_t to bfd_size_type.

29 years ago * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
Ian Lance Taylor [Fri, 17 Nov 1995 15:38:44 +0000 (15:38 +0000)]
* Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
$(host_canonical) and $(target_canonical).
(CXX_FOR_TARGET): Likewise.

29 years ago * gas/mri/immconst.d: New test.
Ian Lance Taylor [Fri, 17 Nov 1995 15:36:38 +0000 (15:36 +0000)]
* gas/mri/immconst.d: New test.
* gas/mri/mri.exp: Run it.
* gas/mri/constants.s: Test immediate constants.
* gas/mri/constants.d: Corresponding change.

29 years ago * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Only create
Ian Lance Taylor [Fri, 17 Nov 1995 15:05:44 +0000 (15:05 +0000)]
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Only create
DT_INIT and DT_FINI entries if the _init or _fini symbol is
defined or mentioned in a regular file.
PR 8462.

29 years agocomplete.c: Change WIN32 to __WIN32__, added #else return NULL
Geoffrey Noer [Thu, 16 Nov 1995 23:43:47 +0000 (23:43 +0000)]
complete.c: Change WIN32 to __WIN32__, added #else return NULL
        to end of that define.

29 years agoDelete old functional_unit support; Add --enable-sim-model-issue; Monitor branch...
Michael Meissner [Thu, 16 Nov 1995 21:42:27 +0000 (21:42 +0000)]
Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success

29 years agoReloc fixes for PowerPC PE
Kim Knuttila [Thu, 16 Nov 1995 20:51:08 +0000 (20:51 +0000)]
Reloc fixes for PowerPC PE

29 years ago * scripttempl/pe.sc (.endjunk): Move definition of `end' to here
David Edelsohn [Thu, 16 Nov 1995 19:28:05 +0000 (19:28 +0000)]
* scripttempl/pe.sc (.endjunk): Move definition of `end' to here
so the malloc heap begins at a sane place.

29 years agofix bug in last checkin
Michael Meissner [Thu, 16 Nov 1995 19:25:47 +0000 (19:25 +0000)]
fix bug in last checkin

29 years ago * Makefile.in (all-target-libgloss): Depend upon
Ian Lance Taylor [Thu, 16 Nov 1995 19:05:52 +0000 (19:05 +0000)]
* Makefile.in (all-target-libgloss): Depend upon
configure-target-newlib, since when libgloss is built it looks to
see if the newlib directory exists.

29 years agomore functional unit changes
Michael Meissner [Thu, 16 Nov 1995 19:02:52 +0000 (19:02 +0000)]
more functional unit changes

29 years ago * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
Ian Lance Taylor [Thu, 16 Nov 1995 17:51:35 +0000 (17:51 +0000)]
* config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
number.
* expr.c (operand): Handle MRI suffixes after unadorned 0.

29 years agoversion 2.6
Ken Raeburn [Thu, 16 Nov 1995 10:12:33 +0000 (10:12 +0000)]
version 2.6

29 years agoversion 2.6
Ken Raeburn [Thu, 16 Nov 1995 09:58:27 +0000 (09:58 +0000)]
version 2.6

29 years ago* config/obj-coff.c (write_object_file): Change use of md_do_align to pass a
Ken Raeburn [Thu, 16 Nov 1995 05:38:58 +0000 (05:38 +0000)]
* config/obj-coff.c (write_object_file): Change use of md_do_align to pass a
pointer rather than a fill value, to match other uses.

* config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.

29 years ago * utils.c: Don't include sys/ioctl.h etc if MPW is host.
Stan Shebs [Thu, 16 Nov 1995 01:24:25 +0000 (01:24 +0000)]
* utils.c: Don't include sys/ioctl.h etc if MPW is host.

29 years agolog for this morning's makefile (make dep) change
Ken Raeburn [Thu, 16 Nov 1995 00:32:34 +0000 (00:32 +0000)]
log for this morning's makefile (make dep) change

29 years ago * targets.c (bfd_target): Change type of second argument to
Ian Lance Taylor [Wed, 15 Nov 1995 23:17:21 +0000 (23:17 +0000)]
* targets.c (bfd_target): Change type of second argument to
_bfd_print_private_bfd_data from void * to PTR.
* libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast
using PTR rather than void *.
* bfd-in2, libbfd.h: Rebuild.
* peicode.h (pe_print_private_bfd_data): Change vfile from void *
to PTR.
* elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as
_bfd_generic_bfd_print_private_bfd_data rather than casting
bfd_true.

29 years agoAdd option to make options inline
Michael Meissner [Wed, 15 Nov 1995 23:01:47 +0000 (23:01 +0000)]
Add option to make options inline

29 years agoMore model specific changes
Michael Meissner [Wed, 15 Nov 1995 22:53:59 +0000 (22:53 +0000)]
More model specific changes

29 years ago * ld-srec/srec.exp: New tests.
Ian Lance Taylor [Wed, 15 Nov 1995 22:44:56 +0000 (22:44 +0000)]
* ld-srec/srec.exp: New tests.
* ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
* lib/ld.exp (ld_simple_link): Discard warnings about not being
able to find the entry symbol.

29 years ago* config/arm/tm-arm.h (ADDITIONAL_REGISTER_NAMES): Fix r5.
David Edelsohn [Wed, 15 Nov 1995 20:18:00 +0000 (20:18 +0000)]
* config/arm/tm-arm.h (ADDITIONAL_REGISTER_NAMES): Fix r5.
(FRAME_SAVED_PC): Minor clean up.

29 years ago * binutils-all/objcopy.exp: If assembly fails, call unresolved.
Ian Lance Taylor [Wed, 15 Nov 1995 17:21:26 +0000 (17:21 +0000)]
* binutils-all/objcopy.exp: If assembly fails, call unresolved.
Test running objcopy and strip on a final executable.
* binutils-all/testprog.c: New file.
* config/default.exp (STRIP, STRIPFLAGS): Define.
(binutils_compile): New procedure.
* lib/utils-lib.exp (default_binutils_compile): New procedure.

29 years ago * configure: Handle LD and LD_FOR_TARGET when configuring a
Ian Lance Taylor [Wed, 15 Nov 1995 16:46:19 +0000 (16:46 +0000)]
* configure: Handle LD and LD_FOR_TARGET when configuring a
Canadian Cross.

29 years agoppcbug-rom checkin
Michael Meissner [Wed, 15 Nov 1995 15:36:47 +0000 (15:36 +0000)]
ppcbug-rom checkin

29 years agomove md_end use, and make use of it in cpu back ends. clean up empty, unused
Ken Raeburn [Wed, 15 Nov 1995 10:56:07 +0000 (10:56 +0000)]
move md_end use, and make use of it in cpu back ends.  clean up empty, unused
md_end functions.

i386 changes from Alan Modra for using multi-byte sequences instead of
single nops for code alignment.

29 years ago * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
Jeff Law [Wed, 15 Nov 1995 07:30:52 +0000 (07:30 +0000)]
    * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
        * gdb.base/corefile.exp: Likewise.
        * gdb.base/funcargs.exp: Likewise.

Never should have been there anyway.

29 years ago * peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0,
Ian Lance Taylor [Wed, 15 Nov 1995 04:41:10 +0000 (04:41 +0000)]
* peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0,
not at the file position of the first section.
* coffcode.h (coff_compute_section_file_positions): Avoid using
unportable #elif.
(coff_write_object_contents): When generating a PPC PE executable
with no symbols, round up the file size to a COFF_PAGE_SIZE
boundary.
* cofflink.c (_bfd_coff_final_link): If there are no symbols,
don't write out a string table.

29 years ago * elf.c (bfd_section_from_shdr): When using a different section
Ian Lance Taylor [Wed, 15 Nov 1995 01:34:56 +0000 (01:34 +0000)]
* elf.c (bfd_section_from_shdr): When using a different section
header, pass the new one to _bfd_elf_make_section_from_shdr.
(elf_fake_sections): Don't set sh_info and sh_entsize fields.
(elf_map_symbols): Add section VMA to symbol value when comparing
against 0.
(_bfd_elf_compute_section_file_positions): Only build symbol table
if there are some symbols.  Set file offset of symtab and strtab
sections.
(assign_file_positions_except_relocs): Remove dosyms parameter.
Change all callers.  Never set file offset of symtab and strtab
sections.
(_bfd_elf_copy_private_section_data): New function.
(MAP_ONESYMTAB, MAP_DYNSYMTAB, MAP_STRTAB, MAP_SHSTRTAB): Define.
(_bfd_elf_copy_private_symbol_data): New function.
(swap_out_syms): Check for special mapping of st_shndx created by
copy_private_symbol_data.
* elfxx-target.h: Use new copy routines.
* elf-bfd.h (_bfd_elf_copy_private_symbol_data): Declare.
(_bfd_elf_copy_private_section_data): Declare.

29 years agocomment fix
Ian Lance Taylor [Wed, 15 Nov 1995 01:14:26 +0000 (01:14 +0000)]
comment fix

29 years ago * ld-sh/sh2.c (__main): Define.
Ian Lance Taylor [Wed, 15 Nov 1995 01:05:26 +0000 (01:05 +0000)]
* ld-sh/sh2.c (__main): Define.

29 years ago * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts
Stu Grossman [Wed, 15 Nov 1995 00:47:21 +0000 (00:47 +0000)]
* gencode.c:  jsr, bsr and bsrf actually save pc+4 in pr, and rts
actually uses pr+0.

29 years agoSwitch to using new fangled monitor.o routines for ppcbug, rather than remote
Michael Meissner [Wed, 15 Nov 1995 00:11:14 +0000 (00:11 +0000)]
Switch to using new fangled monitor.o routines for ppcbug, rather than remote

29 years ago * gencode.c: jsr actually saves pc+4, and rts actually uses pr+0.
Stu Grossman [Tue, 14 Nov 1995 23:42:22 +0000 (23:42 +0000)]
* gencode.c:  jsr actually saves pc+4, and rts actually uses pr+0.

29 years ago * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
Stu Grossman [Tue, 14 Nov 1995 23:41:36 +0000 (23:41 +0000)]
* config/hmsirom.exp:  Setup for talking to hmsi ROM monitor.
* config/monitor.exp:  Add support for setting baud rate.

29 years ago * monitor.c (monitor_load_srec monitor_make_srec): Move all
Stu Grossman [Tue, 14 Nov 1995 23:40:18 +0000 (23:40 +0000)]
* monitor.c (monitor_load_srec monitor_make_srec):  Move all
S-record download code into srec.c.
* srec.c srec.h:  New files.  Contain S-record loading routines
formerly in monitor.c.
* serial.c serial.h:  New routine just like fprintf, but uses
serial_t instead of FILE *.
* sh-tdep.c (frame_find_saved_regs init_extra_frame_info):
Don't add four to saved pc (makes things match manual).  Also, fix
bug where we didn't get pc from stack frame correctly.
* config/sh/tm-sh.h (SAVED_PC_AFTER_CALL):  Don't add four to
saved pc.  Real hardware does this for you.
* sh3-rom.c (sh3_load):  New routine.  Sets up for download then
calls generic S-record loader.
* config/h8300/h8300.mt, config/h8500/h8500.mt,
config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt:
Add srec.o to TDEPFILES.