Mercurial > hg > aboriginal
view sources/patches/uClibc-sparcldso.patch @ 909:1720e1d988db
Deleting the gcc build directory has to happen from the right current working directory.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 01 Dec 2009 19:43:42 -0600 |
parents | a0db930af698 |
children |
line wrap: on
line source
Sparc v8 and v9 should still support EM_SPARC binaries, not _just_ SPARC32PLUS. --- uClibc/ldso/ldso/sparc/dl-sysdep.h 2008-09-15 11:36:11.000000000 -0500 +++ uClibc.bak/ldso/ldso/sparc/dl-sysdep.h 2009-04-08 01:09:53.000000000 -0500 @@ -29,13 +29,8 @@ /* Here we define the magic numbers that this dynamic loader should accept * Note that SPARCV9 doesn't use EM_SPARCV9 since the userland is still 32-bit. */ -#if defined(__sparc_v9__) || defined(__sparc_v8__) #define MAGIC1 EM_SPARC32PLUS -#else -#define MAGIC1 EM_SPARC -#endif - -#undef MAGIC2 +#define MAGIC2 EM_SPARC /* Used for error messages */ #define ELF_TARGET "sparc"