[parisc-linux] [patch] Remove magic constant from gas/tc-hppa.c

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Oct 23 03:18:00 GMT 2006


On Sun, Oct 22, 2006 at 01:19:18PM -0400, Jeff Bailey wrote:

> Index: configure

Don't send diff's for generated files.

> +  {"%fr10",  bfd_mach_hppa10,  10 + FP_REG_BASE},
> +  {"%fr10l", bfd_mach_hppa10,  10 + FP_REG_BASE},
> +  {"%fr10r", bfd_mach_hppa10,  10 + FP_REG_BASE + FP_REG_RSEL},

The "fr" entries needs more work now that you have added bfd_mach
values.  bfd_mach_hppa10 only had 16 FP registers (0 to 15) and
the left and right halves were not accessible.  In bfd_mach_hppa11,
16 additional FP registers were added and the left and right
halves became independently accessible.

> +#  ifdef TE_NetBSD
> +#  define ELF_TARGET_FORMAT       "elf32-hppa-netbsd"
> +#  define ELF64_TARGET_FORMAT     "elf64-hppa-linux"

The above line appears to be a typo.  However, the elf64-hppa-netbsd
output format isn't defined yet.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Binutils mailing list