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
971971 }
972972 break;
973973 #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;
974983 default:
975984 tcc_error("unknown assembler directive '.%s'", get_tok_str(tok, NULL));
976985 break;
tcctok.h+1−0
@@ -412,6 +412,7 @@ · 411 unmodified lines
412412 DEF_ASMDIR(short)
413413 DEF_ASMDIR(long)
414414 DEF_ASMDIR(int)
415+ DEF_ASMDIR(symver)
415416 DEF_ASMDIR(section) /* must be last directive */
416417
417418 #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