x86: Add DT_PLTRELSZ/DT_PLTREL/DT_JMPREL for PLT relocation
[deliverable/binutils-gdb.git] / ld / testsuite / ld-srec / sr3.cc
index bfe5cc849ba32f804921e3521b88915cd1fee17c..0b5fa7ec89355b92e9cbfb64447164f3376d2780 100644 (file)
@@ -11,7 +11,7 @@ public:
     static void init_foo ();
     static int nb_foos() { return foos; }
     Foo();
-    Foo( char* message);
+    Foo(const char* message);
     Foo(const Foo&);
     Foo & operator= (const Foo&);
     ~Foo ();
@@ -55,6 +55,11 @@ __throw ()
 {
 }
 
+void
+__rethrow ()
+{
+}
+
 void
 __terminate ()
 {
@@ -88,7 +93,7 @@ Foo::Foo ()
   i = ++foos;
 }
 
-Foo::Foo (char*)
+Foo::Foo (const char*)
 {
   i = ++foos;
 }
@@ -111,3 +116,12 @@ Foo::~Foo ()
 {
   foos--;
 }
+
+void *__dso_handle;
+
+extern "C"
+int
+__cxa_atexit (void)
+{
+  return 0;
+}
This page took 0.025847 seconds and 4 git commands to generate.