aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-09 * xcoffread.x (xcoff_symfile_offset): Revert an unwanted change getsKung Hsu2-1/+6
in accidentally from Aug 1 checkin.
1995-08-09 * remote-hms.c (hms_cmds): Get reg term right.Steve Chamberlain3-6/+25
* monitor.c (monitor_fetch_register): If we see a non-hex digit, just stop reading. * remote.c (remote_wait): Change way $O is handled.
1995-08-09 * gas/all/struct.s, gas/all/struct.d: New test.Ian Lance Taylor4-0/+25
* gas/all/gas.exp: Run it.
1995-08-09 * read.c (abs_section_offset): New global variable.Ian Lance Taylor3-108/+379
(potable): Add offset, struct. (do_org): New static function; handle changing the origin in the absolute section. (s_org): Use do_org. (s_set): Likewise. (equals): Likewise. (s_space): In absolute_section, just increase abs_section_offset. (s_struct): New function. (emit_expr): Handle absolute_section specially. * read.h (abs_section_offset): Declare. (s_struct): Declare. * read.c (potable): Add ifeq, ifge, ifgt, ifle, iflt, ifne. Change if to pass O_ne to s_if. (read_a_source_file): Don't define an label without a colon if ignore_input returns true. * read.c (potable): Add dcb, dcb.b, dcb.d, dcb.l, dcb.s, dcb.w, dcb.x, ds.d, ds.p, ds.s, ds.x, elsec, endc, fail, format, llen, noformat. (read_a_source_file): If pseudo-op handler is s_end, quit immediately. (s_end): New function. (s_fail): New function. (s_float_space): New function. (hex_float): New static function. (float_cons): Use hex_float. * read.h (s_fail): Declare. (s_float_space): Declare.
1995-08-09 * write.c (adjust_reloc_syms): Check that symbol is not NULLIan Lance Taylor2-3/+5
before checking sy_mri_common. (fixup_segment): Likewise. * config/obj-coff.c (fixup_segment): Likewise.
1995-08-09 * frags.c (frag_more): Warn if in absolute_section.Ian Lance Taylor1-0/+8
(frag_now_fix): In absolute_section, return abs_section_offset. * subsegs.c (subseg_change): If switching to absolute_section, just set now_seg and now_subseg. (subseg_set_rest): Special handling when switching to or from absolute_section.
1995-08-09 * config/tc-m68k.c (m68k_float_copnum): New static variable.Ian Lance Taylor2-11/+40
(md_pseudo_table): Add fopt and mask2. (m68k_ip): Use m68k_float_copnum, not COPNUM, when setting coprocessor register to use. In case 'I' when checking operands, correct coprocessor register numbers. In case 'I' when setting operands, don't add 1. (s_fopt): New static function. * config/m68k-parse.h (COPNUM): Don't define.
1995-08-09 * listing.c (listing_psize): Treat argument as indicating whetherIan Lance Taylor1-14/+23
a height is expected.
1995-08-09Fix typo in changelog entry.Jeff Law1-1/+1
1995-08-09 * configure.in (powerpc-*-aix*): Recognize as a new gdb hostJeff Law8-13/+200
and target. (powerpc-*-eabi*): Don't set configdirs. (powerpcle-*-eabi*0: Likewise. * configure: Updated. * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is defined. * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments for powerpc running aix4. * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target and host include files for powerpc running aix4. More of Mike's powerpc work + minor changes.
1995-08-09Add ChangeLog entry for accidental checkin of read.c.Ian Lance Taylor1-0/+4
1995-08-09 * top.c (target_output_hook): Really make it match defs.h (char *Stan Shebs2-1/+6
is not the same as unsigned char *).
1995-08-09 * configure.in: Move random special target handling beforeIan Lance Taylor2-0/+42
possible break. * configure: Rebuild.
1995-08-09Tue Aug 8 23:41:25 1995 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor4-35/+43
* configure.in: Consistently use ${target_cpu_type} rather than ${cpu_type} after the loop. * configure: Rebuild. * Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than @cpu_type@.
1995-08-09* expr.h (operatorT): Remove comma after last enumerator value.Ken Raeburn1-1/+3
1995-08-09yet more vms work from pat rankinKen Raeburn2-153/+119
1995-08-09* as.h (alloca): If __STDC__, declare void* instead of char*.Ken Raeburn2-1/+15
1995-08-09 * dlltool.c (mtable): New fields.Steve Chamberlain2-11/+67
(ASM_RVA_BEFORE, ASM_RVA_AFTER): New. (flush_page, gen_lib_file): Use new macros.
1995-08-08Tue Aug 8 16:34:57 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+7
* cofflink.c (_bfd_coff_generic_relocate_section): Remove most of special case stuff for PE. Now handled by relocs. * coff-i386.c (coff_i386_reloc): Special case of PE type 7s. (howto_table): Type 7 is dir32-rva.
1995-08-08* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc instead ofKen Raeburn1-0/+5
alloca.
1995-08-08* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't useJ.T. Conklin2-13/+33
$r/../gcc/xgcc unless it is present.
1995-08-08* Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgccJ.T. Conklin2-18/+25
unless it is present.
1995-08-08 * binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks*Ian Lance Taylor2-2/+35
for simple copy test.
1995-08-08 * config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,Ian Lance Taylor2-2/+74
68ec020, 68ec030, 68ec040, and 68330. (md_pseudo_table): Add chip and comline. (m68k_init_after_args): Use strcasecmp when comparing default_cpu against architectures. (mri_chip, s_chip): New static functions.
1995-08-08 * gas/mri/common.s, gas/mri/common.d: New test.Ian Lance Taylor5-0/+35
* gas/mri/mri.exp: Run it.
1995-08-08 * struc-symbol.h (struct symbol): Add sy_mri_common bit.Ian Lance Taylor9-264/+696
* read.h (mri_comon_symbol): Declare. (s_mri_common): Declare. * read.c (mri_line_label): New static variable. (mri_common_symbol): New global variable. (potable): Add "common" and "common.s". (read_a_source_file): In MRI mode, set mri_line_label for a label at the start of a line. (s_mri_common): New function. (s_space): Handle mri_common_symbol. * symbols.c (colon): Change return value from void to symbolS *, and return new symbol. If mri_common_symbol is set, attach the new symbol to it. (resolve_symbol_value): Handle an sy_mri_common symbol. * symbols.h (colon): Change return value in declaration. * subsegs.c (subseg_set_rest): Clear mri_common_symbol. (subseg_set (both versions)): Likewise. * frags.c (frag_more): Warn if mri_common_symbol is not NULL. * write.c (adjust_reloc_syms): Skip sy_mri_common symbols. (write_object_file): Discard sy_mri_common symbols. (fixup_segment): Change relocations against sy_mri_common symbols to be against the common symbol itself. * config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols. (fixup_segment): Change relocations against sy_mri_common symbols to be against the common symbol itself. * config/obj-aout.c (obj_crawl_symbol_chain): Discard sy_mri_common symbols.
1995-08-08 * top.c (target_output_hook): Make declaration match the oneJeff Law2-1/+4
in defs.h.
1995-08-08 * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.Jeff Law1-0/+6
(add_psymbol_addr_to_list): Likewise. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
1995-08-08 * configure.host: Recognize aix4 explicitly.Jeff Law3-0/+34
* rs6000-core.c (CORE_DATA_SIZE_FIELD): New macro to get a the size of a core dump's data section. Provide alternate definition for aix4. (SAVE_FIELD): Similarly for save state field (register info). (STACK_END_ADDR): Provide definition suitable for aix4. * config/{aix4.mh,aix4.mt}: New configuration files. * hosts/aix4.h: Likewise. Mike's aix4 changes, slightly modified.
1995-08-08 * doc/c-m68k.texi: Add documentation for CPU specific options, andIan Lance Taylor1-0/+3
for Motorola syntax.
1995-08-08 * config/m68k-parse.y (motorola_operand): For (%pc), set mode toIan Lance Taylor1-0/+5
DISP, not BASE.
1995-08-08* write.c (relax_align): Add extra padding for linkrelax only ifKen Raeburn2-3/+30
LINKER_RELAXING_SHRINKS_ONLY is defined. * config/tc-i960.h (LINKER_RELAXING_SHRINKS_ONLY): Define it. * doc/internals.texi (Relaxation): Write up some stuff on linker relaxing and LINKER_RELAXING_SHRINKS_ONLY.
1995-08-08 * gas/mri/mri.exp: Add setup_xfail for a29k*-*-* for constantsIan Lance Taylor2-0/+4
test.
1995-08-08 * gasp/crash1.out, gasp/macro.out, gasp/sfunc.out: CompleteIan Lance Taylor4-1/+272
truncated files, so that the tests pass.
1995-08-08Move testsuite ChangeLog entries to testsuite/ChangeLog.Ian Lance Taylor2-4/+6
1995-08-08 * gas/mri/mri.exp: Add setup_xfail for hppa*-*-* for equ,Ian Lance Taylor2-0/+15
constants, and expr.
1995-08-08 * gas/m68k/all.exp: Run schwab test on hpux*, not just hpux. RunIan Lance Taylor2-1/+4
on vxworks*, not just vxworks5.1.
1995-08-08 * som.c (som_bfd_copy_private_symbol_data): Cast initializationsIan Lance Taylor2-2/+7
to avoid warnings.
1995-08-08 * lib/gas-defs.exp (fail_phase, pass_phase): Remove.Ian Lance Taylor1-0/+3
(run_dump_test): Just call pass or fail.
1995-08-08 * gas/m68k/operands.s, gas/m68k/operands.d: New test.Ian Lance Taylor11-40/+889
* gas/m68k/op68000.d: New test. * gas/m68k/cas.s, gas/m68k/cas.d: New test. * gas/m68k/bitfield.s, gas/m68k/bitfield.d: New test. * gas/m68k/schwab.d: Run objdump with -j .text. Adjust for changes to disassembler. * gas/m68k/all.exp: Run new tests. Run schwab test for m68k-*-coff*.
1995-08-08 * config/m68k-parse.y: New file: bison grammar for m68k operands,Ian Lance Taylor8-1732/+1953
including support for Motorola syntax. * config/m68k-parse.h: New file; definitions shared between m68k-parse.y and tc-m68k.c. * config/tc-m68k.c: Include m68k-parse.h. (enum operand_type): Move to m68k-parse.h, where it is named m68k_operand_type. Rename all uses. Rearrange somewhat. Add FPREG. Rename AOFF to DISP. Rename AINDX to BASE. Rename APODX to POST. Rename APRDX to PRE. Remove AMIND. Rename MSCR to CONTROL. Remove DINDR. (struct m68k_exp): Move to m68k-parse.h. Remove e_beg, e_end and e_seg fields. Rename e_exp to exp. Rename e_siz to size, and change type to enum m68k_size. Change all uses. (enum _register): Move to m68k-parse.h, where it is named m68k_register. Rename all uses. Add ZDATA0-7 and ZADDR0-7. (struct m68k_op): Move to m68k-parse.h. Change all fields. (seg): Don't define. (add_exp): Remove. (FAIL, OK): Remove. (m68k_reg_parse): Move to m68k-parse.y, and rewrite. (SKIP_WHITE, SKIP_W): Remove. (try_moto_index, try_index): Remove. (m68k_ip_op): Move to m68k-parse.y, and rewrite to use grammar. (main): Remove obsolete test function. (m68k_ip): Extensive changes to use new grammar. (get_regs): Remove. (crack_operand): m68k_ip_op now returns 0 on success. (init_table): Add ssp, zd0-7 and za0-7. (md_assemble): Make er const. Correct loop over operands when looking for error message. (md_begin): Set alt_notend_table for '(' and '@'. (get_num): Expression is already parsed. Don't set seg. * configure.in: If cpu_type is m68k, put m68k-parse.o in extra-objects. * configure: Rebuild. * Makefile.in (DISTSTUFF): Add m68k-parse.c. (BISON): Use ../bison/bison if it exists. (BISONFLAGS): Define as empty. (TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h. (m68k-parse.c, m68k-parse.o): New targets.
1995-08-07 * top.c (target_output_hook): New definition.Steve Chamberlain2-0/+7
1995-08-07 * stack.c (gdb_string.h): Include after defs.hSteve Chamberlain2-6/+27
* defs.h (target_output_hook): New declaration. * source.c (mod_path): Fix Win32 \ handling.
1995-08-07 * som.c (som_decode_symclass): Handle absolute symbols by checkingJeff Law2-5/+35
the SOM type (since they will rarely if ever be in the absolute section). Something Ian noticed.
1995-08-07 * m68k-dis.c: (fpcr_names): Add % before all register names.Ian Lance Taylor1-0/+17
(reg_names): Likewise. (print_insn_arg): Don't explicitly print % before register names. Add % before register names in static array names. In case 'r', print data registers as `@(Dn)', not `Dn@'. When printing a memory address, don't print @# before it. (print_indexed): Change base_disp and outer_disp from int to bfd_vma. Print using MIT syntax, not mutant invalid Motorola syntax. Sign extend 8 byte displacement correctly. (print_base): Print using MIT syntax. Print zpc when appropriate. Change parameter disp from int to bfd_vma.
1995-08-07 * configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu).David Edelsohn1-2/+2
(i386-win32 host): Likewise. Don't build readline.
1995-08-07 * gas/sh/*: New tests for the hitachi-sh.Jeff Law5-0/+161
Sanitized away for now...
1995-08-07 * config/tc-sh.c (parse_reg): Handle new FP registers.Jeff Law4-210/+611
(get_specific): Handle new operand types. Sanitized away for now.
1995-08-07 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.Jeff Law7-1/+241
* gdb.disasm/sh3.exp: Run the sh3 disassembler tests. * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment. * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests. sh3e disassembler tests. Sanitized out for now.
1995-08-07 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,Jeff Law3-8/+141
F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N. * sh-opc.h (sh_arg_type): Add new operand types. (sh_table): Add new opcodes from SH3E Floating Point ISA. sh3e stuff. Sanitized out for now.