[PATCH, ARM] Re-use VFP encoding functions for VLDR/VSTR

Julian Brown julian@codesourcery.com
Mon Jun 5 14:05:00 GMT 2006


Hi,

This patch removes some redundant code in the gas support for the 
VFP/Neon instructions VLDR/VSTR, and uses the previous VFP routines 
instead. (The syntax is basically the same apart from the initial 
mnemonic, and the do_vfp_nsyn_opcode function wasn't there when 
do_neon_ldr_str was initially written.)

This fixes a problem that the VLDR/VSTR instructions don't currently 
handle relocations properly, so e.g. offsets had to be fixed at parsing 
time. A followup patch (Mark Shinwell) tests that functionality further. 
This patch alone tests ok with "make check" with cross to arm-none-eabi.

OK for mainline? The csl branch?

Cheers,

Julian

ChangeLog:

     * config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
     (do_neon_ldr_str): Always defer to VFP encoding routines, which
     handle relocs properly.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vldstr-relocs-2
URL: <https://sourceware.org/pipermail/binutils/attachments/20060605/448f1e96/attachment.ksh>


More information about the Binutils mailing list