Ian Lance Taylor [Thu, 27 Feb 1997 18:30:47 +0000 (18:30 +0000)]
* gasp.c (hash_add_to_string_table): Correct misspelling in error
message, and add newline.
(process_file): Don't process assignments in the label if this is
a equ or assign pseudo-op.
(process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
and K_EQU, to match documentation.
Stu Grossman [Thu, 27 Feb 1997 18:09:22 +0000 (18:09 +0000)]
* configure.in configure (HPUX/OSF thread support): Enable this
only when running GCC, since HP's thread header files use ANSI C
which is not supported by their default compiler.
Ian Lance Taylor [Thu, 27 Feb 1997 17:49:00 +0000 (17:49 +0000)]
* configure.in: Define BSD44_FORMAT if the target looks like a
BSD4.4 derived system.
* configure: Rebuild.
* Makefile.in (.c.o): Add @DEFS@.
* gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
from profrate field, not version field.
Ian Lance Taylor [Thu, 27 Feb 1997 17:48:16 +0000 (17:48 +0000)]
comment change
Stu Grossman [Thu, 27 Feb 1997 17:46:18 +0000 (17:46 +0000)]
* configure.host (i[3456]86-*-windows): Disable long long
support for WinGDB. Add mswin to configdirs.
* configure.in configure: Move calls to configure.host and
configure.tgt to the top of configure.in to allow them to set
config variables before they are referenced.
Jeff Law [Thu, 27 Feb 1997 17:05:25 +0000 (17:05 +0000)]
FIxing Sanitize problems found by Marilyn.
Jeff Law [Thu, 27 Feb 1997 17:03:43 +0000 (17:03 +0000)]
Fixing Sanitize errors found by Marilyn.
Michael Meissner [Thu, 27 Feb 1997 17:01:21 +0000 (17:01 +0000)]
Add "r" section attribute to denote read-only sections
Ian Lance Taylor [Thu, 27 Feb 1997 16:42:56 +0000 (16:42 +0000)]
* mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD,
to lang_enter_output_section_statement. From Mark Rasin
<mark.rasin@telrad.co.il>.
Michael Meissner [Thu, 27 Feb 1997 16:37:37 +0000 (16:37 +0000)]
Deal with 64 bit instruction sizes on the tic80
Angela Marie Thomas [Thu, 27 Feb 1997 08:18:39 +0000 (08:18 +0000)]
oops... always keep d10v stuff
Angela Marie Thomas [Thu, 27 Feb 1997 08:15:42 +0000 (08:15 +0000)]
only keep d10velf.sh for keep-d10v
Angela Marie Thomas [Thu, 27 Feb 1997 08:11:38 +0000 (08:11 +0000)]
add sim-basics.h sim-config.h sim-inline.c to Things-to-keep
Ian Lance Taylor [Thu, 27 Feb 1997 06:31:12 +0000 (06:31 +0000)]
* config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
* config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
Ian Lance Taylor [Thu, 27 Feb 1997 05:28:17 +0000 (05:28 +0000)]
* expr.c (operand): Simplify 0b handling. Don't treat 0b as a
binary number if the next character is '+' or '-'.
Fred Fish [Thu, 27 Feb 1997 04:05:18 +0000 (04:05 +0000)]
* config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
(find_opcode): Match operands that can be floats.
(build_insn): Handle O_big (float) expressions and build
correct opcode.
Fred Fish [Thu, 27 Feb 1997 03:39:10 +0000 (03:39 +0000)]
* gas/tic80/{float.d, float.lst, float.s}: New tests for
simple floating point operands.
* gas/tic80/tic80.exp: Run the float test.
Stan Shebs [Thu, 27 Feb 1997 02:42:38 +0000 (02:42 +0000)]
always keep te-lnews.h
Stan Shebs [Thu, 27 Feb 1997 02:40:44 +0000 (02:40 +0000)]
* configure.in (mips*-*-lnews*): New target, also make empty
emulation list for this target.
* configure: Update.
* tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
(mips_target_format): Use.
* te-lnews.h: New file.
Martin Hunt [Thu, 27 Feb 1997 01:55:05 +0000 (01:55 +0000)]
Sanitize out D30V stuff.
Martin Hunt [Thu, 27 Feb 1997 01:49:49 +0000 (01:49 +0000)]
Sanitize out d30v stuff.
Gavin Romig-Koch [Wed, 26 Feb 1997 23:49:19 +0000 (23:49 +0000)]
Correct the overloaded DOUBLEWORD problem
Martin Hunt [Wed, 26 Feb 1997 23:22:00 +0000 (23:22 +0000)]
Wed Feb 26 15:19:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* elf32-d30v.c (bfd_elf_d30v_reloc): Add code to do 32-bit
relocations.
Stan Shebs [Wed, 26 Feb 1997 23:07:19 +0000 (23:07 +0000)]
* targets.c (bfd_target_vector): Add ecoff_biglittle_vec.
Fred Fish [Wed, 26 Feb 1997 22:42:51 +0000 (22:42 +0000)]
* config/tc-tic80.c (find_opcode, build_insn): Changes to match
operands with :m or :s modifiers and generate the right opcodes
for them.
Stan Shebs [Wed, 26 Feb 1997 22:26:36 +0000 (22:26 +0000)]
always keep mipslnews.sh
Fred Fish [Wed, 26 Feb 1997 22:24:38 +0000 (22:24 +0000)]
* gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,
regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}:
New tests for :m and :s operand modifiers.
* gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests.
Michael Meissner [Wed, 26 Feb 1997 21:59:58 +0000 (21:59 +0000)]
Define r25
Ian Lance Taylor [Wed, 26 Feb 1997 18:53:18 +0000 (18:53 +0000)]
Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
floatformat_to_double to make portable.
(print_insn_arg): Use NEXTEXTEND macro when extracting extended
precision float.
Ian Lance Taylor [Wed, 26 Feb 1997 18:35:56 +0000 (18:35 +0000)]
* elflink.h (elf_link_input_bfd): Don't skip symbols from sections
that have no contents merely because linker_mark is not set.
Ian Lance Taylor [Wed, 26 Feb 1997 16:57:38 +0000 (16:57 +0000)]
* Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
$(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
Ian Lance Taylor [Wed, 26 Feb 1997 16:53:34 +0000 (16:53 +0000)]
* ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common
section.
PR 11749.
Stan Shebs [Wed, 26 Feb 1997 04:41:48 +0000 (04:41 +0000)]
* configure.tgt (mips*-*-lnews*): New target.
* Makefile.in (emipslnews.c): New target.
* emulparams/mipslnews.sh: New file.
Ian Lance Taylor [Wed, 26 Feb 1997 04:33:08 +0000 (04:33 +0000)]
Based on patches from Robert Lipe <robertl@dgii.com>:
* configure.in: Add i386coff and i386elf to emulation list.
* configure: Rebuild.
* as.c (i386coff, i386elf): Declare.
* obj.h (coff_format_ops): Declare.
* config/obj-coff.c (OBJ_HEADER): Define.
(coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
(coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
(obj_pseudo_table): Add "version".
(coff_pop_insert): New static function.
(coff_sec_sym_ok_for_reloc): New static function.
(no_func): New static function.
(coff_format_ops): New variable.
* config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
(obj_symbol_new_hook): Define.
(coff_obj_read_begin_hook): Declare.
(obj_read_begin_hook): Define.
* config/tc-i386.h (i386_target_format): Declare.
* config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
OUTPUT_FLAVOR when appropriate.
(i386_target_format): New function.
* Makefile.in (obj-coff.o): New target.
(e-i386coff.o, e-i386elf.o): New targets.
Stan Shebs [Wed, 26 Feb 1997 04:23:45 +0000 (04:23 +0000)]
* configure.tgt (mips*-*-lnews*): New target.
Ian Lance Taylor [Wed, 26 Feb 1997 03:04:05 +0000 (03:04 +0000)]
Tue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/tc-m68k.c (instring): Useless local declaration of
crack_operand removed.
* expr.h (expressionS): Changed type of X_op field to operatorT if
__GNUC__.
Ian Lance Taylor [Wed, 26 Feb 1997 02:55:31 +0000 (02:55 +0000)]
From Stephen Williams <steve@icarus.icarus.com>:
* config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
(_tc_get_bal_of_call): Don't declare.
(tc_get_bal_of_call): Declare as function, don't define as macro.
* config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
in sy_tc field, not x_balntry field.
(tc_get_bal_of_call): Rename from _tc_get_bal_of_call. Change
return type to symbolS *. If OBJ_COFF, retrieve value from sy_tc
field, not x_balntry field.
Ian Lance Taylor [Wed, 26 Feb 1997 02:30:31 +0000 (02:30 +0000)]
* objdump.c (adjust_section_vma): New static variable.
(usage): Mention --adjust-section-vma.
(OPTION_ADJUST_VMA): Define.
(long_options): Add "addjust-vma".
(display_bfd): If adjust_section_vma is not 0, add it to all the
section addresses.
(main): Handle OPTION_ADJUST_VMA.
* binutils.texi, objdump.1: Document --adjust-vma.
Tom Tromey [Tue, 25 Feb 1997 22:43:55 +0000 (22:43 +0000)]
* configure.in (host_libs): Build itcl after tcl, tk.
Ian Lance Taylor [Tue, 25 Feb 1997 21:07:13 +0000 (21:07 +0000)]
* elf.c (elf_fake_sections): Use SHT_NOTE for any section whose
name begins with ".note".
(map_sections_to_segments): Add a PT_NOTE segment for any loadable
section whose name begins with ".note".
(get_program_header_size): Corresponding change.
Ian Lance Taylor [Tue, 25 Feb 1997 19:47:05 +0000 (19:47 +0000)]
tweak for alignment
Ian Lance Taylor [Tue, 25 Feb 1997 19:36:18 +0000 (19:36 +0000)]
* Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
(TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
(itbl-lex.o): Depend upon itbl-parse.h.
* itbl-parse.y (yyerror): Change return type to int. Change to
use old style function declaration.
Ian Lance Taylor [Tue, 25 Feb 1997 19:28:05 +0000 (19:28 +0000)]
* Makefile.in (itbl-lex.o): Remove -Wall.
(itbl-parse.o): Likewise.
Tom Tromey [Tue, 25 Feb 1997 19:04:34 +0000 (19:04 +0000)]
* configure.in (host_libs): Added db, itcl.
(host_tools): Added sn.
(noconfigdirs): Added itcl, db, sn in appropriate places.
(native_only): Added sn.
Ian Lance Taylor [Tue, 25 Feb 1997 18:56:14 +0000 (18:56 +0000)]
* gas/macros/semi.s: Force the final alignment to use a fill value
of 0.
Tom Tromey [Tue, 25 Feb 1997 18:48:00 +0000 (18:48 +0000)]
* Makefile.in (all-db, all-sn): New targets.
(ALL_MODULES): Added all-sn.
(CROSS_CHECK_MODULES): Added check-sn.
(INSTALL_MODULES): Added install-sn.
(CLEAN_MODULES): Added clean-sn.
Ian Lance Taylor [Tue, 25 Feb 1997 18:47:08 +0000 (18:47 +0000)]
* gas/all/cond.s, gas/all/cond.d: New test.
* gas/all/gas.exp: Run it.
Ian Lance Taylor [Tue, 25 Feb 1997 18:45:17 +0000 (18:45 +0000)]
* cond.c (s_ifdef): If we should omit conditionals from listings,
call listing_list.
(s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
* listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
(listing_listing): Handle EDICT_NOLIST_NEXT.
(listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
* listing.h (LISTING_NOCOND): Define.
(LISTING_SKIP_COND): Define.
* as.c (show_usage): Mention c as a suboption of -a.
(parse_args): Handle c as a suboption of -a.
* doc/as.texinfo: Document -alc.
Dawn Perchik [Tue, 25 Feb 1997 07:04:39 +0000 (07:04 +0000)]
start-sanitize-r5900
* gencode.c: #ifdef out offending code until a permanent fix
can be added. Code is causing build errors for non-5900 mips targets.
end-sanitize-r5900
Fred Fish [Tue, 25 Feb 1997 06:37:51 +0000 (06:37 +0000)]
* config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
(fixes several failures in generic part of GAS testsuite)
Ian Lance Taylor [Tue, 25 Feb 1997 05:33:28 +0000 (05:33 +0000)]
* elf32-mips.c (mips_elf_relocate_section): Check for misaligned
jal and for jal overflow.
Gavin Romig-Koch [Tue, 25 Feb 1997 04:14:12 +0000 (04:14 +0000)]
Correct some badly formatted entrys
Gavin Romig-Koch [Tue, 25 Feb 1997 03:46:37 +0000 (03:46 +0000)]
Use idt.ld rather than ddt.ld
Jeff Law [Mon, 24 Feb 1997 23:38:31 +0000 (23:38 +0000)]
* mn10200-tdep.c (mn10200_analyze_prologue): Don't fix fi->frame
if we're not the innermost frame. Fix minor typos.
So debugging without frame pointers works.
Ian Lance Taylor [Mon, 24 Feb 1997 23:23:31 +0000 (23:23 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* ldlex.l (V_TAG, V_IDENTIFIER): New macros.
(VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version
information.
(ldlex_version_script, ldlex_version_file): New functions.
* ldlex.h (enum input_enum): Add input_version_script.
(ldlex_version_script): Declare.
(ldlex_version_file): Declare.
* ldgram.y (%union): Add deflist, versyms, and versnode.
(VERS_TAG, VERS_IDENTIFIER): New terminals.
(GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals.
(file): Accept INPUT_VERSION_SCRIPT.
(ifile_p1): Accept version.
(version_script_file): New nonterminal.
(version, vers_nodes, vers_node): Likewise.
(verdep, vers_tag, ver_defns): Likewise.
* ldlang.c (lang_elf_version_info): New global variable.
(lang_new_vers_regex): New function.
(lang_new_vers_node): New function.
(version_index): New static variable.
(lang_register_vers_node): New function.
(lang_add_vers_depend): New function.
* ldlang.h (lang_elf_version_info): Declare.
(lang_new_vers_regex, lang_new_vers_node): Declare.
(lang_add_vers_depend, lang_register_vers_node): Declare.
* lexsup.c (OPTION_VERSION_SCRIPT): Define.
(ld_options): Add "version-script".
(parse_args): Handle OPTION_VERSION_SCRIPT.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass lang_elf_version_info to size_dynamic_sections.
* scripttempl/elf.sc: Add .gnu.version sections.
Martin Hunt [Mon, 24 Feb 1997 23:22:13 +0000 (23:22 +0000)]
Mon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c: Change pre_defined_registers to
d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
Ian Lance Taylor [Mon, 24 Feb 1997 23:13:07 +0000 (23:13 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* elflink.h (elf_link_add_archive_symbols): If a default symbol is
not found, try looking it up again without the version name.
(elf_link_add_object_symbols): Always link against the dynamic
symbol table of a dynamic object. When linking against a dynamic
object, include version strings in symbol names, and set up
version information. Add indirect symbols for default versions.
(elf_link_create_dynamic_sections): Add special version sections.
(struct elf_assign_sym_version_info): Define.
(struct elf_find_verdep_info): Define.
(NAME(bfd_elf,size_dynamic_sections)): Add verdefs parameter. Set
up version sections.
(elf_adjust_dynamic_symbol): Ignore indirect symbols.
(elf_link_find_version_dependencies): New static function.
(elf_link_assign_sym_version): New static function.
(elf_link_renumber_dynsyms): New static function.
(struct elf_final_link_info): Add symver_sec field.
(elf_bfd_final_link): Initialize finfo.symver_sec. Don't count
local symbols of a dynamic object. Handle DT_VER* constants.
(elf_link_output_extsym): Simplify BFD_ASSERT checking for a
dynamic object. Skip indirect symbols from ELF objects. Remove
the version name before choosing a hash bucket. Write out the
version information if appropriate.
(elf_link_input_bfd): Check for DYNAMIC, not ET_DYN.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf64_size_dynamic_sections): Likewise.
* bfd-in2.h: Rebuild.
* elf-bfd.h (struct elf_link_hash_entry): Add verinfo field.
Change elf_link_hash_flags to unsigned short.
(ELF_LINK_HIDDEN): Define.
(struct elf_obj_tdata): Add fields dynversym_hdr, dynverref_hdr,
dynverdef_hdr, dynversym_section, dynverdef_section,
dynverref_section, cverdefs, cverrefs, verdef, verref.
(elf_dynversym, elf_dynverdef, elf_dynverref): Define.
(_bfd_elf_swap_verdef_in, _bfd_elf_swap_verdef_out): Declare.
(_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Declare.
(_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Declare.
(_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Declare.
(_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Declare.
(_bfd_elf_slurp_version_tables): Declare.
* elf.c (_bfd_elf_swap_verdef_in): New function.
(_bfd_elf_swap_verdef_out): Likewise.
(_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Likewise.
(_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Likewise.
(_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Likewise.
(_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Likewise.
(_bfd_elf_print_private_bfd_data): Add DT_VER* constants. Print
version information if there is any.
(_bfd_elf_link_hash_newfunc): Initialize verinfo field.
(bfd_section_from_shdr): Handle SHT_GNU_ver* section types.
(elf_fake_sections): Handle .gnu.version* section names.
(assign_section_numbers): Handle SHT_GNU_ver* section types.
(_bfd_elf_slurp_version_tables): New function.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't include
version name in string entered in dynamic hash table.
* elfcode.h: Include fnmatch.h.
* elf32-i386.c (elf_i386_relocate_section): Handle a dynamic
symbol which was forced to become local.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
Fred Fish [Mon, 24 Feb 1997 21:46:54 +0000 (21:46 +0000)]
* tic80-opc.c (LSI_SCALED): Renamed from this ...
(OFF_SL_BR_SCALED): ... to this, and added the flag
TIC80_OPERAND_BASEREL to the flags word.
(tic80_opcodes): Replace all occurances of LSI_SCALED with
OFF_SL_BR_SCALED.
Bob Manson [Mon, 24 Feb 1997 21:24:26 +0000 (21:24 +0000)]
* lib/gdb.exp(gdb_test): Generate a FAIL message when
send_gdb fails.
Fred Fish [Mon, 24 Feb 1997 20:21:13 +0000 (20:21 +0000)]
* config/obj-coff.c: Fix typo in comment section.
start-sanitize-tic80
* config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
an additional alignment argument.
(find_opcode): Allow O_symbol relocs for any 32 bit field, not just
base relative ones.
(build_insn): Handle O_symbol relocs for any 32 bit field, not just
base relative ones.
end-sanitize-tic80
Fred Fish [Mon, 24 Feb 1997 18:25:19 +0000 (18:25 +0000)]
* gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d,
regops.d, relocs1.d,
(relocs1.c): Add file for reference.
(relocs1b.d): Split reloc table contents test to different test file.
(relocs2.c): Add test that uses various types (char, short, int, ...) of
static and global variables with data shuffling to generate lots of ld/st
instructions for the different types.
(relocs2.d): New file, expected code for relocs2 test.
(relocs2.lst): New file, TI assembler listing for reference.
(relocs2.s): New file, assembly source for relocs2 test.
(relocs2b.d): New file, expected reloc table contents for relocs2 test.
(tic80.exp): Run the relocs1b, relocs2, and relocs2b tests.
Jeff Law [Mon, 24 Feb 1997 18:13:23 +0000 (18:13 +0000)]
Update some comments to reflect current reality.
Dawn Perchik [Mon, 24 Feb 1997 10:42:50 +0000 (10:42 +0000)]
* Makefile.in: Remove dependancies on itbl-cpu.h.
* as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU
is not defined.
Dawn Perchik [Mon, 24 Feb 1997 10:01:19 +0000 (10:01 +0000)]
* itbl-ops.h: Include as.h.
Dawn Perchik [Mon, 24 Feb 1997 09:21:31 +0000 (09:21 +0000)]
* as.c: Remove -t option.
* configure, configure.in: Move itbl-cpu.h to mips specific configure.
* itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
* config/tc-mips.h: Define HAVE_ITBL_CPU.
Bob Manson [Mon, 24 Feb 1997 05:43:35 +0000 (05:43 +0000)]
* config/vr4300.exp: New file.
* gdb.*/*.exp: Call gdb_expect instead of expect.
* lib/gdb.exp(gdb_expect): New function.
Dawn Perchik [Mon, 24 Feb 1997 01:57:55 +0000 (01:57 +0000)]
* itbl-ops.c: Don't define DEBUG.
Dawn Perchik [Mon, 24 Feb 1997 01:51:04 +0000 (01:51 +0000)]
* gas/all/itbl-test.c(main): Update function calls.
Remove parameters from itbl_get_reg_val and
change itbl_get_insn_name to itbl_get_field.
Dawn Perchik [Mon, 24 Feb 1997 01:44:47 +0000 (01:44 +0000)]
* Makefile.in: Update itbl-test.c to reflect its new location.
Dawn Perchik [Mon, 24 Feb 1997 01:17:50 +0000 (01:17 +0000)]
* gas/mips/itbl: Add comments.
* gas/mips/itbl.s: Add comments. Prefix register names with $.
* gas/all/itbl: Generic table for testing for itbl support.
* gas/all/itbl.s: Generic assembly for testing for itbl support.
* gas/mips/itbl-test.c: Moved to gas/all.
* gas/all/itbl-test.c: Moved from gas/mips.
Dawn Perchik [Sun, 23 Feb 1997 23:46:12 +0000 (23:46 +0000)]
* itbl-ops.c: Add test for itbl_have_entries.
* config/tc-mips.c: Remove test for itbl_have_entries.
* config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
Ian Lance Taylor [Sun, 23 Feb 1997 23:15:09 +0000 (23:15 +0000)]
* Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
itbl-ops.c. Add itbl-parse.c and itbl-lex.c.
(LEX, LEXFLAGS): Define.
* itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
Ian Lance Taylor [Sun, 23 Feb 1997 23:14:39 +0000 (23:14 +0000)]
fix minor formatting problem
Ian Lance Taylor [Sun, 23 Feb 1997 23:05:35 +0000 (23:05 +0000)]
update copyrights
Ian Lance Taylor [Sun, 23 Feb 1997 22:47:20 +0000 (22:47 +0000)]
minor formatting fixes
Dawn Perchik [Sun, 23 Feb 1997 22:26:01 +0000 (22:26 +0000)]
* mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
and change bfd_mips_num_opcodes from const int to int,
so that we can increase the size of the mips opcodes table
dynamically.
Dawn Perchik [Sun, 23 Feb 1997 22:24:49 +0000 (22:24 +0000)]
* mips.h: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
and change bfd_mips_num_opcodes from const int to int,
so that we can increase the size of the mips opcodes table
dynamically.
Dawn Perchik [Sun, 23 Feb 1997 22:23:12 +0000 (22:23 +0000)]
* itbl-parse.y: Fix indentation mistakes from indent program.
* itbl-lex.l: Fix indentation mistakes from indent program.
* itbl-ops.h: Add include for ansidecl.h.
Add PARAMS around function arguments.
Add declaration for itbl_have_entries.
* itbl-ops.c: Add PARAMS around function arguments.
* Makefile.in: Add itbl build rules.
Add dependancies for itbl files to mips target.
* as.c: Add itbl support.
Add new option "--insttbl" for dynamically extending instruction set.
* as.h: Declare insttbl_file_name;
the name of file defining extensions to the basic instruction set
* configure.in, configure: Add itbl-parse.o, itbl-lex.o, and
itbl-ops.o to extra_objects for mips configuration.
Add include file link from itbl-cpu.h to
config/itbl-${target_cpu_type}.h.
* config/tc-mips.c: Allow copz instructions.
Add notes for future additions to the itbl support.
Add debug macros.
(macro): Call itbl_assemble to assemble itbl instructions.
See if an unknown register is specified in an itbl entry.
Fred Fish [Sun, 23 Feb 1997 04:06:51 +0000 (04:06 +0000)]
* tic80-opc.c (tic80_predefined_symbols): Revert change to
store BITNUM values in the table in one's complement form
to match behavior when assembler is given a raw numeric
value for a BITNUM operand.
* tic80-dis.c (print_operand_bitnum): Ditto.
Fred Fish [Sun, 23 Feb 1997 04:01:39 +0000 (04:01 +0000)]
* doc/internals.texi (CPU backend): Fix typo in md_section_align
description.
start-sanitize-tic80
* config/tc-tic80.h (NEED_FX_R_TYPE): Define.
* config/tc-tic80.c (find_opcode): Add code to support O_symbol
operands.
(build_insn): Grab a frag early so we can use the address in
fixups. Take one's complement of BITNUM values before insertion
in opcode. Add code to support O_symbol operands.
(md_apply_fix): Replace unimplemented warning with implementation.
(md_pcrel_from): Ditto.
(tc_coff_fix2rtype): Ditto.
end-sanitize-tic80
Fred Fish [Sun, 23 Feb 1997 03:34:25 +0000 (03:34 +0000)]
* gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst,
endmask.lst, regops.lst}: Remove ^M's from end of lines.
* gas/tic80/bitnum.s: Add comment to each line showing value
that symbolic BITNUM assembles to. Add coverage for raw
numeric values for the BITNUM operand.
* gas/tic80/bitnum.d: Update due to bitnum.s changes.
* gas/tic80/regops.d: Update due to opcode library additions
of floating point test BITNUM values that are ambiguous with
the integral ones.
* gas/tic80/relocs1.s: New test case that tests simple relocs.
* gas/tic80/relocs1.d: Expected output for above.
* gas/tic80/relocs1.lst: TI assembler listing for above.
* gas/tic80/tic80.exp: Add relocs1 test.
Peter Schauer [Sat, 22 Feb 1997 11:42:07 +0000 (11:42 +0000)]
* stabsread.c (read_type): Fix handling of template names
with template parameters containing `::'.
* valops.c (search_struct_field, search_struct_method):
Pass correct valaddr parameter to baseclass_offset.
Prevent gdb crashes by making sure that the virtual base pointer
from an user object still points to accessible memory.
Martin Hunt [Sat, 22 Feb 1997 02:02:27 +0000 (02:02 +0000)]
Fri Feb 21 17:56:25 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* configure.in (noconfigdirs): Enable ld for d30v.
Michael Meissner [Sat, 22 Feb 1997 01:59:42 +0000 (01:59 +0000)]
Build tic80 compiler
Martin Hunt [Sat, 22 Feb 1997 01:42:27 +0000 (01:42 +0000)]
Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in (ed30velf.c): New target.
* configure.tgt (d30v-*-*): New target.
* emulparams/d30velf.sh: New file.
* scripttempl/elfd30v.sc: New file.
Martin Hunt [Sat, 22 Feb 1997 00:34:58 +0000 (00:34 +0000)]
Fri Feb 21 16:34:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h (FLAG_X): Remove unused flag.
Martin Hunt [Sat, 22 Feb 1997 00:32:23 +0000 (00:32 +0000)]
Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v-opc.c: Removed references to FLAG_X.
Martin Hunt [Sat, 22 Feb 1997 00:29:55 +0000 (00:29 +0000)]
Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (parallel_ok): New function.
* config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
Bob Manson [Sat, 22 Feb 1997 00:17:12 +0000 (00:17 +0000)]
Added vxworks.exp.
Jeff Law [Fri, 21 Feb 1997 23:19:34 +0000 (23:19 +0000)]
* elf32-mn10200.c (mn10200_elf_final_link_relocate): Simplify
somewhat.
(mn10200_elf_relax_section): Correctly compute a symbol's value
when the symbol is local, but not in the same section as we are
relaxing. Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16
relaxing.
Another 1.3% size reduction for hello world. Only relaxing left todo is
imm16 -> imm8 and d16 -> d8 where applicable.
Martin Hunt [Fri, 21 Feb 1997 22:36:21 +0000 (22:36 +0000)]
Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c (md_pcrel_from_section): Return 0 if
relocation is in different section. Fixes PR11574.
Martin Hunt [Fri, 21 Feb 1997 22:28:16 +0000 (22:28 +0000)]
Fri Feb 21 14:23:14 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s,
inst.d, inst.s, opt.d, opt.s}: Test files for D30V.
David Edelsohn [Fri, 21 Feb 1997 22:09:40 +0000 (22:09 +0000)]
* elf32-m32r.c: Rewrite to use ELF backend linker.
Store lower 16 bits of addend in R_M32R_HI16_[SU]LO insns.
Add small data area support (R_M32R_SDA16).
* reloc.c: Document BFD_RELOC_M32R_SDA16.
* bfd-in2.h,libbfd.h: Regenerated.
David Edelsohn [Fri, 21 Feb 1997 21:01:40 +0000 (21:01 +0000)]
* m32r.h (enum reloc_type): Add R_M32R_SDA16.
(SHN_M32R_SCOMMON): Define.
Ian Lance Taylor [Fri, 21 Feb 1997 19:54:34 +0000 (19:54 +0000)]
* config/tc-m68k.c (line_comment_chars): Add '*'.
Jim Wilson [Fri, 21 Feb 1997 18:28:36 +0000 (18:28 +0000)]
Fix linker relocation overflow errors for the NEC vr4300/ddb toolchain.
These changes are related to Ian's gas/libgloss changes of Dec 13/Dec 18.
* tc-mips.c (mips_ip): If configured for an embedded ELF system,
don't set the section alignment to 2**4.
* mips/ddb.ld: Align the location counter before setting _gp, and
before setting edata. Remove ALIGN from _gp computation.
* mips/idt.ld, mips/pmon.ld: Before setting _gp, use ALIGN(8) instead
of ALIGN(16). Remove ALIGN from _gp computation.
Ian Lance Taylor [Fri, 21 Feb 1997 17:21:09 +0000 (17:21 +0000)]
* app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
(do_scrub_begin): Don't set lex['*'].
(do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for
a literal '*'.
Ian Lance Taylor [Fri, 21 Feb 1997 17:00:45 +0000 (17:00 +0000)]
* configure.in: Set em=svr4 for m68k-*-sysv4*.
* configure: Rebuild.
* config/te-svr4.h: New file.
* config/tc-m68k.c (m68k_comment_chars): Only include `#' if
TE_SVR4 or TE_DELTA.
Jeff Law [Fri, 21 Feb 1997 07:21:32 +0000 (07:21 +0000)]
Twiddle some comments to more accurately reflect reality.
Jeff Law [Fri, 21 Feb 1997 07:18:35 +0000 (07:18 +0000)]
Remove debugging printf.
This page took 0.040528 seconds and 4 git commands to generate.