Add alignment of sections to objects

Aligned sections can now be created with out_NewAlignedSection(). This information is stored in created object files, and read by the linker.

The names of each section are also included in the object file, enabling potential improvements to error messages in the future.
This commit is contained in:
Ben10do
2017-02-19 22:35:32 +00:00
parent b07c04cd74
commit e4cbf773f6
4 changed files with 52 additions and 18 deletions

View File

@@ -63,8 +63,10 @@ enum eSectionType {
struct sSection {
SLONG nBank;
SLONG nOrg;
SLONG nAlign;
BBOOL oAssigned;
char *pzName;
SLONG nByteSize;
enum eSectionType Type;
UBYTE *pData;