2009-12-15 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbinit.h
* use more portable asm() directive instead of __asm__()
* explicitly restore .text segment for compilers which do not make
it automatically
Thanks to Tamas for the information.
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-12-15 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbinit.h
|
||||
* use more portable asm() directive instead of __asm__()
|
||||
* explicitly restore .text segment for compilers which do not make
|
||||
it automatically
|
||||
Thanks to Tamas for the information.
|
||||
|
||||
2009-12-15 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbinit.h
|
||||
* eliminated from ASM code used in HB_INITSEG_STARTUP direct references
|
||||
|
||||
@@ -131,7 +131,7 @@ extern HB_EXPORT PHB_SYMB hb_vmProcessSymbols( PHB_SYMB pSymbols, USHORT uiSymbo
|
||||
#define HB_CALL_ON_STARTUP_END( func ) \
|
||||
} \
|
||||
HB_INIT_FUNCTION_REF( func ) \
|
||||
__asm__ ( ".section .init\n\tcall " HB_MACRO2STRING( func ) "\n\t" );
|
||||
asm ( ".section .init\n\tcall " HB_MACRO2STRING( func ) "\n\t.section .init\n\t" );
|
||||
|
||||
|
||||
#define HB_INIT_FUNCTION_REF( func ) \
|
||||
|
||||
Reference in New Issue
Block a user