Page MenuHomeFreeBSD

Copy the attribute type if it's unknown

Authored by andrew on Apr 30 2015, 5:25 PM.



bfd will copy attributes as needed, however it will fail to output them if the
type is not set correctly. This can happen when it finds an attribute it hasn't
seen before, for example when building shared objects it will use the
attributes from crti.o, hwever this file has no attributes set.

This fixes a bug where attributes aren't set correctly in shared objects.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

andrew retitled this revision from to Copy the attribute type if it's unknown.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: imp.
andrew edited edge metadata.

Remove Thumb-2 debugging

imp edited edge metadata.
This revision is now accepted and ready to land.Apr 30 2015, 9:16 PM
This revision was automatically updated to reflect the committed changes.