Skip to content

.SECTION seems to alter output in inexplicable ways? #574

Answered by vhelin
Pokeman2003 asked this question in Q&A
Discussion options

You must be logged in to vote

I see you are using .SECTIONs without specifying their types so they are FREE by default which makes the linker to sort them by their size and place them into suitable spots in the output. If you want to keep e.g. this .SECTION at ORG 0 then you need to add keyword FORCE to the .SECTION definition...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Pokeman2003
Comment options

Answer selected by Pokeman2003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants