Maciej W. Rozycki wrote: > On Fri, 19 Sep 2003, Thiemo Seufer wrote: > > > > OK as in "it works for me", and OK as in "this is the correct usage" are > > > two different things. I believe that for a 64-bit kernel either -mabi=64 > > > or -mabi=n32 (-mlong64) are the right long term answer, > > > > A third answer is to add a -msign-extend-addresses switch in the assembler. > > Together with -mabi=64 this would produce optimized ELF64 output. > > Hmm, what do you exactly mean -- is that what I am worrying about? The idea is to use the assembler's 32bit macro expansions for addresses. This reduces the .text size of a n64 kernel and improves the performance, without tricks like -Wa,32. Thiemo