https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733

--- Comment #7 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Using...

ld -S -r -no_uuid conftest.o.g -o conftest.o.g.stripped
ld -S -r -no_uuid conftest.o.g0 -o conftest.o.g0.stripped
dwarfdump --eh-frame conftest.o.g.stripped > conftest.o.g.stripped.dwarfdump
dwarfdump --eh-frame conftest.o.g0.stripped > conftest.o.g0.stripped.dwarfdump

for conftest.c compiled with Xcode 6.2 Apple Clang 6.0 on
x86_64-apple-darwin13, we get...

% diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
--- conftest.o.g.stripped.dwarfdump    2015-04-10 21:43:15.000000000 -0400
+++ conftest.o.g0.stripped.dwarfdump    2015-04-10 21:43:04.000000000 -0400
@@ -1,5 +1,5 @@
 ----------------------------------------------------------------------
- File: conftest.o.g.stripped (x86_64)
+ File: conftest.o.g0.stripped (x86_64)
 ----------------------------------------------------------------------
 Exception handling frame information for section __eh_frame


but for contest.c compiled with llvm.org 3.6.0's clang on
x86_64-apple-darwin13, we get...

% diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
--- conftest.o.g.stripped.dwarfdump    2015-04-10 21:42:02.000000000 -0400
+++ conftest.o.g0.stripped.dwarfdump    2015-04-10 21:41:52.000000000 -0400
@@ -1,12 +1,12 @@
 ----------------------------------------------------------------------
- File: conftest.o.g.stripped (x86_64)
+ File: conftest.o.g0.stripped (x86_64)
 ----------------------------------------------------------------------
 Exception handling frame information for section __eh_frame

 0x00000000: CIE
         length: 0x00000014
         CIE_id: 0xffffffff
-       version: 0x01
+       version: 0x03
   augmentation: "zR"
     code_align: 1
     data_align: -8

Reply via email to