http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46916

--- Comment #87 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-16 20:51:45 
UTC ---
(In reply to comment #86)
> What is the reasoning behind emitting eh labels again on darwin10? In theory,
> this makes darwin 'less strange' if we can avoid emitting eh labels as no 
> other
> target does.

NOT emitting them --- if you check the patch:

  /* We use the linker to emit the .eh labels for Darwin 9 and above.  */
  if (! for_eh || generating_for_darwin_version >= 9)
    return;


----

the fix you had before was wrong in the sense that it would prevent you from
emitting correct asm with -mmacosx-version-min=10.x (x<6).

now it will emit the .eh when the target OS is <9.

Iain

Reply via email to