return false;
}
\f
-/* Sign-extend VALUE, which has the indicated number of BITS. */
-
-bfd_vma
-_bfd_mips_elf_sign_extend (bfd_vma value, int bits)
-{
- bfd_vma sign = (bfd_vma) 1 << (bits - 1);
- return (value ^ sign) - sign;
-}
-
/* Return non-zero if the indicated VALUE has overflowed the maximum
range expressible by a signed number with the indicated number of
BITS. */
ATTRIBUTE_HIDDEN;
extern unsigned long _bfd_elf_mips_mach
(flagword);
-extern bfd_vma _bfd_mips_elf_sign_extend
- (bfd_vma, int) ATTRIBUTE_HIDDEN;
extern void _bfd_mips_elf_merge_symbol_attribute
(struct elf_link_hash_entry *, unsigned int, bool, bool) ATTRIBUTE_HIDDEN;
extern char *_bfd_mips_elf_get_target_dtag
return r_type == R_MIPS_LITERAL || r_type == R_MICROMIPS_LITERAL;
}
+/* Sign-extend VALUE, which has the indicated number of BITS. */
+
+static inline bfd_vma
+_bfd_mips_elf_sign_extend (bfd_vma value, int bits)
+{
+ bfd_vma sign = (bfd_vma) 1 << (bits - 1);
+ return (value ^ sign) - sign;
+}
+
#define elf_backend_common_definition _bfd_mips_elf_common_definition
#define elf_backend_name_local_section_symbols \
_bfd_mips_elf_name_local_section_symbols