summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/include
diff options
context:
space:
mode:
authorAli Bahrami <Ali.Bahrami@Sun.COM>2010-03-25 11:22:48 -0600
committerAli Bahrami <Ali.Bahrami@Sun.COM>2010-03-25 11:22:48 -0600
commitd444b03e85973a0566ba10d94e6f65ca1a6b21fa (patch)
treed57a4073e21a94d92a5895942378bc88ad83d1cb /usr/src/cmd/sgs/include
parente088a04aae44e543fb280588d641fedad555dd6b (diff)
downloadillumos-joyent-d444b03e85973a0566ba10d94e6f65ca1a6b21fa.tar.gz
6931044 ld should not allow SHT_PROGBITS .eh_frame sections on amd64
6931056 pvs -r output can include empty versions in output
Diffstat (limited to 'usr/src/cmd/sgs/include')
-rw-r--r--usr/src/cmd/sgs/include/libld.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/sgs/include/libld.h b/usr/src/cmd/sgs/include/libld.h
index c9b07c788f..3a2e85d95d 100644
--- a/usr/src/cmd/sgs/include/libld.h
+++ b/usr/src/cmd/sgs/include/libld.h
@@ -453,6 +453,7 @@ struct ofl_desc {
/* symbol capabilities */
#define FLG_OF_PTCAP 0x080000000000 /* PT_SUNWCAP required */
#define FLG_OF_CAPSTRS 0x100000000000 /* capability strings are required */
+#define FLG_OF_EHFRAME 0x200000000000 /* output contains .eh_frame section */
/*
* In the flags1 arena, establish any options that are applicable to archive
@@ -823,6 +824,7 @@ struct os_desc { /* Output section descriptor */
#define FLG_OS_KEY 0x01 /* section requires sort keys */
#define FLG_OS_OUTREL 0x02 /* output rel against this section */
#define FLG_OS_SECTREF 0x04 /* isps are not affected by -zignore */
+#define FLG_OS_EHFRAME 0x08 /* section is .eh_frame */
/*
* The sg_id field of the segment descriptor is used to establish the default