|| unrelocate_symbols (new, a_out, a_name, new_name) < 0)
{
close (new);
- return -1;
+ return -1;
}
close (new);
s->s_scnptr += bias;
ptr = s->s_scnptr;
}
-
+
ptr = ptr + s->s_size;
}
}
}
\f
/* ****************************************************************
-
+
*
* Copy the text and data segments from memory to the new a.out
*/
#ifndef ALIGN_DATA_RELOC
ulong d_reloc = (ulong) &_data - f_ohdr.data_start;
#else
- /* This worked (and was needed) before AIX 4.2.
+ /* This worked (and was needed) before AIX 4.2.
I have no idea why. -- Mike */
ulong d_reloc = (ulong) &_data - ALIGN(f_ohdr.data_start, 2);
#endif