Include <mach-o/reloc.h>.
authorRichard M. Stallman <rms@gnu.org>
Fri, 10 Jan 1997 02:53:35 +0000 (02:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 10 Jan 1997 02:53:35 +0000 (02:53 +0000)
commitacacb2920929152a02f5836d39189b04cea08202
treeac3c27a848aece275d542c9e1d675570ec46ab63
parent1c626aaf749003439929908143e519befd64eb53
Include <mach-o/reloc.h>.
(fgrowth): Initialize to zero.
(vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables.
[NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables.
(unexec_doit): Adjust file offsets of segments that follow the
enlarged data segment.  Adjust vmaddr of the SEG_LINKEDIT segment that
follows the data segment.
[NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load
command that follows the data segment.  Zero out relocation entries
that fall within the data segment.
src/unexnext.c