summaryrefslogtreecommitdiff
path: root/lk.c
blob: 21648170aee81721f7c9792f2ad757c2bc7ef8da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "lk.h"
#include "prv.h"
#include "parse.h"
#include "storage.h"

int lk(const struct lex *l, struct prv *p)
{
    struct ast *ast = p->ast;
    struct fn *fn = &ast->fns[ast->nfns - 1];

    return storage(l, p, "linkage section", 1, &fn->lk);
}