Making generic ld testcases pass on more targets
Nick Clifton
nickc@redhat.com
Wed Feb 16 17:03:00 GMT 2005
Hi Alan,
> +#ifdef BFD_ASSEMBLER
> + {"dc.a", cons, 0},
> +#endif
I like this, but why make the pseudo specific to BFD_ASSEMBLERs ?
> +#ifdef BFD_ASSEMBLER
> + if (nbytes == 0)
> + {
> + /* Choose smallest of 1, 2, 4, 8 bytes that is large enough to
> + contain an address. */
> + nbytes = (stdoutput->arch_info->bits_per_address - 1) / 8;
It might make sense to allow for individual targets to override this
computation with their own value if they so wish.
Cheers
Nick
More information about the Binutils
mailing list