mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Rename ret_near to ret and temporarily allow dead relocations
This commit is contained in:
parent
6caef6b86f
commit
09410d7a02
3 changed files with 6 additions and 5 deletions
|
@ -37,6 +37,7 @@ const INLINED_SYMBOLS: [Symbol; 2] = [Symbol::NUM_ABS, Symbol::NUM_ADD];
|
|||
|
||||
// These relocations likely will need a length.
|
||||
// They may even need more definition, but this should be at least good enough for how we will use elf.
|
||||
#[allow(dead_code)]
|
||||
enum Relocation<'a> {
|
||||
LocalData { offset: u64, data: &'a [u8] },
|
||||
LinkedFunction { offset: u64, name: &'a str },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue