-
Notifications
You must be signed in to change notification settings - Fork 0
Support multi files for linker #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+372
−89
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
107f011
support multifile for linker for sig
katsyoshi c3925f6
introduce multi-file linker interface
katsyoshi fd8a6ea
add build for multi-file
katsyoshi 3a41df2
merge strtab names for multi files
katsyoshi 3efcc6a
merge symtab interface for multi files
katsyoshi 906ac47
recaluculate symtab attributes
katsyoshi 77a4ecf
set section headers symtab, shstrtab, strtab, and text attributes
katsyoshi 383a1f6
fix writer section layout
katsyoshi 1d32616
merge symtab and relocation offsets
katsyoshi 2e1c91f
fix linker relocation for multi-object inputs
katsyoshi 90467c1
apply relocations in builder and drop relocation sections
katsyoshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| class Caotral::Linker | ||
| @input: String | ||
| @inputs: Array[String] | ||
| @output: String | ||
| @linker: String | ||
| @options: Array[String] | ||
| @shared: bool | ||
| @debug: bool | ||
|
|
||
| def self.link!: (input: String, ?output: String, ?linker: String, ?debug: bool, ?shared: bool) -> void | ||
| def initialize: (input: String, ?output: String, ?linker: String, ?linker_options: Array[String], ?shared: bool, ?debug: bool) -> void | ||
| def link: (input: String, ?output: String, ?shared: bool, ?debug: bool) -> void | ||
| def self.link!: (inputs: Array[String], ?output: String, ?linker: String, ?debug: bool, ?shared: bool) -> void | ||
| def initialize: (inputs: Array[String], ?output: String, ?linker: String, ?linker_options: Array[String], ?shared: bool, ?debug: bool) -> void | ||
| def link: (inputs: Array[String], ?output: String, ?shared: bool, ?debug: bool) -> void | ||
|
|
||
| def link_command: (input: String, ?output: String, ?shared: bool, ?debug: bool) -> String | ||
| def link_command: (inputs: Array[String], ?output: String, ?shared: bool, ?debug: bool) -> String | ||
| def libpath: () -> String | ||
| def gcc_libpath: () -> String | ||
| def to_elf: (input: String, ?output: String, ?debug: bool) -> String | ||
| def to_elf: (inputs: Array[String], ?output: String, ?debug: bool) -> String | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.