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]

patch to remove duplicate flag initialization


The config.make_executable flag is initialized twice.  This patch removes
the second instance.

2000-11-17  Fred Fish  <fnf@be.com>

	* ldmain.c (main): Remove redundant init of config.make_executable
	to true.
 
Index: ld/ldmain.c
===================================================================
RCS file: /cvs/src/src/ld/ldmain.c,v
retrieving revision 1.16
diff -c -p -r1.16 ldmain.c
*** ldmain.c	2000/10/09 15:09:17	1.16
--- ldmain.c	2000/11/18 08:32:57
*************** main (argc, argv)
*** 248,254 ****
    force_make_executable = false;
    config.magic_demand_paged = true;
    config.text_read_only = true;
-   config.make_executable = true;
  
    emulation = get_emulation (argc, argv);
    ldemul_choose_mode (emulation);
--- 249,254 ----

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