Merge pull request #2069 from aixoss/aix-asm-change

AIX asm syntax changes needed for shared object creation
This commit is contained in:
Martin Kroeker 2019-03-25 21:34:30 +01:00 committed by GitHub
commit 3ae122e2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -598,9 +598,14 @@ REALNAME:;\
#ifndef __64BIT__ #ifndef __64BIT__
#define PROLOGUE \ #define PROLOGUE \
.machine "any";\ .machine "any";\
.toc;\
.globl .REALNAME;\ .globl .REALNAME;\
.globl REALNAME;\
.csect REALNAME[DS],3;\
REALNAME:;\
.long .REALNAME, TOC[tc0], 0;\
.csect .text[PR],5;\ .csect .text[PR],5;\
.REALNAME:; .REALNAME:
#define EPILOGUE \ #define EPILOGUE \
_section_.text:;\ _section_.text:;\
@ -611,9 +616,14 @@ _section_.text:;\
#define PROLOGUE \ #define PROLOGUE \
.machine "any";\ .machine "any";\
.toc;\
.globl .REALNAME;\ .globl .REALNAME;\
.globl REALNAME;\
.csect REALNAME[DS],3;\
REALNAME:;\
.llong .REALNAME, TOC[tc0], 0;\
.csect .text[PR], 5;\ .csect .text[PR], 5;\
.REALNAME:; .REALNAME:
#define EPILOGUE \ #define EPILOGUE \
_section_.text:;\ _section_.text:;\