Remove LOAD FRAGMENT

It's very troublesome, with flaky semantics and a very restricted use space.
This commit is contained in:
ISSOtm
2021-05-02 23:51:41 +02:00
parent 02cb5a0526
commit 1d01268249
15 changed files with 8 additions and 79 deletions

View File

@@ -427,6 +427,11 @@ void out_SetLoadSection(char const *name, uint32_t type, uint32_t org,
return;
}
if (mod == SECTION_FRAGMENT) {
error("`LOAD FRAGMENT` is not allowed\n");
return;
}
struct Section *sect = getSection(name, type, org, attribs, mod);
changeSection();