This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] For alpha-vms, unset flag_jump_tables if flag_pic is nonzero
On May 2, 2012, at 11:45 PM, Richard Henderson wrote:
> On 05/02/2012 12:26 PM, Steven Bosscher wrote:
>>> * config/alpha/vms.h (SUBTARGET_OVERRIDE_OPTIONS): For pic code,
>>> unset flag_jump_tables.
>>> * stmt.c (expand_case): Remove special flag_pic case conditional
>>> on ASM_OUTPUT_ADDR_DIFF_ELT not being defined.
>
> Ok.
>
> I had a brief look at the vms file format. It looks to me as if the lack
> of A_O_A_D_E is a defect in gas; it ought to be representable in the object
> file as a difference of two psect+offset addresses.
Agreed. VMS relocations are much more expressive than standard ELF, so a difference should be supported.
Tristan.