]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/mips/include/asm/elf.h
MIPS: Allow the auxv's elf_platform entry to be set.
[net-next-2.6.git] / arch / mips / include / asm / elf.h
index 7a6a35dbe529c91ad71529e5d77218811be556cf..e53d7bed5cda3b2abcca04f411b6477d4254afee 100644 (file)
@@ -334,14 +334,14 @@ extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *);
 
 #define ELF_HWCAP       (0)
 
-/* This yields a string that ld.so will use to load implementation
-   specific libraries for optimization.  This is more specific in
-   intent than poking at uname or /proc/cpuinfo.
-
-   For the moment, we have only optimizations for the Intel generations,
-   but that could change... */
+/*
+ * This yields a string that ld.so will use to load implementation
+ * specific libraries for optimization.  This is more specific in
+ * intent than poking at uname or /proc/cpuinfo.
+ */
 
-#define ELF_PLATFORM  (NULL)
+#define ELF_PLATFORM  __elf_platform
+extern const char *__elf_platform;
 
 /*
  * See comments in asm-alpha/elf.h, this is the same thing