diff options
author | Klaus Ziegler <klausz@haus-gisela.de> | 2022-01-25 17:33:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-01-25 17:33:03 +0000 |
commit | b6437be6879672d2e0da2c8c7e742f126457b9df (patch) | |
tree | d9afd1ae559a817f873e3cfb7aeb962e46b0b56c /include/elf | |
parent | 042a82e5ee2613909e700a6f4b11ec72a74d2ebd (diff) | |
download | gdb-b6437be6879672d2e0da2c8c7e742f126457b9df.zip gdb-b6437be6879672d2e0da2c8c7e742f126457b9df.tar.gz gdb-b6437be6879672d2e0da2c8c7e742f126457b9df.tar.bz2 |
Fix a probem building the binutils on SPARC/amd64
PR 28816
* elf/common.h (AT_SUN_HWCAP): Make definition conditional.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index 190532b..b1bfa91 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -1406,7 +1406,9 @@ #define AT_SUN_PLATFORM 2008 /* Platform name string. */ #define AT_SUN_CAP_HW1 2009 /* Machine dependent hints about processor capabilities. */ +#ifndef AT_SUN_HWCAP #define AT_SUN_HWCAP AT_SUN_CAP_HW1 /* For backward compat only. */ +#endif #define AT_SUN_IFLUSH 2010 /* Should flush icache? */ #define AT_SUN_CPU 2011 /* CPU name string. */ #define AT_SUN_EMUL_ENTRY 2012 /* COFF entry point address. */ |