aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-09-14 * expr.c (expr): Don't reduce the difference of two symbols in theJeff Law2-1/+6
same frag if the symbols are not in normal sections.
1994-09-14 * config/obj-som.h (S_SET_OTHER, S_SET_TYPE): Delete a.out crud.Jeff Law2-84/+98
(S_SET_DESC, S_GET_OTHER, S_GET_TYPE, S_GET_DESC): Likewise. (obj_attach_unwind_info): Do not define. Not needed anymore. * config/tc-hppa.c: Delete whitespace at EOL. (struct hppa_fix_struct): Delete fx_unwind field and all references. (fix_new_hppa): Last arg is now a pointer to an int. Do not call obj_attach_unwind_info anymore. For SOM R_ENTRY and R_EXIT fixups, store 32bits of unwind information in the fx_addnumber field of the fixup. (md_assemble, pa_entry, process_exit, pa_procend): For SOM R_ENTRY and R_EXIT fixups, pass a NULL pointer to fix_new_hppa, and a pointer to 32 bits of unwind info. (tc_gen_reloc): For SOM R_ENTRY and R_EXIT fixups, set the symbol pointer to the dummy symbol; set the addend field to fx_addnumber. (pa_comm, pa_equ, pa_type_args, pa_import): Use bfd_XXX_section_ptr rather than &bfd_XXX_section.
1994-09-14386_GOTPC fix from ericyKen Raeburn1-0/+4
1994-09-14Some Vax and VMS bug fixes from Pat Rankin.Ken Raeburn3-12/+40
1994-09-14Do unlink/delete test properly.Ken Raeburn8-94/+54
Replace HO_VMS tests with VMS.
1994-09-14Tue Sep 13 16:45:08 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain1-0/+9
* config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSET is defined, put the tx_offset into the r_offset. * config/tc-sh.c (line_comment_chars): Add # (tc_reloc_mangle): Deleted. * config/tc-sh.h (TC_KEEP_FX_OFFSET): Define. (TC_RELOC_MANGLE): Delete.
1994-09-13 * config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSETSteve Chamberlain1-1/+1
is defined, put the tx_offset into the r_offset. * config/tc-sh.c (line_comment_chars): Add # (tc_reloc_mangle): Deleted. * config/tc-sh.h (TC_KEEP_FX_OFFSET): Define. (TC_RELOC_MANGLE): Delete.
1994-09-13Use EXIT_SUCCESS and EXIT_FAILURE in all exit calls.Ken Raeburn8-47/+92
Use exit rather than returning from main, for consistency on VMS. Call as_fatal instead of as_bad or as_warn followed by exit.
1994-09-13* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall): RewriteKen Raeburn7-212/+287
handling of program_transform_name. * configure.in: Test for "unlink" and "delete", define USE_DELETE_FOR_UNLINK if only the latter is found. Not expected to be triggered on UNIX/POSIX systems. * acconfig.h (USE_DELETE_FOR_UNLINK): Undef here, provide comments. Update for autoconf 1.118: * gdbinit.in: New file, created from old .gdbinit. * .gdbinit: Deleted. * aclocal.m4 (GAS_GDBINIT): Deleted. * configure.in: Don't use it. Instead, generate .gdbinit from gdbinit.in. Don't substitute cpu_type, obj_format, emulation, atof. Switched order of AC_LINK_FILES arguments. Use AC_PREREQ to ensure that older versions of autoconf aren't used. * Makefile.in: Added @configure_input@ line. (configure): Deleted rule. [regenerated conf.in, configure]
1994-09-13 * config/obj-coff.c (fixup_segment): After handling the differenceIan Lance Taylor2-0/+7
of two symbols from the same segment, set fx_subsy to NULL, to satisfy existing TC_COUNT_RELOC macros.
1994-09-13 gasp.texi: a few edits thanks to crashJeffrey Osier1-5/+3
1994-09-13Generate .gdbinit file:Ken Raeburn4-55/+95
* aclocal.m4 (GAS_GDBINIT): New macro. * configure.in: Use it. * configure: Regenerated. (using autoconf-1.117)
1994-09-13 * gas/hppa/reloc/r_no_relocbug.s: New test.Jeff Law4-0/+99
* gas/hppa/reloc/reloc.exp: Run it. * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update expected output.
1994-09-13PIC enhancements just checked in (based on work of Paul Kranenburg and EricKen Raeburn1-0/+64
Youngdale). New debugging code for .gdbinit. "this file generated..." msg in config.h.
1994-09-13* tc-i386.c (TC_RELOC): New macro.Ken Raeburn1-24/+232
(struct _i386_insn): New field disp_reloc. (GOT_symbol): New variable. (operand_special_chars): Added square-brackets and at-sign. (reloc) [BFD_ASSEMBLER]: Added new argument OTHER; if it is not NO_RELOC, just return it. (reloc) [! BFD_ASSEMBLER]: Add third argument to dummy macro. (BFD_RELOC_386_PLT32, _GOT32, _GOTOFF) [! BFD_ASSEMBLER]: More dummy macros. (tc_i386_fix_adjustable): New function. Returns zero if symbol in fixup is not local, to prevent relocations against externals from being dropped. (md_assemble): Initialize disp_reloc field to NO_RELOC. Pass disp_reloc field to reloc() function, and use TC_RELOC to generate value to pass to fix_new_exp. (md_assemble): Change 32-bit reloc against GOT_symbol into a GOTPC reloc. (i386_operand): Initialize disp_reloc field to NO_RELOC. Handle @GOTOFF, @PLT, @GOT operands. For GOTOFF relocations with local symbols, force generation of the section symbol. (md_estimate_size_before_relax): If GOT_symbol exists, decide we're generating PIC code, and convert relocations against undefined symbols from PCREL to PLT32. (md_apply_fix_1) [OBJ_ELF]: Fix up values for dynamic-linking relocs. (md_undefined_symbol): Notice GLOBAL_OFFSET_TABLE_NAME and set and return GOT_symbol if it matches. (F, MAP): Move macro definitions outside function. (tc_gen_reloc): Only switch on size and pcrel if code wasn't already supplied as PLT32. GOT32, GOTOFF, or GOTPC. Convert BFD_RELOC_32 using GOT_symbol into GOTPC. * tc-i386.h (TC_RELOC, tc_fix_adjustable, TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): New macros. (NEED_FX_R_TYPE): Define. (LOCAL_LABEL): Accept ".X" prefix too. (GLOBAL_OFFSET_TABLE_NAME): Default to "_GLOBAL_OFFSET_TABLE_".
1994-09-13* write.c (fixup_segment): Test TC_RELOC_RTSYM_LOC_FIXUP on fixup beforeKen Raeburn1-12/+76
processing same-section pcrel relocations. (TC_RELOC_RTSYM_LOC_FIXUP): Default to 1.
1994-09-13* expr.c (make_expr_symbol): If operator is O_symbol and X_add_number is zero,Ken Raeburn1-27/+113
just return the symbol. If operator is O_constant, resolve the symbol's value before returning. (operand): Permit use of "[]" for grouping. (clean_up_expression): For difference of two symbols in the same frag, add the difference of their offsets into X_add_number. (expr): Reduce difference of two symbols in same frag to their difference.
1994-09-13* Makefile.in (config-stamp): Add a "this file generated by make" message toKen Raeburn1-1/+2
config.h.
1994-09-13* .gdbinit (pe, ps): Define new commands.Ken Raeburn2-44/+253
* symbols.c (indent_level): New static variable. (indent, print_expr_1, print_symbol_value_1, print_symbol_value, print_expr): New functions.
1994-09-13 * mpw-make.in (ALL_CFLAGS): Add definition of HAVE_STDARG_H,Stan Shebs3-11/+10
include of ::libiberty:. (config.h): Ifdef contents on GAS_VERSION. config/ho-mpw.h: Remove redefinitions of true and false.
1994-09-12 * config/obj-elf.c (obj_elf_type): Rewrite to accept syntaxIan Lance Taylor1-0/+3
reportedly to be used on Irix 6.
1994-09-12 * config/tc-mips.c (md_pseudo_table): Handle .globl and .global.Ian Lance Taylor3-7/+59
(s_mips_globl): New static function; needed for Irix 5 support. * ecoff.c (ecoff_build_symbols): If BSF_FUNCTION is set for an external symbol with no type, set the type to st_Proc rather than st_Global. Don't set the index of an external st_Proc or st_StaticProc symbol unless it is also a local symbol.
1994-09-12 * read.c (read_a_source_file): The second argument to as_where isIan Lance Taylor2-2/+8
unsigned int *, not int *.
1994-09-09keep arm filesKen Raeburn1-0/+39
1994-09-09keep arm filesKen Raeburn1-0/+2
1994-09-09forgot an entry for makefile dependency changesKen Raeburn1-0/+3
1994-09-09keep arm dirKen Raeburn1-0/+1
1994-09-09Modified Files:Kung Hsu3-9/+89
ChangeLog read.h read.c ecoff.h ecoff.c * read.h : ditto. * read.c (read_a_source_file): if no file when inst is read, set generate_asm_lineno to true. * ecoff.h : change name to generate_asm_lineno and add function ecoff_no_current_file. * ecoff.c : change name to generate_asm_lineno. * ecoff.c (ecoff_generate_asm_lineno) : new function, to generate ecoff style line for asm file.
1994-09-09Modified Files:Kung Hsu1-2/+2
obj-ecoff.h obj-elf.h * config/obj-ecoff.h : Change names to OBJ_GENERATE_ASM_LINENO, and generate_asm_lineno. * config/obj-elf.h : ditto.
1994-09-08 * config/obj-coff.c (size_section): Do an fprintf to stderr ratherIan Lance Taylor2-261/+116
than a printf. (fixup_segment): Use as_bad_where rather than as_bad.
1994-09-08 * config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothingSteve Chamberlain1-0/+5
becomes macro doing nothing.
1994-09-08Wed Sep 7 17:21:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-129/+180
* config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothing becomes macro doing nothing.
1994-09-08fix config.status, Makefile dependenciesKen Raeburn1-2/+2
1994-09-08tc_gen_reloc, i386-linux, brokensed changesKen Raeburn1-0/+12
1994-09-07(tc_gen_reloc): Use bfd_get_reloc_code_name in error message.Ken Raeburn3-13/+54
1994-09-07Remove 'brokensed' hack, autoconf should make it unnecessary now.Ken Raeburn1-8/+9
1994-09-07Don't set bfd_gas for i386-linux a.out configurations.Ken Raeburn2-2/+2
1994-09-07Update for autoconf beta 1.112:Ken Raeburn6-230/+249
* aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New macros. * configure.in: Use them. Use AC_ARG_PROGRAM (now provided by autoconf) instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME. Move test for CROSS_COMPILE just before AC_FUNC_ALLOCA, and emit a message to try to ease confusion about autoconf's "cross-compiling" message. * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE, NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION. * configure, conf.in: Regenerated.
1994-09-07 * configure.in: Check ${host} and ${target} rather thanIan Lance Taylor3-4/+10
${host_canon} and ${target_canon}. * configure: Likewise.
1994-09-06 * config/tc-mips.c (mips_cpu): New static variable.Ian Lance Taylor2-21/+123
(insns_since_cache_access): New static variable. (md_begin): Set mips_cpu as well as mips_isa. (append_insn): If mips_cpu is 4600, require four nop instructions between an instruction which accesses the cache and certain CACHE instructions. Keep track of the number of instructions seen since an instruction which accesses the cache. (md_parse_option): Set mips_cpu as well as mips_isa. PR 5433.
1994-09-05* doc/Makefile.in (VPATH): Define using @srcdir@.Ken Raeburn1-0/+6
(prefix, program_transform_name, exec_prefix): Use autoconf style @-substitutions.
1994-09-05ARM Acorn/RISCiX target and host patches from Richard EarnshawKen Raeburn9-36/+486
1994-09-02 * ecoff.c (add_file): Don't try to generate line numbers if theIan Lance Taylor2-9/+32
symbol table has been frozen.
1994-09-01remove alloca stuff from atof-generic.cKen Raeburn1-0/+2
1994-09-01* as.h (volatile): Don't test or define here; not needed.Ken Raeburn2-2/+5
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf documentation. Include config.h first. Makefile.in (INCLUDES): Deleted last patch (using -I..).
1994-09-01autoconf bug fix -- config.status exit status should be 0Ken Raeburn1-0/+1
1994-08-31Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.Ken Raeburn2-3/+4
1994-08-31* Makefile.in (prefix, exec_prefix): Use @-subtitutions.Ken Raeburn5-234/+153
* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since autoconf 1.109 has this fixed. * configure.in: Don't change quote characters around AC_MSG_ERROR invocation. Don't use AC_HEADER_STDC, since it requires running a program. Cache NEED_*_DECLARATION values. * configure, conf.in: Regenerated with a modified autoconf 1.109.
1994-08-31 * configure.in, configure: Initialize bfd_gas to no.Ian Lance Taylor3-0/+9
1994-08-30fix mpw problem with ".." for stanKen Raeburn2-1/+6