Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys



| On Fri, May 03, 2002 at 06:00:15PM -0000, eeh%netbsd.org@localhost wrote:
|
|  > No, it isn't the wrong way to do this.  This information is needed by 
|  > assembly routines to be sure they match the compiler generated code.
|  > If you have the compiler define this you can get a mismatch between
|  > assembly routines and C routines.
|
| Our assembly routines are processed by the C preprocessor (obviously
| they are, since you are TESTING for _LP64 being defined).  Therefore,
| if you supply the correct arguments when assembling .S files, _LP64
| will be defined, and the right thing will happen.

What happens when you try that with a 64-bit compiler and the -m32 flag?

Eduardo



Home | Main Index | Thread Index | Old Index