mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
Fix non-ELF powerpc build breakage
* config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
This commit is contained in:
parent
0796a6293f
commit
05f7541ea7
@ -1,3 +1,7 @@
|
|||||||
|
2016-04-15 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
|
||||||
|
|
||||||
2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||||
|
|
||||||
* config/tc-nios2.c (nios2_as_options): Make file static.
|
* config/tc-nios2.c (nios2_as_options): Make file static.
|
||||||
|
@ -206,11 +206,13 @@ ppc_cpu_t sticky = 0;
|
|||||||
/* Value for ELF e_flags EF_PPC64_ABI. */
|
/* Value for ELF e_flags EF_PPC64_ABI. */
|
||||||
unsigned int ppc_abiversion = 0;
|
unsigned int ppc_abiversion = 0;
|
||||||
|
|
||||||
|
#ifdef OBJ_ELF
|
||||||
/* Flags set on encountering toc relocs. */
|
/* Flags set on encountering toc relocs. */
|
||||||
static enum {
|
static enum {
|
||||||
has_large_toc_reloc = 1,
|
has_large_toc_reloc = 1,
|
||||||
has_small_toc_reloc = 2
|
has_small_toc_reloc = 2
|
||||||
} toc_reloc_types;
|
} toc_reloc_types;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Warn on emitting data to code sections. */
|
/* Warn on emitting data to code sections. */
|
||||||
int warn_476;
|
int warn_476;
|
||||||
|
Loading…
Reference in New Issue
Block a user