aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.h
AgeCommit message (Collapse)AuthorFilesLines
1997-06-27Remove brokeness in PowerPC asmMichael Meissner1-14/+13
1997-06-16Mon Jun 16 19:12:51 1997 Geoff Keating <geoffk@ozemail.com.au>Ian Lance Taylor1-21/+25
* config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler calculate relocations to any external symbol, because we might be linking a shared object and the symbol might be overriden or moved (for instance, moved into a static executable's .bss section). (GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness. * config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't be calculated by the assembler. * config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch whose destination lies in the same file, by ignoring the @plt or @local and aiming the branch at its destination.
1997-02-14 * doc/Makefile.in (TEXI2DVI): Set to just name of program.Fred Fish1-6/+28
(DVIPS): Set to dvips. (ps, as.ps, gasp.ps): New targets. (internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS and MAKEINFO env variables. (internals.ps): Use DVIPS macro. (clean): Remove core and backup files. (distclean): Remove temporary files from building internals. (clean-dvi): Ditto. * doc/internals.texi (Frags): Fix typo. (GAS processing): Ditto. (CPU backend): Ditto. * ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly. * mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1. * read.c: Remove ugly hack that dealt with config files not correctly defining TARGET_BYTES_BIG_ENDIAN. (target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly. * config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1. * config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0. * config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1. * config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0. * config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1. * config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN with TARGET_BYTES_BIG_ENDIAN defined to 0. * config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just whether it is defined or not. * config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN. * config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just whether it is defined or not. start-sanitize-tic80 * config/tic80.h (TARGET_FORMAT): Define to coff-tic80. (TARGET_BYTES_BIG_ENDIAN): Define to 0. end-sanitize-tic80
1996-01-12Add support for exclude section flag and ordered section typeMichael Meissner1-6/+25
1995-10-24Fix PR 8255Michael Meissner1-2/+11
1995-09-27 * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.Ian Lance Taylor1-7/+22
Change OBJ_COFF checks to check OBJ_XCOFF instead. (TARGET_FORMAT): Fully parenthesize. (LEX_QM): Define if TE_PE. * config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout. Remove checks of TE_PE within #ifdef OBJ_XCOFF sections. (init_regtable): Make i unsigned. (ppc_set_current_section): Rename from setCurrentSection. Change all callers. (ppc_arch): Return after as_fatal to avoid gcc warning. (md_assemble): Only declare reloc if OBJ_ELF. Add default to switch on fixups[i].reloc to avoid gcc warning. (IMAGE_SGN_LNK_OTHER): Fix nested comment. (ppc_pe_function): Don't call ppc_canonicalize_symbol_name. (ppc_frob_symbol): Remove TE_PE section checks. (md_estimate_size_before_relax): Return after abort to avoid gcc warning. (md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch. * read.c (LEX_QM): Define as 0 if not defined. (lex_type): Use LEX_QM for '?'.
1995-09-27Added TE_PE target environment supportKim Knuttila1-0/+7
1995-09-26Support all of the V.4 relocationsMichael Meissner1-3/+17
1995-05-04* as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already defined, defineKen Raeburn1-4/+12
them to zero. * config/tc-*.h, config/te-*.h: If defining them, define them to be 1 instead of empty. * expr.c (integer_constant, operand): Test them at run time instead of compile time. * read.c (read_a_source_file): Ditto. * symbols.c (colon): Ditto. (dollar_*, define_dollar_label, fb_*): Define unconditionally. * symbols.h (dollar_*, define_dollar_label, fb_*): Declare unconditionally.
1995-01-26Allow configuration of PowerPC embedded ABI.Michael Meissner1-0/+157