PERFORCE change 152093 for review

Peter Wemm peter at FreeBSD.org
Tue Oct 28 11:35:55 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=152093

Change 152093 by peter at peter_overcee on 2008/10/28 11:35:38

	Check right ABI

Affected files ...

.. //depot/projects/valgrind/coregrind/launcher-freebsd.c#3 edit

Differences ...

==== //depot/projects/valgrind/coregrind/launcher-freebsd.c#3 (text+ko) ====

@@ -149,7 +149,7 @@
 
          if (header[EI_DATA] == ELFDATA2LSB) {
             if (ehdr->e_machine == EM_386 &&
-                ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV) {
+                ehdr->e_ident[EI_OSABI] == ELFOSABI_FREEBSD) {
                platform = "x86-freebsd";
             }
          }
@@ -158,7 +158,7 @@
 
          if (header[EI_DATA] == ELFDATA2LSB) {
             if (ehdr->e_machine == EM_X86_64 &&
-                ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV) {
+                ehdr->e_ident[EI_OSABI] == ELFOSABI_FREEBSD) {
                platform = "amd64-freebsd";
             }
          }


More information about the p4-projects mailing list