Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 11:35:54 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 152093 for review
Message-ID:  <200810281135.m9SBZsnB098085@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152093

Change 152093 by peter@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";
             }
          }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810281135.m9SBZsnB098085>