This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Set static_link
- From: Momchil Velikov <velco at fadata dot bg>
- To: binutils at sources dot redhat dot com
- Date: 26 Nov 2003 12:19:25 +0200
- Subject: Set static_link
2003-11-26 Momchil Velikov <velco@fadata.bg>
* lexsup.c (parse_args): Set link info ``static_link'' when not
linking agains shared libraries.
--- lexsup.c.~1.68.~ 2003-10-31 16:14:06.000000000 +0200
+++ lexsup.c 2003-11-26 11:47:17.000000000 +0200
@@ -675,6 +675,7 @@ parse_args (unsigned argc, char **argv)
break;
case OPTION_NON_SHARED:
config.dynamic_link = FALSE;
+ link_info.static_link = TRUE;
/* When linking against static libraries, the default
behaviour is to report any unresolved references. */
if (link_info.unresolved_syms_in_objects == RM_NOT_YET_SET)