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:
Przemyslaw Czerpak
2009-12-15 20:15:33 +00:00
parent cab0690455
commit 791d16c3fe
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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 ) \