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

John David Anglin <[email protected]>
Newsgroups gmane.comp.gnu.binutils,gmane.linux.ports.hppa
Message-ID <[email protected]>
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                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.