Skip to content

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

@AngheloAlf

Description

@AngheloAlf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions