commit | 2024ab7832dea5dc004f712ffdf348b8239b8ffa | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon May 21 10:28:50 2012 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon May 21 10:30:39 2012 -0700 |
tree | 2742ee0588cdd8c8c2f47a3c14c4a28e8119b695 | |
parent | 4acc6da418c97dbd24b5999ee2d17f1ccf15d441 [diff] |
[klibc] lseek: give gcc a little optimization hint It looks like gcc generates some epicly confused code for splitting the two halves of the offset argument to lseek() at least on i386. Copy it into an unsigned long long before breaking it apart seems to help. Signed-off-by: H. Peter Anvin <hpa@zytor.com>