bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/24768] Stop using __gnu_lto_slim symbol as a detection of


From: amodra at gmail dot com
Subject: [Bug binutils/24768] Stop using __gnu_lto_slim symbol as a detection of a slim LTO object
Date: Sat, 13 Jul 2019 08:05:41 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24768

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
+/* This a copy of lto_section defined in GCC (lto-streamer.h).  */
+
+struct lto_section
+{
+  int16_t major_version;
+  int16_t minor_version;
+  unsigned char slim_object: 1;
+  unsigned int compression: 4;
+  int32_t reserved0: 27;
+};
+

The layout of this struct depends on the host compiler.  Won't that cause
problems in object file portability?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]