~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to memcheck/tests/badjump.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mto: (1.4.1 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080613023140-iwk33rz9rhvfkr96
Import upstream version 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
int main ( void )
3
3
{
4
 
#if defined(__powerpc64__)
 
4
#if defined(__powerpc64__) || defined(_AIX)
5
5
   /* on ppc64-linux, a function pointer points to a function
6
6
      descriptor, not to the function's entry point.  Hence to get
7
7
      uniform behaviour on all supported targets - a jump to 0xE000000