Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Feb 27, 2024
1 parent 364663f commit 69e5a9b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 45 deletions.
9 changes: 4 additions & 5 deletions tests/input_files/drmario64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ settings:
base_path: build/us

sections_allowlist:
# Basic sections.
# lld complains if .shstrtab is not explictly mentioned on the linker script when using a wildcard discard, so here we are
- .strtab
- .symtab
- .shstrtab
# mips debug sections
- .pdr
- .mdebug
Expand Down Expand Up @@ -55,6 +50,10 @@ settings:
# misc
- .note
- .comment
sections_allowlist_extra:
- .shstrtab
- .strtab
- .symtab
sections_denylist:
- .reginfo
- .MIPS.abiflags
Expand Down
8 changes: 0 additions & 8 deletions tests/linker_scripts/basic_example.ld
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,6 @@ SECTIONS
boot_ROM_END = __romPos;
boot_ROM_SIZE = ABSOLUTE(boot_ROM_END - boot_ROM_START);

.strtab 0 :
{
*(.strtab);
}
.symtab 0 :
{
*(.symtab);
}
.shstrtab 0 :
{
*(.shstrtab);
Expand Down
20 changes: 4 additions & 16 deletions tests/linker_scripts/drmario64.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7475,18 +7475,6 @@ SECTIONS
segment_tutorial_data_ROM_END = __romPos;
segment_tutorial_data_ROM_SIZE = ABSOLUTE(segment_tutorial_data_ROM_END - segment_tutorial_data_ROM_START);

.strtab 0 :
{
*(.strtab);
}
.symtab 0 :
{
*(.symtab);
}
.shstrtab 0 :
{
*(.shstrtab);
}
.pdr 0 :
{
*(.pdr);
Expand Down Expand Up @@ -7624,6 +7612,10 @@ SECTIONS
*(.comment);
}

.shstrtab 0 :
{
*(.shstrtab);
}
.strtab 0 :
{
*(.strtab);
Expand All @@ -7632,10 +7624,6 @@ SECTIONS
{
*(.symtab);
}
.shstrtab 0 :
{
*(.shstrtab);
}

/DISCARD/ :
{
Expand Down
8 changes: 0 additions & 8 deletions tests/linker_scripts/hardcoded_gp.ld
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,6 @@ SECTIONS
main_ROM_END = __romPos;
main_ROM_SIZE = ABSOLUTE(main_ROM_END - main_ROM_START);

.strtab 0 :
{
*(.strtab);
}
.symtab 0 :
{
*(.symtab);
}
.shstrtab 0 :
{
*(.shstrtab);
Expand Down
8 changes: 0 additions & 8 deletions tests/linker_scripts/makerom_zelda_like.ld
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,6 @@ SECTIONS
_bootSegmentRomEnd = __romPos;
_bootSegmentRomSize = ABSOLUTE(_bootSegmentRomEnd - _bootSegmentRomStart);

.strtab 0 :
{
*(.strtab);
}
.symtab 0 :
{
*(.symtab);
}
.shstrtab 0 :
{
*(.shstrtab);
Expand Down

0 comments on commit 69e5a9b

Please sign in to comment.