projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR26499 UBSAN: eelf32_spu.c:537 member access null pointer
[binutils-gdb.git]
/
ld
/
testplug3.c
diff --git
a/ld/testplug3.c
b/ld/testplug3.c
index 928f4d68426a55842a81f706950827bd56d7dbe2..3b0e9b3b35a16a4c3d9f34f95d5afa0f30b082b5 100644
(file)
--- a/
ld/testplug3.c
+++ b/
ld/testplug3.c
@@
-21,6
+21,7
@@
#include "sysdep.h"
#include "bfd.h"
+#if BFD_SUPPORTS_PLUGINS
#include "plugin-api.h"
#include "filenames.h"
/* For ARRAY_SIZE macro only - we don't link the library itself. */
@@
-627,3
+628,4
@@
oncleanup (void)
fflush (NULL);
return cleanup_ret;
}
+#endif /* BFD_SUPPORTS_PLUGINS */