* gas/elf/elf.exp (groupautob): Don't run on xtensa.
[deliverable/binutils-gdb.git] / gold / gold.h
index 5c98de04684daf8d7f945be211c3f103e198859f..90f1f7d1f4ecfbf6ae53c5ef387b0d6e55223963 100644 (file)
@@ -121,7 +121,7 @@ struct hash<T*>
 
 #define Unordered_set std::set
 #define Unordered_map std::map
-#define Unordered_map std::multimap
+#define Unordered_multimap std::multimap
 
 #define reserve_unordered_map(map, n)
 
@@ -401,6 +401,15 @@ string_hash(const Char_type* s)
   return h;
 }
 
+// Return whether STRING contains a wildcard character.  This is used
+// to speed up matching.
+
+inline bool
+is_wildcard_string(const char* s)
+{
+  return strpbrk(s, "?*[") != NULL;
+}
+
 } // End namespace gold.
 
 #endif // !defined(GOLD_GOLD_H)
This page took 0.022873 seconds and 4 git commands to generate.