Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Sep 2010 21:14:41 +0000 (21:14 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Sep 2010 21:14:41 +0000 (21:14 +0000)
commitc274026d371657c7236247ba4f7fddb8c3f5aa21
tree7f60e03d6c1c47fbfc88d204431f39403c22bc56
parent53ecde1653fad71115a04a0638c2d431ab8cc72b
Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.

2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* unwind-dw2-fde-glibc.c: Include <elf.h> for DT_CONFIG.
Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/unwind-dw2-fde-glibc.c