+start-sanitize-sky
+Mon Jun 8 15:41:43 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * config/tc-dvp.c (dvp_relax_frag): Adjust target address by stretch.
+
+end-sanitize-sky
Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
}
/* Perform the relaxation.
+ STRETCH is the amount the start of the frag has already been shifted by.
All we have to do is figure out how many bytes we need to insert to
get to the recorded symbol (which is at the required alignment).
This function is also called for machine dependent vu insn frags.
if (fragP->fr_subtype == RELAX_MPG)
{
+ /* The frag the symbol is in hasn't been relaxed yet so any .org
+ adjustments haven't been applied to it. We know the symbol
+ is the address of the next frag so adjust target by stretch. */
+ target += stretch;
growth = target - address;
if (growth < 0)
as_fatal ("internal error: bad mpg alignment handling");
if (fragP->fr_subtype == RELAX_DIRECT)
{
+ /* The frag the symbol is in hasn't been relaxed yet so any .org
+ adjustments haven't been applied to it. We know the symbol
+ is the address of the next frag so adjust target by stretch. */
+ target += stretch;
growth = target - address;
if (growth < 0)
as_fatal ("internal error: bad direct alignment handling");