7 lines
174 B
Bash
Executable File
7 lines
174 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This has the effect of making visibility=hidden symbols private in object files
|
|
for obj in "$@" ; do
|
|
ld -r "$obj" -o "$obj.tmp" && mv "$obj.tmp" "$obj"
|
|
done
|