.section will not work in mlb as intended for now because mlb requires
relative memory locations. This will need some more work.
- Add `.error` and `.warning` directives
- Add failing tests for most failure cases
- Assert `.section` in full test
+- Make `.section` work in mlb files
.SH section
\.section <name>
Defines a section name.
- This is currently only used for mlb symbol files, but might be added to other areas in the future.
- If no section was defined the .section directive will use pre-defined values for mlb outputs.
.SH SEE ALSO
}
int ulas_symbolout_mlbloc(FILE *dst, long addr) {
- if (ulas.section[0] != '\0') {
- fprintf(dst, "%s:", ulas.section);
- return 0;
- }
-
if (addr == -1) {
fprintf(dst, "Unknown:");
return 0;