source:
spec/trunk/SPECS/libc/libc-dmik-emxomf-02-remove-asterisk.diff@
1330
Last change on this file since 1330 was 1092, checked in by , 8 years ago | |
---|---|
File size: 793 bytes |
-
emxomf.c
2726 2726 const char *pszExpName, size_t cchExpName, unsigned iOrdinal) 2727 2727 { 2728 2728 const struct nlist *pSym; 2729 char *pszSym = alloca(cchSymbol + 1); 2729 char *pszSym; 2730 2731 /* 2732 * GCC 4.4.2 prepends an asterisk to exported symbols having the _System 2733 * attribute, remove it 2734 */ 2735 if (*pszSymbol == '*') 2736 { 2737 ++pszSymbol; 2738 --cchSymbol; 2739 } 2740 if (*pszExpName == '*') 2741 { 2742 ++pszExpName; 2743 --cchExpName; 2744 } 2745 2746 pszSym = alloca(cchSymbol + 1); 2730 2747 memcpy(pszSym, pszSymbol, cchSymbol); 2731 2748 pszSym[cchSymbol] = '\0'; 2732 2749
Note:
See TracBrowser
for help on using the repository browser.