xref: /illumos-gate/usr/src/test/elf-tests/tests/groups/strip-groups/README.md (revision 201ceb75ab95f9bf1f42ea1dc9ab363b43ba47cf)
1This is a test that when stripping (via `ld -s`) members of a group, we do not
2corrupt the group.
3
4strip-one: We create a group where some, but not all members are strippable
5	and verify that ld does not crash when processing such an object, that the
6	right member was stripped, and that ld -r outputs a group which is valid.
7
8strip-two: Create a group where the middle two sections are strippable, verify
9    that the first and last survive.
10
11strip-all: We create a group where all members are stripped and verify this
12    works, and the group doesn't survive ld -r.
13