* lto-elf.c (SHN_XINDEX): Define if not already defined.

From-SVN: r165464
This commit is contained in:
Eric Botcazou 2010-10-14 12:43:37 +00:00 committed by Eric Botcazou
parent 8ac7fdcb39
commit 82971de5f6
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-10-14 Eric Botcazou <ebotcazou@adacore.com>
* lto-elf.c (SHN_XINDEX): Define if not already defined.
2010-10-08 Joseph Myers <joseph@codesourcery.com>
* lto-lang.c (lto_init_options): Change to

View File

@ -42,10 +42,15 @@ along with GCC; see the file COPYING3. If not see
#ifndef ELFOSABI_NONE
# define ELFOSABI_NONE 0
#endif
#ifndef ELFOSABI_LINUX
# define ELFOSABI_LINUX 3
#endif
#ifndef SHN_XINDEX
# define SHN_XINDEX 0xffff
#endif
/* Handle opening elf files on hosts, such as Windows, that may use
text file handling that will break binary access. */