From 55cf6793d851ffd0f14d851eb6d75cac2fe400ff Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 7 Jun 2005 17:54:22 +0000 Subject: gas: * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h * config/tc-xtensa.c, config/tc-z8k.c: Replace all instances of the string "_apply_fix3" with "_apply_fix". * po/POTFILES.in, po/gas.pot: Regenerate. bfd: * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. cgen: * doc/porting.texi: Change all mention of md_apply_fix3 and gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix respectively. --- gas/doc/internals.texi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gas/doc/internals.texi') diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index e75281f..fcda0f0 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -512,7 +512,7 @@ A number which is added into the fixup. @item fx_addnumber Some CPU backends use this field to convey information between -@code{md_apply_fix3} and @code{tc_gen_reloc}. The machine independent code does +@code{md_apply_fix} and @code{tc_gen_reloc}. The machine independent code does not use it. @item fx_next @@ -1250,7 +1250,7 @@ given section will be processed when the @var{linkrelax} variable is set. The macro is given the N_TYPE bits for the section in its @var{segT} argument. If the macro evaluates to a non-zero value then the fixups will be converted into relocs, otherwise they will -be passed to @var{md_apply_fix3} as normal. +be passed to @var{md_apply_fix} as normal. @item md_convert_frag @cindex md_convert_frag @@ -1277,11 +1277,11 @@ It may be used to change the fixup in @code{struct fix *@var{fixP}} before the generic code sees it, or to fully process the fixup. In the latter case, a @code{goto @var{skip}} will bypass the generic code. -@item md_apply_fix3 (@var{fixP}, @var{valP}, @var{seg}) -@cindex md_apply_fix3 +@item md_apply_fix (@var{fixP}, @var{valP}, @var{seg}) +@cindex md_apply_fix GAS will call this for each fixup that passes the @code{TC_VALIDATE_FIX} test when @var{linkrelax} is not set. It should store the correct value in the -object file. @code{struct fix *@var{fixP}} is the fixup @code{md_apply_fix3} +object file. @code{struct fix *@var{fixP}} is the fixup @code{md_apply_fix} is operating on. @code{valueT *@var{valP}} is the value to store into the object files, or at least is the generic code's best guess. Specifically, *@var{valP} is the value of the fixup symbol, perhaps modified by @@ -1289,8 +1289,8 @@ object files, or at least is the generic code's best guess. Specifically, less @code{MD_PCREL_FROM_SECTION} for pc-relative fixups. @code{segT @var{seg}} is the section the fix is in. @code{fixup_segment} performs a generic overflow check on *@var{valP} after -@code{md_apply_fix3} returns. If the overflow check is relevant for the target -machine, then @code{md_apply_fix3} should modify *@var{valP}, typically to the +@code{md_apply_fix} returns. If the overflow check is relevant for the target +machine, then @code{md_apply_fix} should modify *@var{valP}, typically to the value stored in the object file. @item TC_FORCE_RELOCATION (@var{fix}) @@ -1318,7 +1318,7 @@ returns non-zero, will emit relocs. This macro controls resolution of fixup expressions involving the difference of two symbols in the same section. If this macro returns zero, the subtrahend will be resolved and @code{fx_subsy} set to @code{NULL} for -@code{md_apply_fix3}. If undefined, the default of +@code{md_apply_fix}. If undefined, the default of @w{@code{! SEG_NORMAL (@var{seg}) || TC_FORCE_RELOCATION (@var{fix})}} will be used. @@ -1341,7 +1341,7 @@ This macro is evaluated for any fixup with a @code{fx_subsy} that @item MD_APPLY_SYM_VALUE (@var{fix}) @cindex MD_APPLY_SYM_VALUE This macro controls whether the symbol value becomes part of the value passed -to @code{md_apply_fix3}. If the macro is undefined, or returns non-zero, the +to @code{md_apply_fix}. If the macro is undefined, or returns non-zero, the symbol value will be included. For ELF, a suitable definition might simply be @code{0}, because ELF relocations don't include the symbol value in the addend. -- cgit v1.1