mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 06:05:00 -07:00
Add -reloc-mode:<string>
This commit is contained in:
@@ -189,6 +189,13 @@ enum ErrorPosStyle {
|
||||
ErrorPosStyle_COUNT
|
||||
};
|
||||
|
||||
enum RelocMode {
|
||||
RelocMode_Default,
|
||||
RelocMode_Static,
|
||||
RelocMode_PIC,
|
||||
RelocMode_DynamicNoPIC,
|
||||
};
|
||||
|
||||
// This stores the information for the specify architecture of this build
|
||||
struct BuildContext {
|
||||
// Constants
|
||||
@@ -270,6 +277,8 @@ struct BuildContext {
|
||||
|
||||
bool copy_file_contents;
|
||||
|
||||
RelocMode reloc_mode;
|
||||
|
||||
|
||||
u32 cmd_doc_flags;
|
||||
Array<String> extra_packages;
|
||||
|
||||
Reference in New Issue
Block a user