Stu Grossman [Sat, 4 Jan 1997 00:33:01 +0000 (00:33 +0000)]
* Makefile.in configure configure.in: Remove ENABLE_CLIBS,
ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS
and CONFIG_OBS.
* configure configure.in: Clean up test cases around thread support.
start-sanitize-v850
* configure.tgt (v850-*-*): Include v850ice.o and v850.lib if
host is Windows.
end-sanitize-v850
* c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c
printcmd.c valops.c value.h values.c: Add bfd_section arg to
value_at and value_at_lazy.
* coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h:
Add bfd_section arg to prim_record_minimal_symbol_and_info.
* corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section
instead of read_memory. It takes a bfd_section arg.
* coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove
unnecessary cast for assignment of struct dbx_symfile_info.
Struct objfile now uses a real pointer instead of PTR for this
element.
* dbxread.c (dbx_symfile_init): Stash bfd section pointers for
text, data and bss into dbx_symfile_info.
* exec.c (xfer_memory): Handle transfers for user-specified
sections.
* findvar.c (read_var_value locate_var_value): Copy bfd section
from the symbol to the value.
* gdb-stabs.h: Add section pointers for text, data and bss
sections.
* maint.c (translate address command): Add test code for overlay
address translation.
* printcmd.c (do_examine do_one_display): Now takes a bfd section
arg.
* (print_formatted x_command): Record current section along with
current address for repeated commands.
* sparc-nat.c (fetch_inferior_registers): Change
target_xfer_memory to target_{read write}_memory to allow changes
to target_xfer_memory interface for section info.
* symmisc.c (dump_msymbols print_symbol): Print section
assocaited with symbol.
* symtab.c (fixup_symbol_section): New routine to
add section info to symbols returned by lookup_symbol.
* symtab.h (struct general_symbol_info): Add bfd section to
symbols.
* target.c target.h (target_xfer_memory): Add bfd section to
args.
* (target_read_memory_section): New routine to read data from a
specific section.
* (target_memory_bfd_section): New global variable to pass bfd
section in to targets.
* valarith.c (value_add value_addr value_array): Preserve bfd
section when computing new value.
* value.h (struct value): Add bfd section to values.
* values.c (allocate_value value_copy): Initialize/preserve bfd
section.
* (unpack_double): Clean up _MSC_VER conditionals to remove
duplicate code.
start-sanitize-v850
* v850ice.c: New module to support communication with NEC's
PC-based ICE.
* config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and
ep names with rxx names. sp and fp are renamed via a different
mechanism.
end-sanitize-v850
Stu Grossman [Sat, 4 Jan 1997 00:25:53 +0000 (00:25 +0000)]
* Makefile.in configure configure.in: Remove ENABLE_CLIBS,
ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS
and CONFIG_OBS.
* configure configure.in: Clean up test cases around thread support.
start-sanitize-v850
* configure.tgt (v850-*-*): Include v850ice.o and v850.lib if
host is Windows.
end-sanitize-v850
* c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c
printcmd.c valops.c value.h values.c: Add bfd_section arg to
value_at and value_at_lazy.
* coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h:
Add bfd_section arg to prim_record_minimal_symbol_and_info.
* corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section
instead of read_memory. It takes a bfd_section arg.
* coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove
unnecessary cast for assignment of struct dbx_symfile_info.
Struct objfile now uses a real pointer instead of PTR for this
element.
* dbxread.c (dbx_symfile_init): Stash bfd section pointers for
text, data and bss into dbx_symfile_info.
* exec.c (xfer_memory): Handle transfers for user-specified
sections.
* findvar.c (read_var_value locate_var_value): Copy bfd section
from the symbol to the value.
* gdb-stabs.h: Add section pointers for text, data and bss
sections.
* maint.c (translate address command): Add test code for overlay
address translation.
* printcmd.c (do_examine do_one_display): Now takes a bfd section
arg.
* (print_formatted x_command): Record current section along with
current address for repeated commands.
* sparc-nat.c (fetch_inferior_registers): Change
target_xfer_memory to target_{read write}_memory to allow changes
to target_xfer_memory interface for section info.
* symmisc.c (dump_msymbols print_symbol): Print section
assocaited with symbol.
* symtab.c (fixup_symbol_section): New routine to
add section info to symbols returned by lookup_symbol.
* symtab.h (struct general_symbol_info): Add bfd section to
symbols.
* target.c target.h (target_xfer_memory): Add bfd section to
args.
* (target_read_memory_section): New routine to read data from a
specific section.
* (target_memory_bfd_section): New global variable to pass bfd
section in to targets.
* valarith.c (value_add value_addr value_array): Preserve bfd
section when computing new value.
* value.h (struct value): Add bfd section to values.
* values.c (allocate_value value_copy): Initialize/preserve bfd
section.
* (unpack_double): Clean up _MSC_VER conditionals to remove
duplicate code.
start-sanitize-v850
* v850ice.c: New module to support communication with NEC's
PC-based ICE.
* config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and
ep names with rxx names. sp and fp are renamed via a different
mechanism.
end-sanitize-v850
Jeff Law [Sat, 4 Jan 1997 00:02:12 +0000 (00:02 +0000)]
* reloc.c: Add BFD_RELOC_24.
* elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs.
(elf_mn10200_howto, mn10200_reloc_map): Corresponding changes.
* bfd-in2.h, libbfd.h: Rebuilt.
Starting on relocs for the mn10200.
Jeff Law [Fri, 3 Jan 1997 23:56:40 +0000 (23:56 +0000)]
Fix copyrights.
Jeff Law [Fri, 3 Jan 1997 23:55:22 +0000 (23:55 +0000)]
* config/tc-hppa.c (struct hppa_fix_struct): Steak fx_r_field's type
to avoid warnings with the native HP compiler.
(fix_new_hppa): Similarly for the r_type argument.
(pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose
in an #if OBJ_ELF to keep gcc -Wall quiet.
(md_apply_fix): Always initialize "result".
Minor maintenance.
* config/tc-mn10200.c (md_assemble): Generate relocations.
mn10200 has relocs now!
Fred Fish [Fri, 3 Jan 1997 23:28:26 +0000 (23:28 +0000)]
* tic80.h (struct tic80_opcode): Name changed.
(struct tic80_opcode): Remove format field.
(struct tic80_operand): Add insertion and extraction functions.
(TIC80_OPERAND_*): Remove old bogus values, start adding new
correct ones.
(FMT_*): Ditto.
Ian Lance Taylor [Fri, 3 Jan 1997 23:20:21 +0000 (23:20 +0000)]
Fri Jan 3 18:17:23 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (s_even): Adjust the alignment of the current
section.
Ian Lance Taylor [Fri, 3 Jan 1997 23:15:44 +0000 (23:15 +0000)]
tipo
Ian Lance Taylor [Fri, 3 Jan 1997 22:41:26 +0000 (22:41 +0000)]
* config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol is
defined, call it.
* config/tc-m68k.c (tc_frob_symbol): Check whether text label is
aligned to odd boundary.
(tc_frob_coff_symbol): Define.
Geoffrey Noer [Fri, 3 Jan 1997 22:34:52 +0000 (22:34 +0000)]
Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com>
* mn10300-tdep.c (mn10300_push_arguments): rewrote
also removed code elsewhere that made use of RP_REGNUM
* config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM,
ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300
arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE,
EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE
Ian Lance Taylor [Fri, 3 Jan 1997 22:34:16 +0000 (22:34 +0000)]
Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu>
* scripttempl/elf.sc: Move .got closer to .sdata and .sbss by
shifting .plt back. Rumour has it that the NetBSD ld.so depends
on .dynamic being after .got, so we leave that.
Ian Lance Taylor [Fri, 3 Jan 1997 22:27:24 +0000 (22:27 +0000)]
revert last patch
Geoffrey Noer [Fri, 3 Jan 1997 22:23:08 +0000 (22:23 +0000)]
Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com>
* mn10300-tdep.c (mn10300_push_arguments): rewrote
also removed code elsewhere that made use of RP_REGNUM
Ian Lance Taylor [Fri, 3 Jan 1997 22:17:57 +0000 (22:17 +0000)]
fix copyrights
Ian Lance Taylor [Fri, 3 Jan 1997 22:13:05 +0000 (22:13 +0000)]
Fri Jan 3 17:10:33 1997 Richard Henderson <rth@tamu.edu>
* config/obj-elf.c (elf_file_symbol): When using ECOFF debugging,
pass on the new file hook.
* config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as
!alpha_force_relocation, as local LITERALs can be adjusted to be
relative to the section.
Ian Lance Taylor [Fri, 3 Jan 1997 22:09:40 +0000 (22:09 +0000)]
Fri Jan 3 16:58:31 1997 Richard Henderson <rth@tamu.edu>
elf64-alpha multiple .got rewrite:
* elf-bfd.h (struct elf_backend_data): Add always_size_sections entry.
(bfd_elf*_mkobject): Don't define here ...
* elfxx-target.h: ... but rather here. Default always_size_sections
hook to NULL.
* elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was
what the #defines in elf-bfd.h transmuted it to anyway.
* section.c: Add SEC_LINKER_CREATED flag.
* bfd-in2.h: Rebuild.
* elf32-i386.c (elf_i386_check_relocs): Add SEC_LINKER_CREATED to
relocation section flags.
(elf_i386_size_dynamic_sections): Use SEC_LINKER_CREATED instead of
SEC_IN_MEMORY to recognize generated bits.
* elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_size_dynamic_sections):
Likewise.
* elf32-mips.c (mips_elf_final_link, mips_elf_create_dynamic_sections,
mips_elf_create_compact_rel_section, mips_elf_create_got_section,
mips_elf_check_relocs, mips_elf_size_dynamic_sections): Likewise.
* elf32-ppc.c (ppc_elf_create_linker_section,
ppc_elf_size_dynamic_sections): Likewise.
* elf32-sparc.c (elf32_sparc_check_relocs,
elf32_sparc_size_dynamic_sections): Likewise.
* elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to
section flags.
(_bfd_elf_create_dynamic_sections): Likewise.
(_bfd_elf_make_linker_section_rela): Likewise.
* elflink.h (elf_link_create_dynamic_sections): Likewise.
(bfd_elf,size_dynamic_sections): Call the always_size_sections hook.
(elf_bfd_final_link): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY
to identify generated bits.
(elf_link_input_bfd): Likewise.
* elf64-alpha.c: Rewrite everything touching relocations.
Ian Lance Taylor [Fri, 3 Jan 1997 21:04:46 +0000 (21:04 +0000)]
* Makefile.in (MAKEINFO): Check for the existence of the Makefile,
rather than the makeinfo program.
(do-info): Depend upon all-texinfo.
This ensures that MAKEINFO will have the right value when building
texinfo itself.
Ian Lance Taylor [Fri, 3 Jan 1997 19:08:18 +0000 (19:08 +0000)]
* Makefile.in (clean): Don't remove configdoc.texi.
(maintainer-clean): Do remove configdoc.texi.
Ian Lance Taylor [Fri, 3 Jan 1997 19:05:34 +0000 (19:05 +0000)]
* ld.texinfo (Operators): Remove '@' from @smallexmple in comment
to avoid confusing texi2roff.
Ian Lance Taylor [Fri, 3 Jan 1997 18:02:55 +0000 (18:02 +0000)]
* doc/as.texinfo (Set): Change parenthesized @xref to @pxref.
Ian Lance Taylor [Fri, 3 Jan 1997 17:50:06 +0000 (17:50 +0000)]
* config/tc-m68k.h (tc_frob_label): Define to warn about a
misaligned text label. Based on patch from Ronald F. Guilmette
<rfg@monkeys.com>.
Ian Lance Taylor [Fri, 3 Jan 1997 17:40:43 +0000 (17:40 +0000)]
* macro.c (macro_expand_body): In MRI mode, just copy a single &.
Ian Lance Taylor [Fri, 3 Jan 1997 17:22:34 +0000 (17:22 +0000)]
* config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
PCINDEX frag. From Ronald F. Guilmette <rfg@monkeys.com>.
Ian Lance Taylor [Fri, 3 Jan 1997 17:14:30 +0000 (17:14 +0000)]
* m68k-opc.c: Add #B case for moveq.
Ian Lance Taylor [Fri, 3 Jan 1997 17:14:02 +0000 (17:14 +0000)]
* config/tc-m68k.c (m68k_ip): Accept 'B' as a size for an
immediate value.
(md_assemble): If the size is 'B', set fx_signed.
(md_apply_fix_2): Use fx_signed when checking for overflow.
* write.h (struct fix): Add fx_signed field.
* write.c (fix_new_internal): Initialize fx_no_overflow and
fx_signed fields.
(fixup_segment): Use fx_signed when checking for overflow.
* config/obj-coff.c (fixup_segment): Check fx_no_overflow and
fx_signed when checking for overflow.
Michael Meissner [Fri, 3 Jan 1997 16:55:34 +0000 (16:55 +0000)]
Put common variables into the appropriate section, based on relocation types
Michael Meissner [Fri, 3 Jan 1997 16:34:28 +0000 (16:34 +0000)]
Add new st_other bits; Remove v850 section indexes
Michael Meissner [Fri, 3 Jan 1997 16:28:18 +0000 (16:28 +0000)]
Add .{z,t}common and .tcommon_byte sections
Mark Alexander [Fri, 3 Jan 1997 06:28:21 +0000 (06:28 +0000)]
* interp.c (sim_monitor): Make output to stdout visible in
wingdb's I/O log window.
Ian Lance Taylor [Fri, 3 Jan 1997 03:13:47 +0000 (03:13 +0000)]
* NOTES, NOTES.config: Removed. These are rarely, if ever,
updated, and all the useful information is in doc/internals.texi.
Ian Lance Taylor [Fri, 3 Jan 1997 03:07:01 +0000 (03:07 +0000)]
Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
* read.c (read_a_source_file): Check for conditional operators
before doing an MRI pending alignment.
* config/tc-m68k.h (m68k_conditional_pseudoop): Declare.
(tc_conditional_pseudop): Define.
* config/tc-m68k.c (m68k_conditional_pseudop): New function.
* doc/internals.texi (CPU backend): Describe
tc_conditional_pseudoop.
Michael Meissner [Fri, 3 Jan 1997 00:31:19 +0000 (00:31 +0000)]
Add v850.h
Ian Lance Taylor [Fri, 3 Jan 1997 00:03:28 +0000 (00:03 +0000)]
Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
* config/tc-m68k.c (m68k_rel32_from_cmdline): New static
variable.
(md_begin): Check m68k_rel32_from_cmdline before setting
m68k_rel32.
(m68k_mri_mode_change): Likewise.
(md_longopts): Add --disp-size-default-16 and
--disp-size-default-32.
(md_parse_option): Handle new options.
(md_show_usage): Mention new options.
* doc/c-m68k.texi (M68K-Opts): Document new options.
Ian Lance Taylor [Thu, 2 Jan 1997 23:48:20 +0000 (23:48 +0000)]
Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
* config/tc-m68k.c (m68k_index_width_default): New static
variable.
(m68k_ip): Use m68k_index_width_default to set the size of a base
register whose size was not given.
(md_longopts): Add --base-size-default-16 and
--base-size-default-32.
(md_parse_option): Handle new options.
(md_show_usage): Mention new options.
* doc/c-m68k.texi (M68K-Opts): Document new options.
Ian Lance Taylor [Thu, 2 Jan 1997 23:44:47 +0000 (23:44 +0000)]
fix copyright
Ian Lance Taylor [Thu, 2 Jan 1997 23:15:34 +0000 (23:15 +0000)]
* configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.
* scripttempl/elfmips.sc: Use __start as the entry address for
mips*-*-linux*.
Ian Lance Taylor [Thu, 2 Jan 1997 23:07:09 +0000 (23:07 +0000)]
* doc/c-mips.texi: Mention ISA level 4, and the -mips16 option.
Ian Lance Taylor [Thu, 2 Jan 1997 21:53:52 +0000 (21:53 +0000)]
* configure.in: Recognize mips-*-linux* target.
* configure: Rebuild.
Ian Lance Taylor [Thu, 2 Jan 1997 21:51:58 +0000 (21:51 +0000)]
* config/tc-mips.c (load_register): Rewrite 64 bit handling to
work if valueT is only 32 bits.
Ian Lance Taylor [Thu, 2 Jan 1997 21:51:31 +0000 (21:51 +0000)]
* gas/mips/mips16.s, gas/mips/mips16.d: New test.
* gas/mips/mips.exp: Run mips16 test.
* gas/mips/mips.exp: Run dli test unconditionally.
* gas/mips/dli.s: Add text symbol. Add nops to round to 16 byte
boundary.
* gas/mips/dli.d: Corresponding changes.
Ian Lance Taylor [Thu, 2 Jan 1997 20:13:05 +0000 (20:13 +0000)]
* config/tc-mips.c: Throughout, check target_big_endian rather
than byte_order.
(byte_order): Remove.
(mips_init_after_args): Remove.
* config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define.
(mips_init_after_args): Don't declare.
(tc_init_after_args): Don't define.
* config/tc-mips.h (tc_frob_after_relocs): Define if
OBJ_MAYBE_ELF.
(mips_elf_final_processing): Likewise.
(ELF_TC_SPECIAL_SECTIONS): Likewise.
Jeff Law [Thu, 2 Jan 1997 19:21:36 +0000 (19:21 +0000)]
* mn10300-dis.c (disassemble): Make sure all variables are initialized
before they are used.
Fixes various weird disassembly problems.
Geoffrey Noer [Tue, 31 Dec 1996 23:30:48 +0000 (23:30 +0000)]
small fix
Jeff Law [Tue, 31 Dec 1996 23:26:11 +0000 (23:26 +0000)]
* mn10300_sim.h (struct _state): Put all registers into a single
array to make gdb implementation easier.
(REG_*): Add definitions for all registers in the state array.
(SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
* simops.c: Related changes.
Geoffrey Noer [Tue, 31 Dec 1996 23:21:34 +0000 (23:21 +0000)]
Tue Dec 31 15:19:32 1996 Geoffrey Noer <noer@cygnus.com>
* config/mn10300/tm-mn10300.h: more small register fixes
Michael Meissner [Tue, 31 Dec 1996 23:18:55 +0000 (23:18 +0000)]
Deal with kill encoding the signal via the exit status.
Ian Lance Taylor [Tue, 31 Dec 1996 22:11:23 +0000 (22:11 +0000)]
* read.c (read_a_source_file): Check mri_pending_align after
checking for a macro. From Ronald F. Guilmette
<rfg@monkeys.com>.
Ian Lance Taylor [Tue, 31 Dec 1996 21:27:05 +0000 (21:27 +0000)]
* config.bfd (mips*el-*-linux*): New target.
(mips*-*-linux*): New target.
Ian Lance Taylor [Tue, 31 Dec 1996 21:26:27 +0000 (21:26 +0000)]
* elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up.
Return a useful value.
Jeff Law [Tue, 31 Dec 1996 21:20:00 +0000 (21:20 +0000)]
* v850-opc.c (v850_opcodes): Put curly-braces around operands
for "breakpoint" instruction.
Fixes random assembler failures for hp-x-v850 toolchain.
Ian Lance Taylor [Tue, 31 Dec 1996 21:05:42 +0000 (21:05 +0000)]
* configure.in: Remove uses of config/mh-linux.
Ian Lance Taylor [Tue, 31 Dec 1996 21:05:08 +0000 (21:05 +0000)]
* mh-linux: Remove.
Ian Lance Taylor [Tue, 31 Dec 1996 21:01:24 +0000 (21:01 +0000)]
* config.sub, config.guess: Merge with latest FSF sources.
Ian Lance Taylor [Tue, 31 Dec 1996 20:44:46 +0000 (20:44 +0000)]
* Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the
end.
(gprof): Put $(CFLAGS) after the other options.
Ian Lance Taylor [Tue, 31 Dec 1996 20:43:28 +0000 (20:43 +0000)]
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Ian Lance Taylor [Tue, 31 Dec 1996 20:38:45 +0000 (20:38 +0000)]
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
(dep): Use ALL_CFLAGS rather than CFLAGS.
Ian Lance Taylor [Tue, 31 Dec 1996 20:30:36 +0000 (20:30 +0000)]
* configure.host: Use ac_cv_func_mmap_fixed_mapped instead of
ac_cv_func_mmap in bfd/configure.host.
Michael Meissner [Tue, 31 Dec 1996 20:17:33 +0000 (20:17 +0000)]
Fix some spacing
Michael Meissner [Tue, 31 Dec 1996 20:14:21 +0000 (20:14 +0000)]
Fix relocatable tda offsets with non-zero addends
Michael Meissner [Tue, 31 Dec 1996 20:11:39 +0000 (20:11 +0000)]
Set V850_OPERAND_ADJUST_SHORT_MEMORY flag on sst.{h,w}/sld.{h,w} instructions
Michael Meissner [Tue, 31 Dec 1996 20:10:21 +0000 (20:10 +0000)]
Add V850_OPERAND_ADJUST_SHORT_MEMORY
Ian Lance Taylor [Tue, 31 Dec 1996 19:56:49 +0000 (19:56 +0000)]
* configure.in: Check ac_cv_func_mmap_fixed_mapped, not
ac_cv_func_mmap.
* configure: Rebuild.
Ian Lance Taylor [Tue, 31 Dec 1996 19:50:29 +0000 (19:50 +0000)]
* ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
fields.
* lexsup.c (parse_args): Recognize --auxiliary/-f and
--filter/-F.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass filter_shlib and auxiliary_filter_shlib to
size_dynamic_sections.
* ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.
Ian Lance Taylor [Tue, 31 Dec 1996 19:46:37 +0000 (19:46 +0000)]
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Add
filter_shlib and auxiliary_filter_shlib parameters.
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_AUXILIARY and
DT_FILTER.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf64_size_dynamic_sections): Likewise.
* bfd-in2.h: Rebuild.
Ian Lance Taylor [Tue, 31 Dec 1996 19:44:49 +0000 (19:44 +0000)]
* common.h (DT_AUXILIARY): Define.
(DT_FILTER): Define.
Ian Lance Taylor [Tue, 31 Dec 1996 19:23:32 +0000 (19:23 +0000)]
improve format
Ian Lance Taylor [Tue, 31 Dec 1996 19:12:03 +0000 (19:12 +0000)]
improve format
Ian Lance Taylor [Tue, 31 Dec 1996 18:03:58 +0000 (18:03 +0000)]
* gas/sparc/synth.d: Use --prefix-addresses for objdump.
* gas/sparc/synth64.d: Likewise.
Ian Lance Taylor [Tue, 31 Dec 1996 18:03:09 +0000 (18:03 +0000)]
* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
add segment argument. If OBJ_ELF, treat a relocation against a
symbol in a linkonce section like a relocation against an external
symbol.
* config/tc-sparc.h (MD_APPLY_FIX3): Define.
Ken Raeburn [Tue, 31 Dec 1996 17:51:22 +0000 (17:51 +0000)]
End tic80 sanitization regions with "end-sanitize-tic80", not
with "start-sanitize-tic80".
Mark Alexander [Tue, 31 Dec 1996 15:05:46 +0000 (15:05 +0000)]
* support.h: Undo previous change to SIGTRAP
and SIGQUIT values.
Mark Alexander [Tue, 31 Dec 1996 15:02:30 +0000 (15:02 +0000)]
* config/mips/tm-mips.h: Undefine BREAKPOINT, replace
with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions;
this fixes problem with setting breakpoints in little-endian
programs in the simulator.
Mark Alexander [Tue, 31 Dec 1996 15:01:55 +0000 (15:01 +0000)]
* config/i386/xm-windows.h: Undo previous change to SIGTRAP
and SIGQUIT values; it messed up non-MIPS targets.
Mark Alexander [Tue, 31 Dec 1996 15:01:12 +0000 (15:01 +0000)]
* config/i386/xm-windows.h: Undo previous change to SIGTRAP
and SIGQUIT values; it messed up non-MIPS targets.
* config/mips/tm-mips.h: Undefine BREAKPOINT, replace
with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions;
this fixes problem with setting breakpoints in little-endian
programs in the simulator.
Fred Fish [Tue, 31 Dec 1996 00:09:59 +0000 (00:09 +0000)]
* Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
(tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
Ian Lance Taylor [Mon, 30 Dec 1996 23:50:56 +0000 (23:50 +0000)]
* xcofflink.c (xcoff_build_ldsyms): When exporting all defined
symbols, don't export a symbol which is defined by an object in an
archive which contains shared objects.
PR 11379.
Fred Fish [Mon, 30 Dec 1996 23:25:26 +0000 (23:25 +0000)]
* archures.c (enum bfd_architecture): Add bfd_arch_tic80
for TI TMS320c80 (MVP).
(bfd_archures_list): Add bfd_tic80_arch.
* bfd-in2.h: Regenerate by running "make headers".
Ian Lance Taylor [Mon, 30 Dec 1996 22:37:30 +0000 (22:37 +0000)]
* interp.c (store_word, load_word): New static functions.
(mips16_entry): New static function.
(SignalException): Look for mips16 entry and exit instructions.
(simulate): Use the correct index when setting fpr_state after
doing a pending move.
Fred Fish [Mon, 30 Dec 1996 22:09:39 +0000 (22:09 +0000)]
* cpu-tic80.c (bfd_tic80_arch): Add struct.
* configure.in (case $vec): Correct typo, "tb" not "tp".
Also add cofflink.o for tic80coff_vec.
* configure: Regenerate with autoconf.
Michael Meissner [Mon, 30 Dec 1996 18:57:36 +0000 (18:57 +0000)]
Add .tbyte and .tbss sections
Ian Lance Taylor [Mon, 30 Dec 1996 16:56:05 +0000 (16:56 +0000)]
* libbfd.c: Patch up the mmap code so that it is only built if BFD
is configured with --with-mmap.
Ian Lance Taylor [Mon, 30 Dec 1996 16:38:24 +0000 (16:38 +0000)]
* mips16-opc.c: Add "abs".
Ian Lance Taylor [Mon, 30 Dec 1996 16:36:37 +0000 (16:36 +0000)]
* config/tc-mips.c (mips16_macro): Add case for M_ABS.
David Edelsohn [Mon, 30 Dec 1996 08:34:35 +0000 (08:34 +0000)]
* remote-sim.c (gdbsim_open_p): New static local.
(gdbsim_open): Call unpush_target if sim open. Set gdbsim_open_p.
(gdbsim_close): Only call sim_close if sim open. Reset gdbsim_open_p.
Fred Fish [Sun, 29 Dec 1996 18:01:29 +0000 (18:01 +0000)]
* Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
* disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
(disassembler): Add bfd_arch_tic80 support to set disassemble
to print_insn_tic80.
* tic80-dis.c (print_insn_tic80): Add stub.
Fred Fish [Sun, 29 Dec 1996 17:56:24 +0000 (17:56 +0000)]
* Makefile.in (BFD32_BACKENDS): Add coff-tic80.o
(ALL_MACHINES): Add cpu-tic80.o
(cpu-tic80.o, coff-tic80.o): Add dependencies.
* coff-tic80.c: Add skeleton, cloned from another coff config.
* coffcode.h (coff_write_object_contents): Set magic to TIC80MAGIC
for TIc80.
Mark Alexander [Sun, 29 Dec 1996 17:47:25 +0000 (17:47 +0000)]
* interp.c: Fix byte-swapping code throughout to work on
both little- and big-endian hosts.
Mark Alexander [Sun, 29 Dec 1996 17:20:47 +0000 (17:20 +0000)]
* support.h: Make definitions of SIGTRAP and SIGQUIT consistent
with gdb/config/i386/xm-windows.h.
Mark Alexander [Sun, 29 Dec 1996 17:18:12 +0000 (17:18 +0000)]
* config/i386/xm-windows.h: Make SIGTRAP and SIGQUIT consistent
with sim/mips/support.h.
Fred Fish [Sat, 28 Dec 1996 22:33:53 +0000 (22:33 +0000)]
* Makefile.in (mm.o): New target that combines all the functions
into a single object module. This avoids client programs picking
up part of the allocation routines from mmalloc and part from libc,
which can lead to undefined behavior.
(CFILES): Add mm.c
(TARGETOBJS): Define to be either the individual objects or the
single combined object.
(TARGETLIB): Create the archive using TARGETOBJS.
* mm.c: New file that simply #includes the other source C files.
Mark Alexander [Sat, 28 Dec 1996 06:51:58 +0000 (06:51 +0000)]
* gencode.c (build_instruction): Work around MSVC++ code gen bug
that messes up arithmetic shifts.
Fred Fish [Sat, 28 Dec 1996 06:31:43 +0000 (06:31 +0000)]
* config.sub (case $basic_machine): Add tic80 entries.
Fred Fish [Sat, 28 Dec 1996 05:59:26 +0000 (05:59 +0000)]
* NOTES.config (Implementation): as.h #define's "GAS" not "gas",
includes config.h instead of host.h, tc.h instead of tp.h, and
targ-env.h instead of target-environment.h.
Also, obj-format.h includes targ-cpu.h instead of
target-processor.h.
start-sanitize-tic80
(Laying groundwork, that will be incrementally fleshed out,
for TIc80 support)
* configure.in (case ${generic_target}): Add tic80-*-coff entry.
* configure: Rebuild with autoconf.
* config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
(TARGET_FORMAT): Define to "coff-tic80".
* config/tc-tic80.c: New file for TIc80 support.
* config/tc-tic80.h: New file for TIc80 support.
end-sanitize-tic80
Fred Fish [Sat, 28 Dec 1996 05:36:52 +0000 (05:36 +0000)]
(Laying groundwork (that will be incrementally fleshed out) for TIc80 support)
* configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
* configure: Regenerate with autoconf.
* tic80-dis.c: Add file.
* tic80-opc.c: Add file.
Fred Fish [Sat, 28 Dec 1996 05:26:04 +0000 (05:26 +0000)]
(Laying some groundwork (that will be incrementally fleshed out) for
TIc80)
* dis-asm.h (print_insn_tic80): Declare.
Fred Fish [Sat, 28 Dec 1996 05:23:50 +0000 (05:23 +0000)]
(Laying the groundwork (that will be incrementally fleshed out) for
TIc80 support)
* tic80.h: New file.
Fred Fish [Sat, 28 Dec 1996 05:13:42 +0000 (05:13 +0000)]
(Laying the groundwork (that will be incrementally fleshed out) for
TIc80 support)
* tic80.h: New file for TIc80 support.
Fred Fish [Sat, 28 Dec 1996 04:16:24 +0000 (04:16 +0000)]
Add TIc80 stuff keep/lose stuff.
Fred Fish [Sat, 28 Dec 1996 04:09:34 +0000 (04:09 +0000)]
(Lay some groundwork for TIc80 port that will be filled in incrementally.)
* TODO: Correct a misspelling.
start-sanitize-tic80
* coff-tic80.c: New file for TI TMS320C80 (MVP).
* cpu-tic80.c: New file for TI TMS320C80 (MVP).
* configure.in (case $vec): Add tic80coff_vec entry.
* configure: Regenerate with autoconf.
* archures.c (bfd_tic80_arch): Declare.
* bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80.
* config.bfd (case ${targ}): Add tic80*-*-coff* target.
* targets.c (tic80coff_vec): Add decl as extern bfd_target.
(bfd_target_vector): Add tic80coff_vec entry.
end-sanitize-tic80
Michael Meissner [Fri, 27 Dec 1996 20:59:46 +0000 (20:59 +0000)]
Add large frame support