aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-08-25Only build PowerPC simulator if target is powerpc*-*-eabisimMichael Meissner9-38/+104
1995-08-25 * gasp.c (as_abort): New function.Ian Lance Taylor2-0/+18
* sb.c (sb_build): Revert yesterday's patch.
1995-08-25 * Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.Ian Lance Taylor1-0/+5
Just link against libiberty, not against $(LIBS).
1995-08-24Add powerpc*-eabisim support.Michael Meissner1-0/+69
1995-08-23 * ecoff.c (_bfd_ecoff_slurp_symbolic_info): Add parentheses to FIXIan Lance Taylor1-0/+5
expression to avoid compiler bug on HP-UX 9.01.
1995-08-23 * sb.c (sb_build): Undefine abort before calling it, since gaspIan Lance Taylor2-0/+6
does not provide as_abort.
1995-08-23Add PowerPC simulator from Andrew Cagney <cagney@highland.com.au>Michael Meissner36-20/+9971
1995-08-23Link in PowerPC simulator.Michael Meissner3-0/+14
1995-08-23 * coffcode.h (pe_value): Unansify.Steve Chamberlain1-0/+4
1995-08-23Add support for -disable switches in PowerPC multilibsMichael Meissner2-0/+138
1995-08-23Fix -mlittle/-mbig so that it really does override the default endianessMichael Meissner1-0/+8
1995-08-22 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before runJeff Law2-0/+9
test for PRO targets.
1995-08-22 * Makefile.in (install): Remove "brokensed" hack, unnecessary nowJeff Law2-1/+6
that we're using autoconf.
1995-08-22Tue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+6
* scripttempl/pe.sc: Keep .edata, don't base stabs at 0. * emulparams/armpe.sh: Run PE script.
1995-08-22 * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.Jeff Law1-0/+2
1995-08-22 * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-floatJeff Law2-3/+16
calling conventions too. Use the TYPE of the return value, not its length to determine if it should also be copied into the floating point registers.
1995-08-22 * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete. Causes moreJeff Law3-8/+32
problems than it fixes. * hppa-tdep.c (skip_prologue): If we exit the main loop without finding all the register saves, retry again without looking for the registers we could not find the first time. Better fix for 7768.
1995-08-22new routine xstrerror for better vms error handling; gas fixed to use itKen Raeburn1-0/+4
1995-08-22vms changesKen Raeburn3-568/+378
1995-08-22turn on -O2Steve Chamberlain1-0/+1
1995-08-22 (coff_write_object_contents): Initialze link_data if not set.Steve Chamberlain2-3/+14
1995-08-22Opps. Fix thinko in last change.Jeff Law1-7/+7
1995-08-22 * gdb.base/funcargs.exp: Avoid ever setting more than 8Jeff Law2-7/+26
breakpoints in the inferior at any given time by making two groups of breakpoints for call2*, call6* and call7* tests.
1995-08-22 * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"Jeff Law2-1/+17
calls "main" directly. (skip_prologue): Always assume arguments were saved into the stack since GCC will do so without setting the magic Args_Saved bit in the unwind descriptor.
1995-08-22Mon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+5
* ldmain.c (main): Remove PE stuff. * lexsup.c (options): Load more PE options. (set_pe_value): New function.
1995-08-22 * dlltool.c (options): image-base is a synonym for rva.Steve Chamberlain2-2/+7
1995-08-22 * ldmain.c (main): Remove PE stuff.Steve Chamberlain1-88/+152
* lexsup.c (options): Load more PE options. (set_pe_value): New function.
1995-08-22 * libcoff-in.h (coff_data_type.link_info): New field.Steve Chamberlain1-1/+1
1995-08-22 * internal.h: (internal_filehdr): Moved PE stuff intoSteve Chamberlain1-0/+12
internal_extra_pe_filehdr. (internal_aouthdr): Moved PE stuff into interanl_extra_pe_aouthdr. * bfdlink.h (struct bfd_link_info): Remove PE stuff.
1995-08-22Mon Aug 21 17:49:28 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-215/+366
* bfd-in.h (bfd_link_subsystem): Turn enum into #defines. (bfd_link_pe_info_dval): New (bfd_link_stack_heap): Renamed and massaged into bfd_link_pe_info. * bfd-in2.h: rebuilt. * bfd.c (NT_subsystem, NT_stack_heap): Deleted. * coffcode.h (pe_value): New function. (fill_pe_header_info): New function. (coff_write_object_contents): Use new function. * cofflink.c (coff_final_link_info): Remove pe randomness. (dores_com): Update info in bfd_link_pe_info_dval. (process_embedded_commands): Use the bfd_link_pe_info_dval. (_bfd_coff_final_link): Remove PE stuff, initialize coff_data->link_info. * coffswap.h (coff_swap_[aout|filehdr]_out): Use indirect PE pointer. (coff_swap_scnhdr_out): Use real imagebase. * libcoff (coff_data_type.link_info): New field.
1995-08-21 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,Ian Lance Taylor2-0/+1966
and likewise for the other branches. Add bhs as an alias for bcc, and likewise for the size variants. Add dbhs as an alias for dbcc.
1995-08-21 * as.c (parse_args): Accept --defsym SYM=VALUE.Ian Lance Taylor2-1/+29
* doc/as.texinfo, doc/as.1: Document --defsym.
1995-08-21 * read.c (read_a_source_file): In MRI mode, don't end theIan Lance Taylor2-11/+79
statement inside a quotation. (s_space): Don't warn about a zero repeat count in MRI mode. * config/tc-m68k.c (crack_operand): In MRI mode, don't count parentheses inside quotes. (md_assemble): In MRI mode, anything after the operands field is a comment. (parse_mri_control_operand): Adjust start and stop to remove spaces. (s_mri_for): Likewise.
1995-08-21 * app.c (do_scrub_next_char): If LEX_IS_STRINGQUOTE orIan Lance Taylor1-2/+16
LEX_IS_ONECHAR_QUOTE is seen in state 10, preserve one space.
1995-08-21 * remote-udi.c (udi_wait): Mask off high bits of stop reason.Kung Hsu2-2/+9
* remote-udi.c (fetch_register): For unfetchable regs, pretend it's done. Fix a bug.
1995-08-21 * gas/macros/*: New tests for macros.Ian Lance Taylor14-0/+139
1995-08-21 * gasp/pl3.out: Update for changes in commented source output whenIan Lance Taylor1-26/+26
LOCAL is used.
1995-08-21 * doc/as.texinfo: Document irp, irpc, macro, and rept. MRI modeIan Lance Taylor2-13/+181
now supports macros, ifc, ifnc, irp, irpc, rept, and endr, without using gasp.
1995-08-21 Add support for macros.Ian Lance Taylor12-1394/+1098
* as.c: Include sb.h and macro.h. (max_macro_next): New global variable. (main): Call macro_init. (macro_expr): New static function. * as.h (max_macro_nest): Declare. * read.c (line_label): Rename from mri_line_label. Change all uses. (potable): Add exitm, irp, irpc, macro, mexit, rept. (read_a_source_file): Always clear line_label at the start of a line, not just when flag_mri or LABELS_WITHOUT_COLONS. Fixup MRI/LABELS_WITHOUT_COLONS handling. In MRI mode, permit label: equ val. Set line_label when calling colon. In MRI mode, a leading '.' does not imply a pseudo-op. Check for macro expansion before calling md_assemble. (s_irp): New function. (get_line_sb): New static function. (s_macro): New function. (s_mexit): New function. (s_rept): New function. * read.h (line_label): Rename from mri_line_label. (s_irp, s_rept): Declare. (s_macro, s_mexit): Declare. * input-scrub.c: Include sb.h. (sb_index, from_sb): New static variables. (macro_nest): New static variable. (struct input_save): Add sb_index and from_sb fields. Change next_saved_file field to be struct input_save *. (next_saved_file): Changed to be struct input_save *. (input_scrub_push): Change to return type struct input_save *. Save sb_index and from_sb. (input_scrub_pop): Change parameter type to struct input_save *. Restore sb_index and from_sb. (input_scrub_include_sb): New function. (input_scrub_next_buffer): Handle reading from from_sb. (bump_line_counters): Only increment lines if not using from_sb. * config/tc-m68k.c (opt_table): Add nest. (opt_nest): New static function. * gasp.c: Include sb.h and macro.h. Move all sb related functions and definitions to sb.h and sb.c. Move all macro related functions and definitions to macro.h and macro.c. * sb.h, sb.c: New files, extracted from gasp.c. * macro.h, macro.c: Likewise. * Makefile.in (OBJS): Add sb.o and macro.o (GASPOBJS): Define. (gasp.new): Depend upon $(GASPOBJS). Use $(GASPOBJS) to link. (TARG_CPU_DEP_m68k): Depend upon subsegs.h. (gasp.o): Depend upon sb.h and macro.h. (sb.o): New target. (macro.o): New target. (as.o): Depend upon sb.h and macro.h. (input-scrub.o): Depend upon sb.h. (read.o): Depend upon sb.h and macro.h.
1995-08-21 * app.c (do_scrub_begin): In MRI mode, set lex of ' toIan Lance Taylor1-16/+26
LEX_IS_STRINGQUOTE.
1995-08-21 * cond.c (get_mri_string): New static function.Ian Lance Taylor1-187/+256
(s_ifc): New function.
1995-08-21Allow @HA, @L, and @H on constant expressions.Michael Meissner2-11/+75
1995-08-21 * linker.c (link_action): If an undefined reference follows anIan Lance Taylor2-1/+10
undefined weak reference, change the type to undefined. * elflink.h (elf_link_add_archive_symbols): Don't record an undefined weak reference as defined, in case it turns into a real undefined reference later in the same archive.
1995-08-21 * Makefile.in (install): Remove "brokensed" hack, unnecessary nowJeff Law1-0/+6
that we're using autoconf. (uninstall): Likewise.
1995-08-20 * config/tc-arm.c (md_reloc_size): Add const to declaration.Jim Wilson1-0/+4
1995-08-20Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-125/+374
Modified to generate archives and objects rather than .s files. * dlltool.c (run) New function. (gen_exp_file, gen_lib_file): Use run. (workout_prefix): New. (usage): Document new options. (main): Parse new options.
1995-08-20 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.Peter Schauer3-17/+16
* gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc from optimizing it away. * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for "call inferior func with struct".
1995-08-20Wire up the breakpoint window so that it works. Also, fix a typo thatMichael Tiemann2-7/+33
kept the breakpoints in the source window from updating when enabled or disabled.
1995-08-19 * gasp/gasp.exp (gasp_test): Call prune_system_crud on the outputIan Lance Taylor2-0/+9
of diff. * lib/gas-defs.exp: Define prune_system_crud if it is not already defined.
1995-08-19 * gdbtypes.c (recursive_dump_type): Add dont_print_type_obstackPeter Schauer2-1/+36
to inhibit infinite recursion when printing aggregate types.