Report overlapping sections whenever possible

This commit is contained in:
ISSOtm
2019-11-04 03:24:19 +01:00
parent 197f1e9b7b
commit 7233f568a7
3 changed files with 48 additions and 17 deletions

View File

@@ -20,6 +20,13 @@
*/
void out_AddSection(struct Section const *section);
/**
* Finds an assigned section overlapping another one.
* @param section The section that is being overlapped
* @return A section overlapping it
*/
struct Section const *out_OverlappingSection(struct Section const *section);
/**
* Writes all output (bin, sym, map) files.
*/