This is the mail archive of the mailing list for the gas2 project.

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

Re: global vars and symbol visibility for mips32/elf

	    #include <assert.h>
	    int optind[30000], optarg[30000];

If the problem here is that a definition from the library overrides
these implicit definitions, it can be fixed in ld.  In the old days,
ld on a.out files got this right.  It needs to use the maximum size
specified by any definition.

Making -fno-common the default is unacceptable because it causes
trouble for too many programs.  But fixing ld won't cause any other
problems.  So that is the right fix.