diff options
-rw-r--r-- | gnu/usr.bin/cxxfilt/cxxfilt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cxxfilt/cxxfilt.c b/gnu/usr.bin/cxxfilt/cxxfilt.c index 1804eb23301..10f6f7d6a82 100644 --- a/gnu/usr.bin/cxxfilt/cxxfilt.c +++ b/gnu/usr.bin/cxxfilt/cxxfilt.c @@ -189,6 +189,9 @@ main (argc, argv) program_name = argv[0]; xmalloc_set_program_name (program_name); + if (pledge ("stdio rpath wpath cpath", NULL) == -1) + err (1, "pledge"); + strip_underscore = TARGET_PREPENDS_UNDERSCORE; while ((c = getopt_long (argc, argv, "_ns:", long_options, (int *) 0)) != EOF) |