diff options
| author | Mark Wielaard <[email protected]> | 2012-01-31 19:22:03 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2012-01-31 23:28:32 +0100 |
| commit | cb643d6731f3b0131e34e055272c694bd0bf97ed (patch) | |
| tree | 4ad31e359c93deb5191d63fa9efd9fa201e6651d /src | |
| parent | a77881a2b8a3202dd3b5d1c61236118d6601bb5c (diff) | |
Handle DW_FORM_sec_offset in dwarf_formudata.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/readelf.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index de6031f1..ff19b484 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-01-31 Mark Wielaard <[email protected]> + + * readelf.c (attr_callback): Don't special case DW_FORM_sec_offset. + 2012-01-21 Ulrich Drepper <[email protected]> * addr2line.c: Update copyright year. diff --git a/src/readelf.c b/src/readelf.c index 10e25e3a..88766889 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -5612,9 +5612,6 @@ attr_callback (Dwarf_Attribute *attrp, void *arg) break; case DW_FORM_sec_offset: - attrp->form = cbargs->offset_size == 8 ? DW_FORM_data8 : DW_FORM_data4; - /* Fall through. */ - case DW_FORM_udata: case DW_FORM_sdata: case DW_FORM_data8: |
