[PATCH] elf/rtld.c: fix compile

Segher Boessenkool segher@kernel.crashing.org
Thu Jan 15 15:13:00 GMT 2004


On 15-jan-04, at 15:54, Daniel Jacobowitz wrote:

> On Thu, Jan 15, 2004 at 12:07:27PM +0100, Segher Boessenkool wrote:
>> Please apply.
>>
>>
>> 2004-01-15  Segher Boessenkool  <boessen@de.ibm.com>
>>
>> 	* elf/rtld.c (_dl_start_final): Move #endif.
>
> This patch is probably not correct.  You didn't explain what error you
> saw...

Oops sorry.

print_statistics() now is called with &rtld_total_time as a parameter,
instead of without any parameters.  But the declaration (and all other
uses) of rtld_total_time is within #ifndef HP_TIMING_NONAVAIL .

So I moved the call the print_statistics() in there, too.

Hrm, I now looked at print_statistics() itself, and here's a better
patch.  Should I also place an assert in print_statistics() itself,
now?


Segher

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-rtld-compile-2
Type: application/octet-stream
Size: 597 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040115/20b61fad/attachment.obj>


More information about the Libc-alpha mailing list