diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2019-10-19 15:37:07 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2019-10-19 15:37:07 +0200 |
| commit | dda5ea883a2191b16e08ba1a455a5776acbe57d0 (patch) | |
| tree | 5ccb95133d3135329a89adc606edfd0441861851 /example | |
| parent | 75c24b9c9677600422ec86fa9f4c78fe3678d2ce (diff) | |
| download | rust-dda5ea883a2191b16e08ba1a455a5776acbe57d0.tar.gz rust-dda5ea883a2191b16e08ba1a455a5776acbe57d0.zip | |
Fix debuginfo for machO
This only fixes it when using object::write as backend, and not when using faerie. There were two problems: * object::write doesn't replace .debug_info with __debug_info, unlike faerie * machO requires section relative relocations, and not symbol relative relocations. When using symbol relative relocations, the linker interprets the relocations as section relative. Thus writing the wrong values to the debug sections. Fixes #303
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
