Michael Meissner [Wed, 15 Nov 1995 23:01:47 +0000 (23:01 +0000)]
Add option to make options inline
Michael Meissner [Wed, 15 Nov 1995 22:53:59 +0000 (22:53 +0000)]
More model specific changes
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.
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.
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.
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.
Michael Meissner [Wed, 15 Nov 1995 15:36:47 +0000 (15:36 +0000)]
ppcbug-rom checkin
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.
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.
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.
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.
Ian Lance Taylor [Wed, 15 Nov 1995 01:14:26 +0000 (01:14 +0000)]
comment fix
Ian Lance Taylor [Wed, 15 Nov 1995 01:05:26 +0000 (01:05 +0000)]
* ld-sh/sh2.c (__main): Define.
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.
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
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.
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.
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.
Stu Grossman [Tue, 14 Nov 1995 23:24:10 +0000 (23:24 +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.
Jason Molenda [Tue, 14 Nov 1995 23:04:29 +0000 (23:04 +0000)]
* config/mh-i386win32: add LD_FOR_TARGET.
Ian Lance Taylor [Tue, 14 Nov 1995 23:03:25 +0000 (23:03 +0000)]
* dlltool.c: Use FOPEN_* macros rather than "r" or "w".
Jason Molenda [Tue, 14 Nov 1995 22:58:14 +0000 (22:58 +0000)]
* configure.in (target_libs): add target-winsup.
(target==i386-win32): add patch diff flex make to $noconfigdirs.
(target==ppcle-pe): remove ld from $noconfigdirs.
Ian Lance Taylor [Tue, 14 Nov 1995 22:20:12 +0000 (22:20 +0000)]
* dlltool.c (fill_ordinals): Correct memset call.
Ian Lance Taylor [Tue, 14 Nov 1995 22:10:14 +0000 (22:10 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
environment variable LD_RUN_PATH if neither -rpath nor -rpath-link
were used.
(gld${EMULATION_NAME}_before_allocation): Use the environment
variable LD_RUN_PATH if -rpath was not used.
* ld.texinfo, ld.1: Document LD_RUN_PATH.
PR 8428.
Michael Meissner [Tue, 14 Nov 1995 21:25:11 +0000 (21:25 +0000)]
Add preliminary ppcbug support.
Michael Meissner [Tue, 14 Nov 1995 21:17:20 +0000 (21:17 +0000)]
Add preliminary ppcbug support.
Jeff Law [Tue, 14 Nov 1995 18:31:28 +0000 (18:31 +0000)]
Zap partial-stab.h:GDB_TARGET_IS_HPPA item.
Ian Lance Taylor [Tue, 14 Nov 1995 16:55:23 +0000 (16:55 +0000)]
* coff-sh.c (shlcoff_vec): Use _bfd_generic_archive_p, not
_bfd_dummy_target, matching the recent change to archive
recognition.
Michael Meissner [Tue, 14 Nov 1995 11:34:01 +0000 (11:34 +0000)]
make inline model use static when inlining.
Michael Meissner [Tue, 14 Nov 1995 11:25:34 +0000 (11:25 +0000)]
make inline model use static when inlining.
Michael Meissner [Tue, 14 Nov 1995 10:52:24 +0000 (10:52 +0000)]
fix more warnings
David Edelsohn [Tue, 14 Nov 1995 10:40:55 +0000 (10:40 +0000)]
Update. cfg-ml-com.in replaced with config-ml.in.
Michael Meissner [Tue, 14 Nov 1995 09:52:29 +0000 (09:52 +0000)]
Fix warnings and dependency
David Edelsohn [Tue, 14 Nov 1995 09:36:54 +0000 (09:36 +0000)]
Delete debugging -x's.
David Edelsohn [Tue, 14 Nov 1995 09:32:50 +0000 (09:32 +0000)]
* Makefile.in (CONFIGURE_TARGET_MODULES): Pass --with-target-subdir.
Preserve relative path names in $srcdir. Build symlink tree if
configuring cross target dir and srcdir=. (= no VPATH support).
(configure-target-libg++): Depend on configure-target-librx.
* cfg-ml-com.in, cfg-ml-pos.in: Deleted.
* config-ml.in: New file.
* symlink-tree: New file.
* configure: Ensure srcdir="." if that's what it is.
Stan Shebs [Tue, 14 Nov 1995 04:46:32 +0000 (04:46 +0000)]
Keep te-macos.h.
Stan Shebs [Tue, 14 Nov 1995 04:45:54 +0000 (04:45 +0000)]
* configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
* configure: Update.
* mpw-make.sed: Reorder commands to make sed happier.
* config/te-macos.h: New file.
* config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
Stan Shebs [Tue, 14 Nov 1995 03:31:22 +0000 (03:31 +0000)]
* mpw-README: Clarify some phrasing, add notes about CodeWarrior
includes and FLEX_SKELETON setting.
* mpw-configure (--with-gnu-ld): New option, controls whether
to use PPCLink or ld with PowerMac GCC.
* mpw-build.in (all-grez, do-grez, install-grez): New targets.
* mpw-config.in: Configure grez if targeting Mac.
Stan Shebs [Mon, 13 Nov 1995 20:47:41 +0000 (20:47 +0000)]
* config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
just macos.
* configure.in: Configure grez resource compiler if targeting Mac.
* Makefile.in (all-grez, install-grez): New targets.
Ian Lance Taylor [Mon, 13 Nov 1995 20:25:21 +0000 (20:25 +0000)]
* libbfd.c (bfd_get_file_window): Use casts to avoid doing
arithmetic on PTR types.
Jeff Law [Mon, 13 Nov 1995 20:15:42 +0000 (20:15 +0000)]
* partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.
gcc-2.7.0 and gdb-4.15 have been released, so some old crud can
disappear. Yippie!
Ian Lance Taylor [Mon, 13 Nov 1995 18:31:50 +0000 (18:31 +0000)]
* aout-target.h (MY(callback)): Set the lma of the sections.
Ian Lance Taylor [Mon, 13 Nov 1995 18:27:49 +0000 (18:27 +0000)]
* ecoff.c (ecoff_reloc_link_order): Turn a reloc against a defined
symbol into a reloc against the section.
Michael Meissner [Mon, 13 Nov 1995 16:07:30 +0000 (16:07 +0000)]
checkpoint
Kim Knuttila [Mon, 13 Nov 1995 15:21:12 +0000 (15:21 +0000)]
Missed a debug macro (duh)
Kim Knuttila [Mon, 13 Nov 1995 12:54:05 +0000 (12:54 +0000)]
Implemented IMGLUE reloc + dumping
Jeff Law [Mon, 13 Nov 1995 04:31:25 +0000 (04:31 +0000)]
* gas/hppa/unsorted/brlenbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Mon, 13 Nov 1995 04:17:57 +0000 (04:17 +0000)]
* config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
conditional branches.
(md_apply_fix): Likewise.
Stan Shebs [Mon, 13 Nov 1995 02:12:19 +0000 (02:12 +0000)]
Add "grez" to keep_these_too.
Michael Meissner [Mon, 13 Nov 1995 01:27:21 +0000 (01:27 +0000)]
Add model-functions support
Stan Shebs [Sun, 12 Nov 1995 21:03:38 +0000 (21:03 +0000)]
* mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
with the man page.
Stan Shebs [Sun, 12 Nov 1995 20:39:38 +0000 (20:39 +0000)]
* Makefile.in (bfd_libs_here, etc): Provide empty definitions.
* coff-rs6000.c (rs6000coff_vec): Add conditional defines
TARGET_SYM and TARGET_NAME for vector and BFD name.
* coff-pmac.c (pmac_xcoff_vec): Remove.
(TARGET_SYM, TARGET_NAME): Define.
* coffcode.h (coff_set_arch_mach_hook) [POWERMAC]: Set the
machine to 0, not all PowerMacs are 601s.
Michael Meissner [Sun, 12 Nov 1995 14:20:39 +0000 (14:20 +0000)]
Add support for setting model name and other things
Michael Meissner [Sun, 12 Nov 1995 02:06:11 +0000 (02:06 +0000)]
Various changes
Michael Meissner [Sat, 11 Nov 1995 12:30:17 +0000 (12:30 +0000)]
fix typo
Michael Meissner [Sat, 11 Nov 1995 01:11:31 +0000 (01:11 +0000)]
Check for files in the source directory, not the build directory
Michael Meissner [Fri, 10 Nov 1995 22:49:05 +0000 (22:49 +0000)]
Tons of changes to allow model specific information in the instruction file.
Victoria Mixon [Fri, 10 Nov 1995 19:59:40 +0000 (19:59 +0000)]
modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:44:30 +0000 (19:44 +0000)]
modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:28:36 +0000 (19:28 +0000)]
references to pesch@cygnus.com changed to doc@cygnus.com
Victoria Mixon [Fri, 10 Nov 1995 19:09:41 +0000 (19:09 +0000)]
binutils.texi: modified from 95q4
Michael Meissner [Fri, 10 Nov 1995 11:41:58 +0000 (11:41 +0000)]
If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2.
Michael Meissner [Fri, 10 Nov 1995 11:38:13 +0000 (11:38 +0000)]
Add comment about enabing PowerPC simulator
Michael Meissner [Fri, 10 Nov 1995 11:27:14 +0000 (11:27 +0000)]
fix typo
Ian Lance Taylor [Fri, 10 Nov 1995 04:50:15 +0000 (04:50 +0000)]
* archive.c (bfd_generic_archive_p): Preserve tdata in case of
failure.
Michael Meissner [Thu, 9 Nov 1995 22:44:47 +0000 (22:44 +0000)]
Add --enable-sim-powerpc support.
Michael Meissner [Thu, 9 Nov 1995 22:41:34 +0000 (22:41 +0000)]
Enable powerpc simulator for all powerpc-eabi targets, not just powerpc-eabisim if compiling with GCC. Add --enable-sim-powerpc option to control this.
Raymond Jou [Thu, 9 Nov 1995 22:24:44 +0000 (22:24 +0000)]
* mpw-config.in: Add variable with names of SIOW libraries.
* mpw-make.sed: Add an action to build SIOWgdb.
Ian Lance Taylor [Thu, 9 Nov 1995 21:57:02 +0000 (21:57 +0000)]
* ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
report a better error.
Michael Meissner [Thu, 9 Nov 1995 21:38:13 +0000 (21:38 +0000)]
Obey --silent
Michael Meissner [Thu, 9 Nov 1995 21:23:36 +0000 (21:23 +0000)]
Get CC, etc. vars from configure; build ppc simulator if we are using GCC
Ian Lance Taylor [Thu, 9 Nov 1995 21:15:10 +0000 (21:15 +0000)]
* config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
generate a reloc which the linker will not handle correctly. Fix
overflow checking--R_IREL is 18 bits, not 17.
Ian Lance Taylor [Thu, 9 Nov 1995 20:54:30 +0000 (20:54 +0000)]
* aoutx.h (NAME(aout,final_link)): Report a reasonable error when
trying to do a relocateable link with a non-a.out object file.
Ian Lance Taylor [Thu, 9 Nov 1995 20:53:49 +0000 (20:53 +0000)]
* archive.c (bfd_generic_archive_p): Check the first object file
in an archive even if target_defaulted is set. If the object file
has the wrong xvec, reject it.
Ian Lance Taylor [Thu, 9 Nov 1995 20:09:00 +0000 (20:09 +0000)]
* aoutx.h (NAME(aout,set_section_contents)): If a section can not
be represented, report the name via _bfd_error_handler.
(translate_to_native_sym_flags): Likewise.
* elf32-mips.c (mips_elf_final_link): Likewise.
* oasys.c (oasys_write_sections): Likewise.
Michael Meissner [Thu, 9 Nov 1995 19:51:34 +0000 (19:51 +0000)]
fix typo
Michael Meissner [Thu, 9 Nov 1995 19:50:51 +0000 (19:50 +0000)]
Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set
Ian Lance Taylor [Thu, 9 Nov 1995 19:44:09 +0000 (19:44 +0000)]
* coffcode.h (coff_set_alignment_hook): Write RS6000COFF_C version
which checks for STYP_OVRFLO sections.
(coff_compute_section_file_positions): If RS6000COFF_C, handle
reloc and lineno count overflows.
(coff_write_object_contents): Call coff_count_linenumbers before
coff_compute_section_file_positions. If RS6000COFF_C, handle
reloc and lineno count overflows.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Count line numbers and
relocs before dealing with .pad sections. Count overflow section
headers when handling .pad sections.
Ian Lance Taylor [Thu, 9 Nov 1995 18:26:10 +0000 (18:26 +0000)]
* coffcode.h (coff_write_object_contents): Set a.out vstamp to 1
if RS6000COFF_C.
Ian Lance Taylor [Thu, 9 Nov 1995 18:11:03 +0000 (18:11 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add
new local variable special_sections, and pass it to
size_dynamic_sections. Look through the results, and move the
sections around in the mapping so that they are defined correctly.
Ian Lance Taylor [Thu, 9 Nov 1995 18:08:56 +0000 (18:08 +0000)]
* xcofflink.c (XCOFF_DESCRIPTOR): Define.
(struct xcoff_link_hash_table): Add descriptor_section and
special_sections fields.
(_bfd_xcoff_bfd_link_hash_table_create): Initialize new fields.
(xcoff_link_add_symbols): Set linkage section alignment. Create
descriptor section. Check for magic symbol names (_text, etc.),
and record them in special_sections if found. Set
XCOFF_DESCRIPTOR flag for a function descriptor, and set its
descriptor field to point back to the function code symbol.
(xcoff_sweep): Always mark the special descriptor_section.
(bfd_xcoff_export_symbol): Check whether the symbol might be a
function descriptor, and mark it if it is.
(bfd_xcoff_size_dynamic_sections): Add new special_sections
parameter, and fill it in. Allocate space for the descriptor
section.
(xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR flag when defining
global linkage code. If an undefined function descriptor is
exported, arrange to define it. Warn about any other undefined
exported symbol.
(_bfd_xcoff_bfd_final_link): Write out the descriptor section.
(xcoff_write_global_symbol): Create a function descriptor when
necessary.
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.
Kim Knuttila [Thu, 9 Nov 1995 14:08:28 +0000 (14:08 +0000)]
Build derived hash table for PowerPC PE
Ken Raeburn [Thu, 9 Nov 1995 09:19:13 +0000 (09:19 +0000)]
fix "make dep" for non-NetBSD systems
Ken Raeburn [Thu, 9 Nov 1995 09:14:01 +0000 (09:14 +0000)]
* configure.in: Added new option --with[out]-mmap. Set USE_MMAP if it is given
and mmep is available.
* acconfig.h: Undef USE_MMAP.
* configure, config.in: Regenerated.
* aoutx.h: If USE_MMAP is not defined, do all symbol and string table handling
the old way.
(aout_get_external_symbols): Don't complain if last byte of string table is
nonzero.
* libbfd.c [HAVE_MADVISE]: Include sys/types.h and sys/mman.h.
(bfd_free_window) [! USE_MMAP]: Don't define.
(bfd_get_file_window, _bfd_generic_get_section_contents_in_window)
[! USE_MMAP]: Abort.
Stan Shebs [Thu, 9 Nov 1995 03:31:21 +0000 (03:31 +0000)]
* mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure can
add back in if necessary.
Michael Meissner [Thu, 9 Nov 1995 02:35:15 +0000 (02:35 +0000)]
General cleanup; add -t options support to print all options
Ian Lance Taylor [Thu, 9 Nov 1995 02:30:33 +0000 (02:30 +0000)]
* coff-a29k.c (a29k_reloc): Change handling of R_IREL reloc to be
compatible with AMD generated COFF files. Try to support both AMD
and GNU formats simultaneously.
(coff_a29k_relocate_section): Likewise.
Ian Lance Taylor [Thu, 9 Nov 1995 02:28:57 +0000 (02:28 +0000)]
* config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
from a PC relative reloc if TC_A29K.
Ian Lance Taylor [Thu, 9 Nov 1995 02:26:59 +0000 (02:26 +0000)]
* config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
code depends upon it.
Ian Lance Taylor [Thu, 9 Nov 1995 01:20:32 +0000 (01:20 +0000)]
* a29k-dis.c (print_special): Change num to unsigned int.
Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
* a29k-dis.c (print_insn): Cast insn24 to unsigned long when
shifting it.
Ian Lance Taylor [Thu, 9 Nov 1995 01:04:56 +0000 (01:04 +0000)]
Wed Nov 8 20:03:44 1995 Eric Freudenthal <freudenthal@nyu.edu>
* coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than
0xffff0000.
Ian Lance Taylor [Thu, 9 Nov 1995 01:01:44 +0000 (01:01 +0000)]
* config/tc-a29k.c (md_operand): Handle $float, $double, and
$extend. Based on code from Eric Freudenthal
<freudenthal@nyu.edu>.
* config/tc-a29k.h (LEX_DOLLAR): Define.
* read.c (LEX_DOLLAR): Define if not defined.
(lex_type): Use LEX_DOLLAR.
Ian Lance Taylor [Wed, 8 Nov 1995 22:04:00 +0000 (22:04 +0000)]
get the printf cast right
Ian Lance Taylor [Wed, 8 Nov 1995 21:39:38 +0000 (21:39 +0000)]
Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
* configure.in (a29k-nyu-sym1): New target, just like other a29k
targets.
Ian Lance Taylor [Wed, 8 Nov 1995 21:24:33 +0000 (21:24 +0000)]
* libbfd.c (bfd_get_file_window): Change writable parameter from
int to boolean; update all callers. Pass MAP_SHARED if not
writable--it's required on Solaris. Cast fprintf argument to
avoid warning.
* bfd-in.h (bfd_get_file_window): Update declaration.
* bfd-in2.h: Rebuild.
* aoutx.h: Update calls to bfd_get_file_window.
Ian Lance Taylor [Wed, 8 Nov 1995 19:26:19 +0000 (19:26 +0000)]
* xcofflink.c (xcoff_find_reloc): Handle the case of a single
reloc correctly.
Ian Lance Taylor [Wed, 8 Nov 1995 19:08:18 +0000 (19:08 +0000)]
more XCOFF linker hackery
Michael Meissner [Wed, 8 Nov 1995 18:57:06 +0000 (18:57 +0000)]
first stage in function unit support; add new switches & latest code from andrew
Ian Lance Taylor [Wed, 8 Nov 1995 18:17:44 +0000 (18:17 +0000)]
* xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC.
Change all uses.
(xcoff_swap_ldhdr_in): New static function.
(xcoff_swap_ldsym_in): New static function.
(xcoff_link_add_symbols): If we just created a descriptor, pass it
to _bfd_generic_link_add_one_symbol, to save a hash lookup.
(xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols
rather than normal symbol table.
(xcoff_mark): When considering called symbols, check whether the
descriptor is from a dynamic object, rather than the symbol
itself.
(xcoff_build_ldsyms): Likewise.
Ian Lance Taylor [Wed, 8 Nov 1995 16:41:39 +0000 (16:41 +0000)]
* ldemul.c (ldemul_default_target): Cast getenv return value.