Re: [RFA/DWARF] Do not load .eh_frame section from separete object files

Tristan Gingold
2011-07-02T11:09:44Z

On Jul 1, 2011, at 9:36 PM, Tom Tromey wrote:

>>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>
> Joel> We don't need to read the .eh_frame section from the separate
> Joel> object files, because this data is already present in the
> Joel> main executable (it needs to, or the program wouldn't work).
>
> In the .debug files I looked at, the .eh_frame section is marked NOBITS.
> I wonder why this isn't the case for you.

That's not the case on Darwin, as separate files are object files in this case.

> Joel> Tested on x86_64-linux as well as x86_64-darwin. OK to commit?
>
> The patch itself seems fine to me.
>
> Tom