History

Add symver support for FreeBSD >= 14

herman ten brugge committed 1 year ago

Commit ea75d5c1 parent 0ce05332 files · +10 −0Browse files

Unified · Split

2 files
  1. tccasm.c +9 −0
  2. tcctok.h +1 −0
tccasm.c+9−0
@@ -971,6 +971,15 @@ static void asm_parse_directive(TCCState *s1, int global) · 970 unmodified lines
971 }971 }
972 break;972 break;
973#endif973#endif
974 /* TODO: Implement symvar support. FreeBSD >= 14 needs this */
975 case TOK_ASMDIR_symver:
976 next();
977 next();
978 skip(',');
979 next();
980 skip('@');
981 next();
982 break;
974 default:983 default:
975 tcc_error("unknown assembler directive '.%s'", get_tok_str(tok, NULL));984 tcc_error("unknown assembler directive '.%s'", get_tok_str(tok, NULL));
976 break;985 break;
tcctok.h+1−0
@@ -412,6 +412,7 @@ · 411 unmodified lines
412 DEF_ASMDIR(short)412 DEF_ASMDIR(short)
413 DEF_ASMDIR(long)413 DEF_ASMDIR(long)
414 DEF_ASMDIR(int)414 DEF_ASMDIR(int)
415 DEF_ASMDIR(symver)
415 DEF_ASMDIR(section) /* must be last directive */416 DEF_ASMDIR(section) /* must be last directive */
416 417
417#if defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64418#if defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t