Skip to content

Commit

Permalink
Merge pull request OpenMathLib#2069 from aixoss/aix-asm-change
Browse files Browse the repository at this point in the history
AIX asm syntax changes needed for shared object creation
  • Loading branch information
martin-frbg authored Mar 25, 2019
2 parents 8502030 + b043a59 commit 3ae122e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions common_power.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,9 +598,14 @@ REALNAME:;\
#ifndef __64BIT__
#define PROLOGUE \
.machine "any";\
.toc;\
.globl .REALNAME;\
.globl REALNAME;\
.csect REALNAME[DS],3;\
REALNAME:;\
.long .REALNAME, TOC[tc0], 0;\
.csect .text[PR],5;\
.REALNAME:;
.REALNAME:

#define EPILOGUE \
_section_.text:;\
Expand All @@ -611,9 +616,14 @@ _section_.text:;\

#define PROLOGUE \
.machine "any";\
.toc;\
.globl .REALNAME;\
.globl REALNAME;\
.csect REALNAME[DS],3;\
REALNAME:;\
.llong .REALNAME, TOC[tc0], 0;\
.csect .text[PR], 5;\
.REALNAME:;
.REALNAME:

#define EPILOGUE \
_section_.text:;\
Expand Down

0 comments on commit 3ae122e

Please sign in to comment.