[PATCH] remove remnants of old Mach-O workaround

Tristan Gingold gingold@adacore.com
Tue Dec 10 14:55:00 GMT 2013


On 10 Dec 2013, at 15:29, Tom Tromey <tromey@redhat.com> wrote:

> I happened to run readelf on an ELF file created by Guile.  readelf
> complained about invalid values for DW_FORM_strp.  At first I assumed
> this was just a Guile bug, but eu-readelf did the right thing, so I
> looked a bit deeper.
> 
> I came across some old Mach-O code to bias some offsets by section
> addresses.  Guile, unlike many ELF writers, sets the address for the
> various DWARF-related sections, causing this unusual code to be run.

Ok from a Mach-O maintainer point of view.

However, I am not sure that Guile does the right thing here...

Tristan.



More information about the Binutils mailing list