This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: Complex relocs and RELOC_IMPLIES_OVERFLOW attr
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Aurelien Buhrig <aurelien dot buhrig dot gcc at gmail dot com>
- Cc: cgen <cgen at sourceware dot org>
- Date: Mon, 12 Sep 2011 12:38:21 -0400
- Subject: Re: Complex relocs and RELOC_IMPLIES_OVERFLOW attr
- References: <CAJ-J9_Uua-MVWnJ5cZTFWyvGsTJAzCvxeA4D9budRFub_qy7Yw@mail.gmail.com>
Hi -
> I've defined OBJ_COMPLEX_RELC macro to enable complex relocations
> (from mep port) in my cpu port which seems to work well.
> But for gas to compile, the RELOC_IMPLIES_OVERFLOW attr must be
> defined in the cpu file (only in mep-core.cpu till now). [...]
I can't explain why it's done in the present way (using a generated
symbol rather than a hard-coded one); maybe because cgen .cpu-level
symbols cannot normally refer to normal C ones.
> are the complex relocs in cgen a very experimental feature we
> shouldn't use ?
They are done, working as far as I know. However, they are not used
much: their capability is not needed or just not appreciated widely.
- FChE