Page MenuHomeFreeBSD

libdwarf: Handle .rel relocations
ClosedPublic

Authored by emaste on Feb 10 2015, 8:50 PM.
Tags
None
Referenced Files
F133407143: D1819.id3741.diff
Sat, Oct 25, 2:07 PM
F133407089: D1819.id.diff
Sat, Oct 25, 2:06 PM
F133407063: D1819.id3722.diff
Sat, Oct 25, 2:06 PM
F133407013: D1819.id3742.diff
Sat, Oct 25, 2:06 PM
F133364203: D1819.id.diff
Sat, Oct 25, 5:23 AM
Unknown Object (File)
Fri, Oct 24, 1:58 AM
Unknown Object (File)
Thu, Oct 23, 12:31 PM
Unknown Object (File)
Tue, Oct 21, 10:15 PM

Details

Summary

Some architectures have .rel relocations for debug data, so handle it in addition to .rela.

Issue discovered from ctfconvert on un-linked ARM object files.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to libdwarf: Handle .rel relocations.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: gnn.
emaste added a subscriber: Unknown Object (MLST).
rpaulo added a reviewer: rpaulo.
rpaulo added a subscriber: rpaulo.

Reviewed.

This revision is now accepted and ready to land.Feb 11 2015, 7:19 PM
emaste edited edge metadata.

Refactor common parts of .rel and .rela handling, based on feedback about non-obvious size==0 return from _dwarf_get_reloc_size

This revision now requires review to proceed.Feb 11 2015, 8:00 PM
gnn edited edge metadata.
This revision is now accepted and ready to land.Feb 11 2015, 10:40 PM
imp added a reviewer: imp.
emaste updated this revision to Diff 3742.

Closed by commit rS278611 (authored by @emaste).