Nick Clifton [Thu, 11 Jun 1998 22:58:05 +0000 (22:58 +0000)]
Fix for PR11938 - display suitable error messages for bogus .byte, .short and .quad directives.
Doug Evans [Thu, 11 Jun 1998 22:52:40 +0000 (22:52 +0000)]
* sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags.
Doug Evans [Thu, 11 Jun 1998 22:50:51 +0000 (22:50 +0000)]
* sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
sim_compile.
Doug Evans [Thu, 11 Jun 1998 22:49:25 +0000 (22:49 +0000)]
(sim_compile): Tweak output text.
Ian Lance Taylor [Thu, 11 Jun 1998 22:45:08 +0000 (22:45 +0000)]
* stabs.c (struct stab_handle): Add self_crossref field.
(parse_stab_string): If a tag is a cross reference to itself,
don't define it in the tags list.
(parse_stab_type): Set info->self_crossref.
* debug.c (struct debug_type_real_list): Define.
(debug_get_real_type): Add list parameter. Change all callers.
Check for circularity to avoid crashing when it occurs.
Nick Clifton [Thu, 11 Jun 1998 22:32:44 +0000 (22:32 +0000)]
Ooops - forgopt to check this in with the previous delta!
Doug Evans [Thu, 11 Jun 1998 22:28:03 +0000 (22:28 +0000)]
* sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
(VU0_MEM1_SIZE): New macro.
Doug Evans [Thu, 11 Jun 1998 22:27:01 +0000 (22:27 +0000)]
* sim/sky/vu01reg-main.c: New file.
* sim/sky/vu01reg.dvpasm: New file.
* sim/sky/vu01reg.brn: New file.
Jason Molenda [Thu, 11 Jun 1998 22:08:46 +0000 (22:08 +0000)]
Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
* btowc.c: Removed.
* configure.in: Don't see if we need to replace btowc().
* Makefile.in: Don't include LIBOBJS.
* configure: Regenerated.
* gnu-regex.c (regex_compile): Only support i18n [:foo:] if
we have btowc().
Nick Clifton [Thu, 11 Jun 1998 21:51:56 +0000 (21:51 +0000)]
Add 'readelf' to binutils.
Nick Clifton [Thu, 11 Jun 1998 16:14:19 +0000 (16:14 +0000)]
Add more checks for NULL pointers.
Nick Clifton [Thu, 11 Jun 1998 15:58:53 +0000 (15:58 +0000)]
Fix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon sections.
Frank Ch. Eigler [Thu, 11 Jun 1998 13:50:28 +0000 (13:50 +0000)]
* Moving some sky-specific ChangeLog entries into ChangeLog.sky
Doug Evans [Thu, 11 Jun 1998 07:55:29 +0000 (07:55 +0000)]
* sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
* sim-core.c (sim_core_signal): Make extern, always define.
Doug Evans [Thu, 11 Jun 1998 01:19:28 +0000 (01:19 +0000)]
Regenerate, gets a_m32r_trap -> m32r_trap renaming.
Doug Evans [Thu, 11 Jun 1998 01:18:13 +0000 (01:18 +0000)]
* m32r-sim.h (m32r_trap): Declare.
Doug Evans [Thu, 11 Jun 1998 01:06:05 +0000 (01:06 +0000)]
* Makefile.in (SIM_OBJS): Add traps.o
Doug Evans [Thu, 11 Jun 1998 01:05:21 +0000 (01:05 +0000)]
* traps.c: New file. Trap support moved here from sim-if.c.
* Makefile.in (SIM_OBJS): Add traps.o
* sim-if.c: Don't include targ-vals.h.
(sim_engine_illegal_insn): Moved to traps.c
* sim-main.h (SIM_CORE_SIGNAL): Define.
(m32r_core_signal): Declare.
* devices.c (device_io_read_buffer): Handle cache purging via MCCR
register.
* m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
(PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
(TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.
Doug Evans [Thu, 11 Jun 1998 01:04:47 +0000 (01:04 +0000)]
Regenerate. Updates from cgen for better VoidMode handling.
Nick Clifton [Thu, 11 Jun 1998 00:27:54 +0000 (00:27 +0000)]
Create v850 special sections upon demand.
Stu Grossman [Wed, 10 Jun 1998 23:29:59 +0000 (23:29 +0000)]
* c-exp.y: Fix problems with parsing "'foo.bar'::func". Some languages
allow symbols with dots.
* gdbtypes.c (check_stub_method): Cosmetic. Use more descriptive
names for parameters.
start-sanitize-java
* jv-exp.y: Parser now accepts primitive types.
* (parse_number): Use correct ifdef for scanf long double support.
* jv-lang.c (java_array_type): Initial cut at array support.
end-sanitize-java
* language.c language.h (set_language): Now returns previous language.
* symtab.c (find_methods): Make static. Cosmetic changes, including
indentation, and adding descriptive comments. Move local variable defs
into the block they are used in.
* Don't call check_stub_method any more. Use gdb_mangle_name to
generate the full method name. find_method doesn't need all the other
goobldegook that check_stub_method does.
* (gdb_mangle_name): Use more descriptive names for parameters. Fix
comment.
start-sanitize-java
* (lookup_partial_symbol lookup_block_symbol): Check for java to
ensure we can find mangled names.
end-sanitize-java
* (decode_line_1): Move local variable defs into the block they are
used in. (Improves code readability.)
Doug Evans [Wed, 10 Jun 1998 23:03:55 +0000 (23:03 +0000)]
* Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
* cgen-ops.h (ANDIF): New macro.
(ANDIF[BQHSD]I): Delete.
Doug Evans [Wed, 10 Jun 1998 23:00:10 +0000 (23:00 +0000)]
* m32r-opc.c: Regenerate.
Updates from better VoidMode handling in cgen.
Jason Molenda [Wed, 10 Jun 1998 21:09:45 +0000 (21:09 +0000)]
Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: Add some tests for gnu-regex.c's benefit.
See if btowc() function is provided in C library.
* configure, config.in: Regenerated.
* Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
if necessary.
* btowc.c: New file.
* gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
benefit.
Drop namespace preserving defines for now.
Jason Molenda [Wed, 10 Jun 1998 21:08:38 +0000 (21:08 +0000)]
Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: Add some tests for gnu-regex.c's benefit.
See if btowc() function is provided in C library.
* configure, config.in: Regenerated.
* Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
if necessary.
* btowc.c: New file.
* gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
benefit.
Drop namespace preserving defines for now.
Mods based on the modifications used in GNU grep 2.2 to make gnu-regex.c
compile on other OSes.
Jason Molenda [Wed, 10 Jun 1998 18:54:59 +0000 (18:54 +0000)]
Wed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gnu-regex.c: Include "gnu-regex.h", not "regex.h".
Joyce Janczyn [Wed, 10 Jun 1998 18:47:09 +0000 (18:47 +0000)]
Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>
* dv-mn103int.c (external_group): Use enumerated types to access
correct group addresses.
* dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
triggers an interrupt on the higher-numbered timer's port.
Jason Molenda [Wed, 10 Jun 1998 18:36:01 +0000 (18:36 +0000)]
Wed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license
to stay consistent with the rest of GDB.
Jason Molenda [Wed, 10 Jun 1998 18:28:48 +0000 (18:28 +0000)]
Wed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions.
Michael Snyder [Wed, 10 Jun 1998 18:04:36 +0000 (18:04 +0000)]
Wed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
*printcmd.c (disassemble_command): move overlay mapping code
"up" into find_pc_partial_function.
* blockframe.c (find_pc_partial_function): adjust start address
and end address for overlays (mapped vs. unmapped addresses),
so that all callers of this function may benefit.
* m32r-tdep.c (m32r_skip_prologue): adjust indentation.
Frank Ch. Eigler [Wed, 10 Jun 1998 17:56:19 +0000 (17:56 +0000)]
* SKY hardware interrupt tests.
Wed Jun 10 15:56:10 1998 Frank Ch. Eigler <fche@cygnus.com>
* sim/sky/t-int.c: New file to test sky hardware
interrupts.
* sim/sky/t-int-handler.s: New file for null interrupt
handler.
* sim/sky/t-int.brn: New file to build new test.
Doug Evans [Wed, 10 Jun 1998 17:56:18 +0000 (17:56 +0000)]
* sim/m32r/addx.cgs: Add another test.
* sim/m32r/jmp.cgs: Add another test.
* sim/m32r/bra8-2.cgs: New testcase.
* sim/m32r/hello.ms: Run on m32rx too.
Michael Snyder [Wed, 10 Jun 1998 17:42:36 +0000 (17:42 +0000)]
Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/overlays.exp: fixup compile line for linker script.
Frank Ch. Eigler [Wed, 10 Jun 1998 17:07:10 +0000 (17:07 +0000)]
* Support for sky hardware interrupts. The sky-dma cannot trigger
interrupts properly yet (jlemke TODO).
Wed Jun 10 13:22:32 1998 Frank Ch. Eigler <fche@cygnus.com>
* interp.c (decode_coproc): For TX39, add stub COP0 register #7,
to allay warnings.
(interrupt_event): Made non-static.
start-sanitize-tx3904
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
interchange of configuration values for external vs. internal
clock dividers.
end-sanitize-tx3904
start-sanitize-sky
* sky-device.c (sky_signal_interrupt): New function to generate
interrupt event.
* sky-device.h: Declare it.
* sky-dma.c (check_int1): Call it.
* sky-pke.c (pke_begin_interrupt_stall): Call it.
end-sanitize-sky
Patrick Macdonald [Wed, 10 Jun 1998 17:07:09 +0000 (17:07 +0000)]
* Updated several files to place all sky specific runtime options
in sky-gdb.c.
* Added two new runtime options --sky-debug and --screen-refresh
* ChangeLog.sky contains a detailed description of the mods
Ian Lance Taylor [Wed, 10 Jun 1998 16:05:48 +0000 (16:05 +0000)]
* missing: Update to version from automake 1.3.
Vladimir Makarov [Wed, 10 Jun 1998 15:50:08 +0000 (15:50 +0000)]
PR15041
Ian Lance Taylor [Wed, 10 Jun 1998 15:20:14 +0000 (15:20 +0000)]
* ltmain.sh: On installation, don't get confused if the same name
appears more than once in the list of library names.
Frank Ch. Eigler [Wed, 10 Jun 1998 08:58:42 +0000 (08:58 +0000)]
* Typo fix for tx3904tmr use of configuration parameters.
(ChangeLog entry coming later.)
Jim Ingham [Tue, 9 Jun 1998 22:33:46 +0000 (22:33 +0000)]
Tue Jun 9 15:27:09 1998 Jim Ingham <jingham@cygnus.com>
* gdbtk.c: Added hooks to run gdbtk under the TclPro debugger.
To do this, build gdbtk with:
make CFLAGS="-g -DTCLPRO_DEBUGGER"
Then set the environment variable TCLPRO_DEBUG_DIR to point to
wherever you have installed the TclPro debugger. Finally, in
the Alpha of the TclPro Debugger, you have to start up the
TclPro Debugger BEFORE you start gdbtk. Unfortunately, the
debugger does not understand Itcl 1.5 style classes...
* .Sanitize: Sanitize out references to the TclPro debugger,
since it is not yet released.
Keith Seitz [Tue, 9 Jun 1998 22:21:33 +0000 (22:21 +0000)]
* gdbtk.c (gdb_get_vars_command): Return static variables and
variables stored in registers.
* main.c (main): Call pre/post_add_symbol_hook's when loading
executables and symbol files.
* symfile.c (symbol_file_add): revert previous change
Ian Carmichael [Tue, 9 Jun 1998 22:11:24 +0000 (22:11 +0000)]
* Handle 10 and 20-bit versions of Break instruction. Move handling
* of special values from signal_exception() in interp.c into mips.igen.
*
* Modified: ChangeLog gencode.c interp.c mips.igen sim-main.h
Nick Clifton [Tue, 9 Jun 1998 21:30:56 +0000 (21:30 +0000)]
Disassemble 'add rX, rY, #0' as 'mov rX, rY'.
Keith Seitz [Tue, 9 Jun 1998 21:15:46 +0000 (21:15 +0000)]
* symfile.c (symbol_file_add): Always call the
pre/post_add_symbol_hooks.
* gdbtk.c (gdb_get_vars_command): Return static variables and
variables stored in registers.
Doug Evans [Tue, 9 Jun 1998 19:22:21 +0000 (19:22 +0000)]
* config/tc-dvp.c (assemble_vu): Print better error message if
lower insn is missing.
Ian Lance Taylor [Tue, 9 Jun 1998 17:53:29 +0000 (17:53 +0000)]
* Makefile.am: Rebuild dependencies.
(DEP_INCLUDES): Fix reference to intl build directory.
* Makefile.in: Rebuild.
Frank Ch. Eigler [Tue, 9 Jun 1998 16:54:09 +0000 (16:54 +0000)]
* Updates to tx3904 peripheral simulations for ECC.
Tue Jun 9 12:29:50 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
register upon non-zero interrupt event level, clear upon zero
event value.
* dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
by passing zero event value.
(*_io_{read,write}_buffer): Endianness fixes.
* dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
(deliver_*_tick): Reduce sim event interval to 75% of count interval.
* interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
serial I/O and timer module at base address 0xFFFF0000.
Ian Carmichael [Tue, 9 Jun 1998 16:54:08 +0000 (16:54 +0000)]
* Handle 10 and 20-bit versions of Break instruction. Move handling
* of special values from signal_exception() in interp.c into mips.igen.
*
* Modified: gencode.c interp.c mips.igen sim-main.h
Nick Clifton [Tue, 9 Jun 1998 16:38:11 +0000 (16:38 +0000)]
Make 'send' be CONST char * to avoid compiler warning.
Nick Clifton [Tue, 9 Jun 1998 16:36:31 +0000 (16:36 +0000)]
Add definition of EM_ARM
Ian Lance Taylor [Tue, 9 Jun 1998 16:30:26 +0000 (16:30 +0000)]
Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* doc/c-i386.texi: Update 16 bit documentation.
Ian Lance Taylor [Tue, 9 Jun 1998 16:21:35 +0000 (16:21 +0000)]
Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
IgnoreDataSize to IgnoreSize as they are used for address size as
well as data size.
* config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
32-bit mode, similarly addr16/data16 and variants.
Ian Lance Taylor [Tue, 9 Jun 1998 16:18:24 +0000 (16:18 +0000)]
Tue Jun 9 12:16:01 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386.h: Change occurences of Data16 to Size16, Data32 to Size32,
IgnoreDataSize to IgnoreSize. Flag address and data size prefixes
with Size16|IgnoreSize or Size32|IgnoreSize.
Doug Evans [Tue, 9 Jun 1998 16:01:59 +0000 (16:01 +0000)]
* sim/sky/dma.h: New file.
* sim/sky/vif.h: New file.
* sim/sky/vu.h: New file.
* sim/sky/sce_main.c: Move magic numbers to .h files.
James Lemke [Tue, 9 Jun 1998 15:55:49 +0000 (15:55 +0000)]
sky.ld: Remove big endian stuff in OUTPUT_FORMAT
Gavin Romig-Koch [Tue, 9 Jun 1998 15:54:05 +0000 (15:54 +0000)]
* mips.igen (SWC1) : Correct the handling of ReverseEndian
and BigEndianCPU.
Gavin Romig-Koch [Tue, 9 Jun 1998 15:42:04 +0000 (15:42 +0000)]
* configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
parts.
* configure: Update.
Nick Clifton [Tue, 9 Jun 1998 01:48:34 +0000 (01:48 +0000)]
Updated to match latest assembler results.
Nick Clifton [Tue, 9 Jun 1998 01:33:23 +0000 (01:33 +0000)]
Foixes for PR16116 and ER15940 - improve parallel insn handling.
Nick Clifton [Tue, 9 Jun 1998 01:18:34 +0000 (01:18 +0000)]
Fix for PR16116 - remove FLAG_MUL32 attribute from MULX2H insn.
Doug Evans [Mon, 8 Jun 1998 23:09:54 +0000 (23:09 +0000)]
* sim/m32r/trap.cgs: Test trap 2.
Doug Evans [Mon, 8 Jun 1998 23:08:49 +0000 (23:08 +0000)]
Test trap 2.
Doug Evans [Mon, 8 Jun 1998 22:44:03 +0000 (22:44 +0000)]
* config/tc-dvp.c (dvp_relax_frag): Adjust target address by stretch.
PR 16132.
Doug Evans [Mon, 8 Jun 1998 22:41:55 +0000 (22:41 +0000)]
* gas/dvp/relax-1.[sd]: Test .org/relaxing interaction.
Nick Clifton [Mon, 8 Jun 1998 22:22:21 +0000 (22:22 +0000)]
Use signed comparisons against addend.
Ron Unrau [Mon, 8 Jun 1998 22:10:37 +0000 (22:10 +0000)]
* objfiles.c (add_to_objfile_sections): All targets to define
TARGET_KEEP_SECTION to permit them to retain bfd sections that
GDB would otherwise have discarded.
Joyce Janczyn [Mon, 8 Jun 1998 21:57:42 +0000 (21:57 +0000)]
Support for timers for mn103002. Still needs more testing/debugging.
David Taylor [Mon, 8 Jun 1998 19:18:21 +0000 (19:18 +0000)]
add test to verify that changes made to the PSW in-parallel-with a trap
instruction end up in the bPSW and not in the PSW. (PR 16026).
Joyce Janczyn [Mon, 8 Jun 1998 18:09:40 +0000 (18:09 +0000)]
Add dv-mn103tim.c and dv-mn103ser.c
Joyce Janczyn [Mon, 8 Jun 1998 17:46:25 +0000 (17:46 +0000)]
Add timer and serial devices (mn103tim and mn103ser), support
--board=am32 for runtime control of device simulation, and adjust
interrupt settings to support am32 instead of am30.
Joyce Janczyn [Mon, 8 Jun 1998 17:34:04 +0000 (17:34 +0000)]
Skeleton file for mn1030002 serial device implementation.
Joyce Janczyn [Mon, 8 Jun 1998 17:28:08 +0000 (17:28 +0000)]
Fix typo.
Joyce Janczyn [Mon, 8 Jun 1998 17:27:10 +0000 (17:27 +0000)]
Fix interrupt settings for mn103002, not mn10300 implementation.
Joyce Janczyn [Mon, 8 Jun 1998 17:23:11 +0000 (17:23 +0000)]
* interp.c: (mn10300_option_handler): New function parses arguments
using sim-options.
start-sanitize-am30
* (board): Add --board option for specifying am32.
* (sim_open): Create new timer and serial devices and control
configuration of other am32 devices via board option.
end-sanitize-am30
Joyce Janczyn [Mon, 8 Jun 1998 17:18:02 +0000 (17:18 +0000)]
Add new devices: mn103tim and mn103ser.
Ian Lance Taylor [Mon, 8 Jun 1998 17:06:00 +0000 (17:06 +0000)]
Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
likewise for REPE.
* config/tc-i386.c (reloc): Add braces.
* config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
consistent with Intel naming.
* config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
use bitfields in sib_byte.
(modrm_byte): Don't use bitfields here either.
* config/tc-i386.c (current_templates): Add const.
(parse_register): Add const to return, param, and char *s.
(i386_operand): Add const to reg_entry *r.
* config/tc-i386.h (templates): Add const to start, end.
Inspired by code for 16 bit gas support from Martynas Kunigelis
<martynas@nm3.ktu.lt>:
* config/tc-i386.c (md_assemble): Add full support for 16 bit
modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
(uses_mem_addrmode): Remove.
(md_estimate_size_before_relax): Add support here too.
(md_relax_table): Rewrite interface to md_relax for 16 bit
support.
(BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
(opcode_suffix_to_type): Remove.
(CODE16, SMALL, SMALL16, BIG, BIG16): Define.
(SIZE_FROM_RELAX_STATE): Modify to suit above.
(md_convert_frag): Likewise.
(i386_operand): Add support for 16 bit base/index regs,
immediates, and displacements. Remove some unnecessary casts, and
localise end_of_operand_string, displacement_string_start,
displacement_string_end variables. Add GCC_ASM_O_HACK.
* config/tc-i386.h (NO_BASE_REGISTER_16): Define.
* config/tc-i386.c (prefix_hash): Remove.
(md_begin): Rewrite without obstacks. Remove prefix hash table
handling. Rewrite lexical table handling.
(i386_print_statistics): Don't print prefix statistics.
(md_assemble): Rewrite instruction parser so that line is not
converted to lower case. Don't do a hash_find for prefixes,
instead recognise them via opcode modifier.
(expecting_operand, paren_not_balanced): Localise variables.
* config/tc-i386.h (IsPrefix): Define.
(prefix_entry): Remove.
* config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
* config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
'\\' in case where comment_chars contains '/'.
* config/tc-i386.c (MATCH): Ensure given operand and template
match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
you must write `ljmp *table(%ebx)'.
From H.J. Lu <hjl@gnu.org>:
* config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
as 0 ifndef BFD_ASSEMBLER.
(md_assemble): Allow immediate operands without suffix or
other reg operand to default in size to the current code size.
Ian Lance Taylor [Mon, 8 Jun 1998 16:20:19 +0000 (16:20 +0000)]
Mon Jun 8 12:15:52 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386.h (REPNE): Rename to REPNE_PREFIX_OPCODE.
(REPE): Rename to REPE_PREFIX_OPCODE.
(i386_regtab_end): Remove.
(i386_prefixtab, i386_prefixtab_end): Remove.
(i386_optab): Use NULL as sentinel rather than "" to suit rewrite
of md_begin.
(MAX_OPCODE_SIZE): Define.
(i386_optab_end): Remove.
(sl_Suf): Define.
(sl_FP): Use sl_Suf.
* i386.h (i386_optab): Allow 16 bit displacement for `mov
mem,acc'. Combine 16 and 32 bit forms of various insns. Allow 16
bit form of ljmp. Add IsPrefix modifier to prefixes. Add addr32,
data32, dword, and adword prefixes.
(i386_regtab): Add BaseIndex modifier to valid 16 bit base/index
regs.
Catherine Moore [Mon, 8 Jun 1998 14:36:19 +0000 (14:36 +0000)]
Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
* config/tc-v850.c (md_begin): Restore creation of
.call_table_text and .call_table_data sections.
Nick Clifton [Sat, 6 Jun 1998 07:42:09 +0000 (07:42 +0000)]
Add prototypes.
Nick Clifton [Sat, 6 Jun 1998 07:32:18 +0000 (07:32 +0000)]
Add prototypes.
Nick Clifton [Sat, 6 Jun 1998 07:03:45 +0000 (07:03 +0000)]
Another fix for PR16116
Ian Lance Taylor [Sat, 6 Jun 1998 04:00:25 +0000 (04:00 +0000)]
x
Ian Lance Taylor [Sat, 6 Jun 1998 03:54:24 +0000 (03:54 +0000)]
Fri Jun 5 23:47:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c: Combine aflag and dflag into sizeflag. Change OP_*
functions to void.
(OP_DSreg): Rename from OP_DSSI.
(OP_ESreg): Rename from OP_ESDI.
(Xb, Xv, Yb, Yv): Use index reg code, not b_mode or v_mode.
(DSBX): Define.
(append_seg): Rename from append_prefix.
(ptr_reg): New function.
(dis386): Add S suffix to pushf, popf, ret, lret, enter, leave.
Add DSBX for xlat.
(PREFIX_ADDR): Rename from PREFIX_ADR.
(float_reg): Add non-broken opcodes for people who don't want
UNIXWARE_COMPAT.
Ian Lance Taylor [Sat, 6 Jun 1998 03:47:33 +0000 (03:47 +0000)]
Fri Jun 5 23:42:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386.h (i386_regtab): Remove BaseIndex modifier from esp.
* i386.h: Allow `l' suffix on fld, fst, fstp, fcom, fcomp with
register operands, because this is a common idiom. Flag them with
a warning. Allow illegal faddp, fsubp, fsubrp, fmulp, fdivp,
fdivrp because gcc erroneously generates them. Also flag with a
warning.
* i386.h: Add suffix modifiers to most insns, and tighter operand
checks in some cases. Fix a number of UnixWare compatibility
issues with float insns. Merge some floating point opcodes, using
new FloatMF modifier.
(WORD_PREFIX_OPCODE): Rename to DATA_PREFIX_OPCODE for
consistency.
* i386.h: Change occurence of ShortformW to W|ShortForm. Add
IgnoreDataSize where appropriate.
Ian Lance Taylor [Sat, 6 Jun 1998 03:42:14 +0000 (03:42 +0000)]
Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
(i386_operand): Simplify checks for valid base/index combinations.
Disallow `in 4(%dx),%al'.
* config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
index_reg const.
(add_prefix): Change parameter from char to int.
* config/tc-i386.h (Ugh): Define opcode modifier.
* config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
* config/tc-i386.c (md_assemble): Rewrite MATCH and
CONSISTENT_REGISTER_MATCH macros to check register types more
thoroughly. Check for illegal suffix/operand combinations
when matching insns with operands. Handle new `s' suffix, and
associated FloatMF opcode modifier for float insns with memory
operands.
* config/tc-i386.h (FloatMF): Define new opcode modifier.
(No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
(SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
* config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
DATA_PREFIX_OPCODE throughout.
* config/tc-i386.c (REGISTER_WARNINGS): Define.
(md_assemble): Rewrite suffix/register operand checking code to be
more thorough. Remove Abs8,16,32. Change occurrences of Mem to
AnyMem, the better to grep.
(pi): Remove Abs.
(i386_operand): Don't set Mem bits in i.types[this_operand] when
given a memory operand. Don't set Abs bits either.
(type_names): Remove Mem*, Abs*.
* config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
define opcode_modifiers as these cases are handled by Disp8,
Disp16, Disp32 and suffix checks.
(COMES_IN_BOTH_DIRECTIONS): Remove.
(FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
* config/tc-i386.c (md_assemble): Don't emit operand size prefix
if IgnoreDataSize modifier given. Remove ShortformW modifier
test. Add test for ShortForm in W base_opcode modification.
Merge Seg2ShortForm and Seg3ShortForm code.
* config/tc-i386.h (ShortFormW): Remove.
(IgnoreDataSize): Define.
Nick Clifton [Sat, 6 Jun 1998 00:28:46 +0000 (00:28 +0000)]
sort sections by LMA then VMA.
Nick Clifton [Sat, 6 Jun 1998 00:23:25 +0000 (00:23 +0000)]
Add prototypes for static functions.
Chnage type of addend from long to bfd_vma.
Ian Lance Taylor [Fri, 5 Jun 1998 23:16:49 +0000 (23:16 +0000)]
Fri Jun 5 19:15:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* gas/m68k/operands.s: For all pc relative addresses change tstl
to pea since the former does not allow pcrel on m68000. Do not
make label foo global, so that references to it can be relaxed on
ELF targets.
* gas/m68k/operands.d, gas/m68k/op68000.d: Updated.
Ian Lance Taylor [Fri, 5 Jun 1998 23:15:45 +0000 (23:15 +0000)]
Fri Jun 5 19:15:04 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-opc.c (tstb, tstw, tstl): Don't allow pcrel on
68000/68008/68010.
Doug Evans [Fri, 5 Jun 1998 23:00:19 +0000 (23:00 +0000)]
* configure.tgt (dvp-*-*): Set targ_emul=elf32l5900.
Doug Evans [Fri, 5 Jun 1998 22:58:06 +0000 (22:58 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.*.
Ian Lance Taylor [Fri, 5 Jun 1998 22:44:15 +0000 (22:44 +0000)]
* objcopy.c (setup_section): Adjust the section size if copy_byte
is >= 0.
(copy_section): Do not call bfd_set_section_size.
Ian Lance Taylor [Fri, 5 Jun 1998 22:21:31 +0000 (22:21 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
config.has_shared to true.
* emultempl/linux.em (gld${EMULATION_NAME}_before_parse):
Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_before_parse):
Likewise.
Ian Lance Taylor [Fri, 5 Jun 1998 22:19:09 +0000 (22:19 +0000)]
* aoutx.h (howto_table_ext): Change RELOC_BASE13 to use
complain_overflow_signed instead of complain_overflow_bitfield.
Doug Evans [Fri, 5 Jun 1998 20:57:54 +0000 (20:57 +0000)]
* dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab.
Ian Lance Taylor [Fri, 5 Jun 1998 19:17:08 +0000 (19:17 +0000)]
Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf.c (elf_map_symbols): Don't add section VMA to symbol value
when comparing against 0.
Nick Clifton [Fri, 5 Jun 1998 17:51:58 +0000 (17:51 +0000)]
Fix PR16116 - stoe previous subseg state with prev instructionss.
Martin Hunt [Fri, 5 Jun 1998 07:13:27 +0000 (07:13 +0000)]
Fri Jun 5 00:16:22 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_init): Change all references to
GDBTK_IDE to IDE_ENABLED.
Felix Lee [Fri, 5 Jun 1998 05:47:31 +0000 (05:47 +0000)]
* gdb.fortran/types.exp: don't guess at float size.
Felix Lee [Fri, 5 Jun 1998 04:54:03 +0000 (04:54 +0000)]
* chexp.exp: fix tests that assume >16-bit ints.
This page took 0.040264 seconds and 4 git commands to generate.