Index: gcc/config/openbsd.opt
--- gcc/config/openbsd.opt.orig
+++ gcc/config/openbsd.opt
@@ -32,4 +32,7 @@ Driver
 pthread
 Driver
 
+rdynamic
+Driver
+
 ; This comment is to ensure we retain the blank line above.
