binutils 2.11-CVS won't link GCC 3.0-snap's libobjc.so on Red Hat

Richard Henderson rth@redhat.com
Wed Jul 11 14:15:00 GMT 2001


On Tue, Jul 10, 2001 at 09:39:50PM -0700, H . J . Lu wrote:
> -						 ((sec->flags & (SEC_ALLOC
> -								 | SEC_LOAD))
> +						 (((sec->flags
> +						    & SEC_DEBUGGING)
> +						   ? (sec->flags
> +						      & (SEC_ALLOC
> +							 | SEC_LOAD))
> +						   : (SEC_ALLOC
> +						      | SEC_LOAD))

Why should SEC_DEBUGGING be involved?  Why not

	sec->flags & SEC_ALLOC ? SEC_ALLOC | SEC_LOAD : 0


r~



More information about the Binutils mailing list