看板 DFBSD_commit 關於我們 聯絡資訊
commit 9d35f29fb5dd669d4e04521b39296e5bdf14b2b0 Author: John Marino <draco@marino.st> Date: Thu May 19 01:36:03 2011 +0200 Kernel Elf: Expand ABI.note-tag search to cover entire file The FreeBSD code that provides the new ABI.note-tag search limits itself to the first page PT_NOTE header found and there could be more than one. Moreover, that header is ignored if it doesn't fall within the first page. The problem is that 99% of the binaries produced right now have their note-tag outside of the first page, and perhaps the culprit is the new binutils 2.21. Due to this, we are required to search the entire binary to look for these tags, and the previous code of DragonFly did this so part of it was brought back here. Summary of changes: sys/kern/imgact_elf.c | 121 +++++++++++++++++++++++++++++++++++-------------- 1 files changed, 87 insertions(+), 34 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d35f29fb5dd669d4e04521b39296e5bdf14b2b0 -- DragonFly BSD source repository