This is the mail archive of the binutils@sources.redhat.com 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]

coprocessor register mask in reginfo section ?


Hi Mr.Ian,

Thank You very much for your reply.

GAS for a MIPS processor would emit .reginfo section. This section has
fields for updating coprocessor register mask and GP value. I could find
these fields are always zero.

Can you tell me in what circumstances GAS has to emit coprocessor
register mask and GP value?

If you can give one example, it would be really helpful.

Thank You
K. Feroz



> -----Original Message-----
> From: Ian Lance Taylor [mailto:ian@wasabisystems.com]
> Sent: Sunday, April 25, 2004 5:52 AM
> To: K. Ahmed Feroz
> Cc: binutils@sources.redhat.com
> Subject: Re: What is to be updated in reginfo section coprocessor
register
> mask?
>
> "K. Ahmed Feroz" <feroz@acmet.com> writes:

> >   I have some query regarding the ".reginfo section" produced by gnu

> >   assembler in the elf output file.
> >   The .reginfo section contains information about general purpose
> >   registers used in the assembly file, the coprocessor registers
used in > >   the assembly file and some offset value for the GP
register.
> >   However, the coprocessor register mask and the value for the
offset of
> >   GP register are always initialized to 0(zero).


> > Is this the correct behaviour?
>
> Certainly the assembler should not always emit a .reginfo section
> which has zero for the coprocessor register masks and the GP offset.
> However, there are of course also cases where zero values are
> correct.


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