Skip to content

write out replace sections in original order#430

Merged
Mic92 merged 1 commit intomasterfrom
ia64-fixes
Nov 5, 2022
Merged

write out replace sections in original order#430
Mic92 merged 1 commit intomasterfrom
ia64-fixes

Conversation

@Mic92
Copy link
Copy Markdown
Member

@Mic92 Mic92 commented Nov 5, 2022

Libc and other programs sometimes make assumption in which order sections.

i.e. glibc expects that the strtab is after the symtab section: https://github.com/bminor/glibc/blob/9cc9d61ee12f2f8620d8e0ea3c42af02bf07fe1e/elf/dl-fptr.c#L179

To decrease the likelyhood of breakages we keep the relative order the same when replacing section.

Thank you!

Please do your best to include a regression test
so that the quality of future releases can be preserved.

Libc and other programs sometimes make assumption in which order
sections.

i.e. glibc expects that the strtab is after the symtab section: https://github.com/bminor/glibc/blob/9cc9d61ee12f2f8620d8e0ea3c42af02bf07fe1e/elf/dl-fptr.c#L179

To decrease the likelyhood of breakages we keep the relative order the
same when replacing section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant