aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-15 * config/tc-m68k.c (md_pseudo_table): Add MRI structured controlIan Lance Taylor1-1/+0
directives: if, if.b, if.w, if.l, else, else.s, else.l, endi, break, break.s, break.l, next, next.s, next.l, for, for.b, for.w, for.l, endf, repeat, until, until.b, until.w, until.l, while, while.b, while.w, while.l, endw. (enum mri_control_type): Define. (struct mri_control_info): Define. (mri_control_stack): New static variable. (mri_control_index): New static variable. (mri_control_label): New static function. (push_mri_control, pop_mri_control): New static functions. (parse_mri_condition): New static function. (parse_mri_control_operand): New static function. (swap_mri_condition, reverse_mri_condition): New static functions. (build_mri_control_operand): New static function. (parse_mri_control_expression): New static function. (s_mri_if, s_mri_else, s_mri_endi): New static functions. (s_mri_break, s_mri_next): New static functions. (s_mri_for, s_mri_endf): New static functions. (s_mri_repeat, s_mri_until): New static functions. (s_mri_while, s_mri_endw): New static functions. * gasp.c (mrikinfo): Remove IF. * expr.c (get_symbol_end): Accept \001 as part of a name.
1995-08-15 * remote.c (remote_write_bytes): Chop up large transfers.Steve Chamberlain2-25/+39
1995-08-15* write.c (write_contents): Always do it the BFD_FAST_SECTION_FILL way.Ken Raeburn1-0/+6
Reformat and reindent that code to GNU standards. (BFD_FAST_SECTION_FILL): Don't define.
1995-08-15Departure of gcc.patchStan Shebs1-1/+0
1995-08-15 * gcc.patch: Remove, relevant only to long-ago versions of GCC.Stan Shebs2-80/+8
1995-08-14 * blokcframe.c (inside_main_func): Add comments.Kung Hsu1-0/+2
1995-08-14 * gasp.c (do_align, get_any_string): Mark as static.Ian Lance Taylor2-5/+8
(do_assigna, do_assignc, new_file): Likewise.
1995-08-14 * blockframe.c (inside_main_func): Fix a typo in previous change.Kung Hsu2-1/+3
1995-08-14 * config/tc-m68k.c (s_reg): Rename local op to rop to avoidIan Lance Taylor2-18/+21
confusion with macro op.
1995-08-14 * gas/mri/expr.d: Permit leading zeroes, in case we're using aIan Lance Taylor1-0/+3
64-bit BFD.
1995-08-14 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.Kung Hsu1-0/+2
1995-08-14 * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.Kung Hsu2-104/+97
* blockframe.c (inside_main_func): If main func addr range not set, try to set it now.
1995-08-14 * config/tc-hppa.c (md_apply_fix): Don't try to apply BEGIN_BRTABJeff Law1-0/+5
or END_BRTAB fixups.
1995-08-14 * gasp/mri/*: New tests.Ian Lance Taylor18-10/+230
* gasp/gasp.exp: Run them. Also, clean up the test names used in pass and fail.
1995-08-14 * gasp.c (strip_comments): Comment out; it's not used.Ian Lance Taylor2-207/+355
(do_end): Add parameter. In MRI mode, print it out. (do_irp): New static function. (sub_actual): Change parameter m to formal_hash, changing type from macro_entryh * to hash_table *. (macro_expand_body): New static function, broken out of macro_expand. (macro_expand): Call macro_expand_body. (K_*): Fully parenthesize. (K_IRP, K_IRPC): Define. (mrikinfo): Add IRP and IRPC. (process_pseudo_op): In MRI mode, print out END pseudo-op. Pass line to do_end. Handle K_IRP and K_IRPC.
1995-08-14 * config/tc-m68k.c (s_opt): Reset *input_line_pointer even if weIan Lance Taylor1-0/+2
don't do anything with the option.
1995-08-14 * aoutx.h (NAME(aout,machine_type)): Handle a machine ofIan Lance Taylor1-0/+3
bfd_mach_sparc or bfd_mach_sparc64.
1995-08-14 * elflink.h (elf_link_add_object_symbols): If a symbol is a weakIan Lance Taylor3-19/+84
definition, add it to the dynamic symbol table if any dynamic object mentions it. If we do add it, make sure we add the corresponding real symbol. (elf_adjust_dynamic_symbol): Adjust a weak defined symbol which we put in the dynamic symbol table, even if no regular object refers to it. * elf32-i386.c (elf_i386_check_relocs): When creating a shared library, don't allocate space for a PC relative reloc against a local symbol. * elf32-m68k.c (elf_m68k_check_relocs): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Change assertion to accept symbol with weakdef set. * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): When creating a shared libary, don't copy over a PC relative reloc against a local symbol. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. PR 7711.
1995-08-13 * frags.c (frag_align): Handle absolute_section.Ian Lance Taylor2-0/+10
* write.c (record_alignment): Likewise.
1995-08-13fix up aug 8 log entryKen Raeburn1-2/+2
1995-08-13 * som.h (R_HPPA_BEGIN_BRTAB): Define.Jeff Law1-0/+6
(R_HPPA_END_BRTAB): Likewise. * som.c (som_write_fixups): Handle R_BEGIN_BRTAB and R_END_BRTAB. More PA optimization infrastructure.
1995-08-13 * gas/sh/basic.exp: Update now that we know the rightJeff Law2-4/+11
bit patters for the new sts instructions.
1995-08-13 * config/tc-hppa.c (md_pseudo_table): Add entries forJeff Law2-1/+38
"begin_brtab" and "end_brtab" pseudo-ops. (pa_brtab): New function. (tc_gen_reloc, SOM version): Handle R_BEGIN_BRTAB and R_END_BRTAB. (hppa_force_relocation): Force relocations for BRTAB fixups when OBJ_SOM is defined. More infrastructure for PA optimziations.
1995-08-13 * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.Jeff Law3-0/+7
* config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise. So we can build under aix4 with an ansi compiler (should not effect aix3 since aix3 doesn't have a ptrace prototype).
1995-08-12 * configure.in: Recognize aix4 specially as some aspectsJeff Law15-5/+219
of aix4 need different handling than aix3. * configure: Updated. * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files specific to aix4 support on the power pc. * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do not defined. The aix4 specific target files will do that. * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files specific to aix4 support on the rs6000. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't do the conversion if the pointer is not a magic aix function pointer. * rs6000-tdep.c: Include objfiles.h and symtab.h. (is_magic_function_pointer): New function. * rs6000-tdep.c (skip_prologue): Refine check for frameless functions. Handle b .+4 emitted by aix4 compilers. Only allow one load of a minimal toc pointer. Handle aix4 compiler's code for alloca. * rs6000-tdep.c (find_toc_address): Report an error if no toc was found rather than possibly core dumping. * partial-stab.h: Handle extra field generated by the aix4 compiler for enumerations. * stabsread.c (read_enum_type): Likewise.
1995-08-12 * gdb.base/callfuncs.exp: Add xfails for the powerpc.Jeff Law8-290/+162
* gdb.base/corefile.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/siganls.exp: Likewise. * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4 compiler output. * gdb.base/whatis.exp: Likewise.
1995-08-12 * rs6000-tdep.c (extract_return_value): Fix returning of valuesPeter Schauer2-2/+14
whose length is less than the register size for big endian targets.
1995-08-12For Sega/Hitachi, when simulator exits, check to see if it was becauseJim Wilson1-7/+20
of a signal.
1995-08-12* Makefile.in (TE_OBJS): Add empty definition.Ken Raeburn1-0/+4
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.