This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]