This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] elf/rtld.c: fix compile



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


Attachment: patch-rtld-compile-2
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]