Skip to content

Conversation

@Mic92
Copy link
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