From: Ulrich Drepper Date: Mon, 2 Feb 2009 00:19:06 +0000 (-0800) Subject: Document possible optimization in libelf. X-Git-Tag: elfutils-0.140~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cea5ee3674c1ee515caf605b52c0a447dd7e4845;p=thirdparty%2Felfutils.git Document possible optimization in libelf. --- diff --git a/TODO b/TODO index de4aa0f1f..2221b2e54 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,7 @@ ToDo list for elfutils -*-outline-*- ---------------------- -Time-stamp: <2009-01-23 16:28:46 drepper> +Time-stamp: <2009-01-26 13:07:11 drepper> * mkinstalldirs @@ -22,6 +22,13 @@ Time-stamp: <2009-01-23 16:28:46 drepper> archives and only when having the archive handling separately this remains maintainable. +** shdrs in read-only files + + When reading (ELF_C_READ*) then there is no need to malloc Shdr + structure in elfXX_getshdr if file is mmaped and unaligned access + is allowed or the structure is aligned. Use ELF_F_MALLOCED flag + to differentiate. + * libdw