/* This testcase is part of GDB, the GNU debugger.
- Copyright 2009, 2011 Free Software Foundation, Inc.
+ Copyright 2009-2018 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <unistd.h>
#include <assert.h>
#include <stdio.h>
+#include <string.h>
+
+/* Force REL->RELA conversion on i386, see "Prelink", March 4, 2004. */
+volatile int v[2];
+volatile int *vptr = &v[1];
void
libfunc (const char *action)