]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the way text_addr and data_addr are computed to use the
authornwhitehorn <nwhitehorn@FreeBSD.org>
Thu, 25 Mar 2010 14:21:22 +0000 (14:21 +0000)
committernwhitehorn <nwhitehorn@FreeBSD.org>
Thu, 25 Mar 2010 14:21:22 +0000 (14:21 +0000)
commitb60f1f5349665e80134bc9f0afab88b52539ab40
tree9f68b9edfaa4a3646a81d8bf5c749ea4ef443a9c
parent2f9c438c7714403eb93207d6ff8980460a6ece72
Change the way text_addr and data_addr are computed to use the
executable status of segments instead of detecting the main text segment
by which segment contains the program entry point. This affects
obreak() and is required for correct operation of that function
on 64-bit PowerPC systems. The previous behavior was apparently
required only for the Alpha, which is no longer supported.

Reviewed by: jhb
Tested on: amd64, sparc64, powerpc
sys/kern/imgact_elf.c