Skip to content
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

Allow to include or exclude specific sections from a file #70

Open
AngheloAlf opened this issue May 7, 2024 · 0 comments
Open

Allow to include or exclude specific sections from a file #70

AngheloAlf opened this issue May 7, 2024 · 0 comments
Labels
planned feature A new proposed feature
Milestone

Comments

@AngheloAlf
Copy link
Contributor

This would allow finer control over the positioning of the sections of each file.

It should work without issues with section reordering ( #44 ).

Compatibility with #27 will be weird.

Syntax would look like something like this

  - name: code
    files:
      - { path: src/code/main.o }
      - { path: src/code/z_message_PAL.o, only_sections: [.data], section_order: { .data: .rodata } }
      - { path: src/code/z_game_over.o, only_sections: [.data], section_order: { .data: .rodata } }
      - { path: src/code/z_message_PAL.o, exclude_sections: [.data] }
      - { path: src/code/z_game_over.o, exclude_sections: [.data] }

Combining only_sections and exclude_sections in the same entry should be illegal.

@AngheloAlf AngheloAlf added this to the 1.0.0 milestone May 7, 2024
@AngheloAlf AngheloAlf added the planned feature A new proposed feature label Jul 14, 2024
@AngheloAlf AngheloAlf changed the title Allow to only include or exclude specific sections from a file Allow to include or exclude specific sections from a file Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
planned feature A new proposed feature
Projects
Status: Todo
Development

No branches or pull requests

1 participant