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. From-SVN: r163970
This commit is contained in:
parent
274eec6c00
commit
4e75177267
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2010-09-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config.gcc: Don't append t-android for Android targets.
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "tconfig.h"
|
||||
#include "tsystem.h"
|
||||
#ifndef inhibit_libc
|
||||
#include <link.h>
|
||||
#include <elf.h> /* Get DT_CONFIG. */
|
||||
#endif
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
|
@ -59,6 +59,8 @@
|
|||
|
||||
#if defined(USE_PT_GNU_EH_FRAME)
|
||||
|
||||
#include <link.h>
|
||||
|
||||
#ifndef __RELOC_POINTER
|
||||
# define __RELOC_POINTER(ptr, base) ((ptr) + (base))
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue