16 | 16 |
+%ifdef PIC
|
17 | 17 |
+section .text
|
18 | 18 |
+extern _GLOBAL_OFFSET_TABLE_
|
19 | |
+.get_GOT:
|
20 | |
+ mov ebx,dword ptr [esp]
|
|
19 |
+..@get_GOT:
|
|
20 |
+ mov ebx,[esp]
|
21 | 21 |
+ ret
|
22 | 22 |
+%define lsym(name) ebx + name wrt ..gotoff
|
23 | 23 |
+%macro get_GOT 0
|
24 | |
+ call .get_GOT
|
25 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
24 |
+ call ..@get_GOT
|
|
25 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
26 | 26 |
+%endmacro
|
27 | 27 |
+%else
|
28 | 28 |
+%endif
|
|
477 | 477 |
+%ifdef PIC
|
478 | 478 |
+section .text
|
479 | 479 |
+extern _GLOBAL_OFFSET_TABLE_
|
480 | |
+.get_GOT:
|
481 | |
+ mov ebx,dword ptr [esp]
|
|
480 |
+..@get_GOT:
|
|
481 |
+ mov ebx,[esp]
|
482 | 482 |
+ ret
|
483 | 483 |
+%define lsym(name) ebx + name wrt ..gotoff
|
484 | 484 |
+%macro get_GOT 0
|
485 | |
+ call .get_GOT
|
486 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
485 |
+ call ..@get_GOT
|
|
486 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
487 | 487 |
+%endmacro
|
488 | 488 |
+%else
|
489 | 489 |
+%endif
|
|
918 | 918 |
+%ifdef PIC
|
919 | 919 |
+section .text
|
920 | 920 |
+extern _GLOBAL_OFFSET_TABLE_
|
921 | |
+.get_GOT:
|
922 | |
+ mov ebx,dword ptr [esp]
|
|
921 |
+..@get_GOT:
|
|
922 |
+ mov ebx,[esp]
|
923 | 923 |
+ ret
|
924 | 924 |
+%define lsym(name) ebx + name wrt ..gotoff
|
925 | 925 |
+%macro get_GOT 0
|
926 | |
+ call .get_GOT
|
927 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
926 |
+ call ..@get_GOT
|
|
927 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
928 | 928 |
+%endmacro
|
929 | 929 |
+%else
|
930 | 930 |
+%endif
|
|
977 | 977 |
+%ifdef PIC
|
978 | 978 |
+section .text
|
979 | 979 |
+extern _GLOBAL_OFFSET_TABLE_
|
980 | |
+.get_GOT:
|
981 | |
+ mov ebx,dword ptr [esp]
|
|
980 |
+..@get_GOT:
|
|
981 |
+ mov ebx,[esp]
|
982 | 982 |
+ ret
|
983 | 983 |
+%define lsym(name) ebx + name wrt ..gotoff
|
984 | 984 |
+%macro get_GOT 0
|
985 | |
+ call .get_GOT
|
986 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
985 |
+ call ..@get_GOT
|
|
986 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
987 | 987 |
+%endmacro
|
988 | 988 |
+%else
|
989 | 989 |
+%endif
|
|
1250 | 1250 |
+%ifdef PIC
|
1251 | 1251 |
+section .text
|
1252 | 1252 |
+extern _GLOBAL_OFFSET_TABLE_
|
1253 | |
+.get_GOT:
|
1254 | |
+ mov ebx,dword ptr [esp]
|
|
1253 |
+..@get_GOT:
|
|
1254 |
+ mov ebx,[esp]
|
1255 | 1255 |
+ ret
|
1256 | 1256 |
+%define lsym(name) ebx + name wrt ..gotoff
|
1257 | 1257 |
+%macro get_GOT 0
|
1258 | |
+ call .get_GOT
|
1259 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
1258 |
+ call ..@get_GOT
|
|
1259 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
1260 | 1260 |
+%endmacro
|
1261 | 1261 |
+%else
|
1262 | 1262 |
+%endif
|
|
1335 | 1335 |
+%ifdef PIC
|
1336 | 1336 |
+section .text
|
1337 | 1337 |
+extern _GLOBAL_OFFSET_TABLE_
|
1338 | |
+.get_GOT:
|
1339 | |
+ mov ebx,dword ptr [esp]
|
|
1338 |
+..@get_GOT:
|
|
1339 |
+ mov ebx,[esp]
|
1340 | 1340 |
+ ret
|
1341 | 1341 |
+%define lsym(name) ebx + name wrt ..gotoff
|
1342 | 1342 |
+%macro get_GOT 0
|
1343 | |
+ call .get_GOT
|
1344 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
1343 |
+ call ..@get_GOT
|
|
1344 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
1345 | 1345 |
+%endmacro
|
1346 | 1346 |
+%else
|
1347 | 1347 |
+%endif
|
|
1420 | 1420 |
+%ifdef PIC
|
1421 | 1421 |
+section .text
|
1422 | 1422 |
+extern _GLOBAL_OFFSET_TABLE_
|
1423 | |
+.get_GOT:
|
1424 | |
+ mov ebx,dword ptr [esp]
|
|
1423 |
+..@get_GOT:
|
|
1424 |
+ mov ebx,[esp]
|
1425 | 1425 |
+ ret
|
1426 | 1426 |
+%define lsym(name) ebx + name wrt ..gotoff
|
1427 | 1427 |
+%macro get_GOT 0
|
1428 | |
+ call .get_GOT
|
1429 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
1428 |
+ call ..@get_GOT
|
|
1429 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
1430 | 1430 |
+%endmacro
|
1431 | 1431 |
+%else
|
1432 | 1432 |
+%endif
|
|
1505 | 1505 |
+%ifdef PIC
|
1506 | 1506 |
+section .text
|
1507 | 1507 |
+extern _GLOBAL_OFFSET_TABLE_
|
1508 | |
+.get_GOT:
|
1509 | |
+ mov ebx,dword ptr [esp]
|
|
1508 |
+..@get_GOT:
|
|
1509 |
+ mov ebx,[esp]
|
1510 | 1510 |
+ ret
|
1511 | 1511 |
+%define lsym(name) ebx + name wrt ..gotoff
|
1512 | 1512 |
+%macro get_GOT 0
|
1513 | |
+ call .get_GOT
|
1514 | |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-.get_GOT wrt ..gotpc
|
|
1513 |
+ call ..@get_GOT
|
|
1514 |
+ add ebx,_GLOBAL_OFFSET_TABLE_+$$-..@get_GOT wrt ..gotpc
|
1515 | 1515 |
+%endmacro
|
1516 | 1516 |
+%else
|
1517 | 1517 |
+%endif
|