projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90f6517
)
* emultempl/sunos.em: Only look for .so files if doing a dynamic
author
Ian Lance Taylor
<ian@airs.com>
Fri, 10 Jun 1994 20:46:42 +0000
(20:46 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Fri, 10 Jun 1994 20:46:42 +0000
(20:46 +0000)
link.
ld/emultempl/sunos.em
patch
|
blob
|
history
diff --git
a/ld/emultempl/sunos.em
b/ld/emultempl/sunos.em
index c6c1605df15320bf547a2add75b967cbddeba53a..9f9132317f1f9ad2b4d927daee278b2ff29a5bcb 100644
(file)
--- a/
ld/emultempl/sunos.em
+++ b/
ld/emultempl/sunos.em
@@
-82,7
+82,8
@@
gld${EMULATION_NAME}_before_parse()
static void
gld${EMULATION_NAME}_create_output_section_statements ()
{
- lang_for_each_input_file (gld${EMULATION_NAME}_find_so);
+ if (config.dynamic_link)
+ lang_for_each_input_file (gld${EMULATION_NAME}_find_so);
}
/* Search the directory for a .so file for each library search. */