~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to lib/user/util.c

  • Committer: Package Import Robot
  • Author(s): Nate Muench
  • Date: 2012-06-20 15:59:51 UTC
  • mfrom: (1.4.8)
  • Revision ID: package-import@ubuntu.com-20120620155951-6rupmpb0f70b52zr
Tags: 2012.05.21-724730-0ubuntu1
* Merging upstream version 2012.05.21-724730.
  - Fixes building against the current Quantal kernel. (LP: #1000344)
  - Fixes Quantal installation issues. (LP: #1019031)

* Sync with Debian
  - Updating to debhelper version 9.
  - Updating to standards version 3.9.3.
  - Updating copyright file machine-readable format version 1.0.
  - Building without multiarch paths for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
#  include <dlfcn.h>
55
55
#endif
56
56
 
57
 
#if defined(__linux__) && !defined(VMX86_TOOLS)
 
57
#if defined(__linux__) && !defined(VMX86_TOOLS) && !defined(__ANDROID__)
58
58
#  include <link.h>
59
59
#endif
60
60
 
428
428
   return _URC_END_OF_STACK;
429
429
}
430
430
 
431
 
#if !defined(_WIN32) && !defined(VMX86_TOOLS)
 
431
#if !defined(_WIN32) && !defined(VMX86_TOOLS) && !defined(__ANDROID__)
432
432
/*
433
433
 *-----------------------------------------------------------------------------
434
434
 *
575
575
#elif !defined(VM_X86_64)
576
576
   uintptr_t *x = basePtr;
577
577
   int i;
578
 
#if !defined(_WIN32) && !defined(VMX86_TOOLS)
 
578
#if !defined(_WIN32) && !defined(VMX86_TOOLS) && !defined(__ANDROID__)
579
579
   Dl_info dli;
580
580
#endif
581
581
 
588
588
      x = (uintptr_t *) x[0];
589
589
   }
590
590
 
591
 
#if !defined(_WIN32) && !defined(VMX86_TOOLS)
 
591
#if !defined(_WIN32) && !defined(VMX86_TOOLS) && !defined(__ANDROID__)
592
592
   /* 
593
593
    * We do a separate pass here that includes symbols in order to
594
594
    * make sure the base backtrace that does not call dladdr() etc.