aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-11 * gasp.c (change_base): Don't treat ' specially in MRI mode.Ian Lance Taylor3-115/+641
(process_file): Don't warn about missing END in MRI mode. (do_if): New static function. (get_mri_string, do_ifc): New static functions. (buffer_and_nest): Treat MRI mode like alternate syntax mode. (do_aendr): Change error message in MRI mode. (do_arepeat): Use REPT/ENDR in MRI mode. (do_formals): In MRI mode, add special NARG formal. (macro_expand): Various changes for MRI mode: permit a qualifier on the macro name; set special NARG formal; permit unnamed positional arguments; use && to concatenate named parameters; permit \d to specify an unnamed parameter; permit named parameters to not start with \; use == to see if a parameter exists. (getstring): In MRI mode, allow <> to quote a string. (K_IFEQ, K_IFNE, K_IFLT, K_IFLE, K_IFGE, K_IFGT): Define. (K_IFC, K_IFNC): Define. (struct keyword): Name structure used in kinfo array. (mrikinfo): New static array. (process_pseudo_op): Don't require leading '.' in MRI mode. Handle new MRI pseudo-op definitions. (add_keyword): New static function, broken out of process_init. (process_init): Use add_keyword. In MRI mode, add mrikinfo table. (long_options): Add "mri". (show_usage): Mention -M/--mri. (main): Call process_init after processing arguments. Handle -M. * doc/gasp.texi: Document -M/--mri.
1995-08-11 * config.guess: Merge with FSF:Per Bothner2-24/+98
Wed Jun 28 17:57:27 1995 David Edelsohn <edelsohn@mhpcc.edu> * config.guess (AIX4): More robust release numbering discovery. Thu Jun 22 19:01:24 1995 Kenneth Stailey (kstailey@eagle.dol-esa.gov) * config.guess (i386-sequent-ptx): Properly get version number. Thu Jun 22 18:36:42 1995 Uwe Seimet (seimet@iris1.chemie.uni-kl.de) * config.guess (mips:*:4*:UMIPS): New case.
1995-08-11 * nm.c (main): Ignore -e.Ian Lance Taylor1-0/+4
PR 6758.
1995-08-11 * symtab.c (list_symbols): if break command set breakpoint on matchedKung Hsu2-1/+13
symbol.
1995-08-11 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect aJeff Law2-4/+7
failure (opcode table has been fixed to match reality).
1995-08-11Allow large addends for BFD_RELOC_{LO16,HI16,HI16_S} relocs.Michael Meissner2-1/+11
1995-08-11 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail forFred Fish8-65/+162
"backtrace through signal handler" to "i*86-*-sysv4*". * gdb.base/signals.exp: Add xfail for "'next' behaved as continue" case. Add "known SVR4 bug" to fail message. Add "i*86-*-bsdi2.0" xfail for "handle all print". Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1". * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for "whatis unnamed typedef'd enum..." and "ptype t_char_array". * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for "up to foo in langs.exp", "show language at foo in langs.exp", "up to cppsub_ in langs.exp", "show language at cppsub_ in langs.exp", "up to fsub in langs.exp", and "show language at fsub in langs.exp". * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for "bactrace in corefile.exp". * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for "call inferior function with struct - returns float" and "call inferior function with struct - returns double".
1995-08-11 * defs.h (strchr, strrchr, strstr, strtok, strerror): Enclose inFred Fish1-0/+5
#ifndefs to protect against previous definitions as macros. * HOW_TO_RELEASE: Continue updating...
1995-08-11* read.c (s_mri_sect) [BFD_ASSEMBLER]: Fix typos in choosing and settingKen Raeburn1-0/+5
section flags.
1995-08-10put version number into doc from makefileKen Raeburn2-2/+11
1995-08-10 * doc/as.texinfo: Add documentation for MRI compatibility mode.Ian Lance Taylor3-3421/+138
* doc/as.1: Likewise.
1995-08-10 * coffgrok.c (do_type): Handle array dimensions the same way gdbIan Lance Taylor1-1/+6
does.
1995-08-10 * coffswap.h (coff_swap_aux_in): Swap the array dimensionsIan Lance Taylor1-0/+7
whenever x_fcnary is not being used for something else, rather than only for an array. (coff_swap_aux_out): Likewise. PR 7373.
1995-08-10 * config/tc-m68k.c (m68k_ip): When recognizing '#', use isbyte andIan Lance Taylor3-6/+17
iword rather than expr8 and expr16. When recognizing 'M', use issbyte rather than expr8. When recognizing 'Q' and 't', just check for O_constant rather than using expr8. * config/m68k-parse.h (expr8, expr16): Don't define. * Makefile.in (m68k-parse.o): Depend upon m68k-parse.h, not m68k-parse.y.
1995-08-10 * read.c (potable): Add spc, ttl, xcom, xref.Ian Lance Taylor3-0/+191
(s_mri_sect): New function. * read.h (s_mri_sect): Declare. * config/obj-coff.c (obj_coff_section) (both versions): In MRI mode, call s_mri_sect. (obj_pseudo_table): Add sect.s and section.s. Move sect outside of ifndef BFD_ASSEMBLER. * config/obj-elf.c (elf_pseudo_table): Add section.s, sect, sect.s. (obj_elf_section): In MRI mode, call s_mri_sect. * config/tc-m68k.c (md_pseudo_table): Add restore, save. (struct save_opts): Define. (save_stack): New static variable. (s_save, s_restore): New static functions.
1995-08-10 * gas/mri/char.d: Fix for little endian machines.Ian Lance Taylor1-0/+5
* gas/mri/float.d: Likewise.
1995-08-10 * read.c (s_set): Remove unused local ptr.Ian Lance Taylor6-4/+40
(hex_float): Check target_big_endian. (equals): Remove unused local p. * config/tc-a29k.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-h8500.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-hppa.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-i860.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-m68k.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-m88k.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-tahoe.h (TARGET_BYTES_BIG_ENDIAN): Define. * config/tc-sh.c (little): Set target_big_endian. (md_begin): Likewise. (md_parse_option): Likewise. (build_relax): Check target_big_endian rather than shl. (build_Mytes, md_atof): Likewise. (md_convert_frag, md_apply_fix): Likewise. (md_number_to_chars): Likewise.
1995-08-09 * config/tc-m68k.c (m68k_abspcadd): New static variable.Ian Lance Taylor2-5/+400
(m68k_quick): New static variable. (m68k_rel32): New static variable. (md_pseudo_table): Add opt and reg. (m68k_ip): Permit absolute symbols in 'l'/'L' recognition. Check m68k_quick in 'M' and 'Q' recognition. Check m68k_abspcadd in DISP handling. Check m68k_rel32 in BASE/POST/PRE handling. (md_begin): In MRI mode, initialize m68k_abspcadd and m68k_rel32. In MRI mode, change unsized branch aliases to be variable sized. (struct opt_action): Define. (opt_table): Define. (s_opt): New static function. (skip_to_comma): New static function. (opt_chip): New static function. (opt_list): New static function. (opt_list_symbols): New static function. (s_reg): New static function. * as.h (flag_keep_locals): Change from unsigned char to int. (flag_no_warnings): Likewise.
1995-08-09 * read.c (mri_line_label): Make non-static.Ian Lance Taylor2-1/+17
(potable): Add nopage, page, plen. (s_org): Error if in MRI mode. * read.h (mri_line_label): Declare. * listing.c (listing_nopage): New function. * listing.h (listing_nopage): Declare.
1995-08-09 * symbols.c (symbol_begin): Set sy_frag of abs_symbol toIan Lance Taylor1-0/+1
&zero_address_frag.
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.