Don't generate PLT for IFUNC GOT/pointer reference
[deliverable/binutils-gdb.git] / bfd / libbfd.c
index 40afc2db5b325fc16e05451dfaabda1bc0763257..7406c189b7d9072aa978e53d8a3fa59dcf444410 100644 (file)
@@ -1,5 +1,5 @@
 /* Assorted BFD support routines, only used internally.
-   Copyright (C) 1990-2015 Free Software Foundation, Inc.
+   Copyright (C) 1990-2016 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -1037,7 +1037,7 @@ safe_read_leb128 (bfd *abfd ATTRIBUTE_UNUSED,
     *length_return = num_read;
 
   if (sign && (shift < 8 * sizeof (result)) && (byte & 0x40))
-    result |= (bfd_vma) -1 << shift;
+    result |= -((bfd_vma) 1 << shift);
 
   return result;
 }
This page took 0.024423 seconds and 4 git commands to generate.