This is the mail archive of the binutils@sourceware.org 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]

Re: PATCH: PR ld/4409: --unresolved-symbols=ignore-all issues on ia64


"H.J. Lu" <hjl@lucon.org> writes:

> --- binutils/ld/testsuite/ld-ia64/error3.d.error	2007-07-03 09:43:00.000000000 -0700
> +++ binutils/ld/testsuite/ld-ia64/error3.d	2007-07-03 09:43:17.000000000 -0700
> @@ -0,0 +1,7 @@
> +#source: error1.s
> +#ld: -pie -shared
> +#readelf: -s
> +
> +#...
> +[ 	]+[0-9]+:[ 	]+[0]+[ 	]+0[ 	]+NOTYPE[ 	]+GLOBAL DEFAULT[ 	]+UND[ 	]+foo
> +#pass
> --- binutils/ld/testsuite/ld-ia64/error4.d.error	2007-07-03 09:56:43.000000000 -0700
> +++ binutils/ld/testsuite/ld-ia64/error4.d	2007-07-03 10:23:18.000000000 -0700
> @@ -0,0 +1,3 @@
> +#source: error1.s
> +#ld: -shared -pie
> +#error: .*undefined reference to `foo'

The order of arguments should not change the behaviour.  The combination
of -shared with -pie should be an error instead.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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