/* Meta support for 32-bit ELF
- Copyright (C) 2013-2021 Free Software Foundation, Inc.
+ Copyright (C) 2013-2022 Free Software Foundation, Inc.
Contributed by Imagination Technologies Ltd.
This file is part of BFD, the Binary File Descriptor library.
if ((bfd_link_pic (info)
&& r_symndx != STN_UNDEF
&& (input_section->flags & SEC_ALLOC) != 0
- && (r_type != R_METAG_RELBRANCH
- || !SYMBOL_CALLS_LOCAL (info, &hh->eh)))
+ && !(r_type == R_METAG_RELBRANCH
+ && (hh == NULL || SYMBOL_CALLS_LOCAL (info, &hh->eh))))
|| (!bfd_link_pic (info)
&& hh != NULL
&& hh->eh.dynindx != -1
#define ELF_ARCH bfd_arch_metag
#define ELF_TARGET_ID METAG_ELF_DATA
#define ELF_MACHINE_CODE EM_METAG
-#define ELF_MINPAGESIZE 0x1000
-#define ELF_MAXPAGESIZE 0x4000
+#define ELF_MAXPAGESIZE 0x4000
#define ELF_COMMONPAGESIZE 0x1000
#define TARGET_LITTLE_SYM metag_elf32_vec