Set x86_cie_data_alignment to -4 for x32.
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 5 Mar 2011 02:16:36 +0000 (02:16 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 5 Mar 2011 02:16:36 +0000 (02:16 +0000)
commitac480657f156d963e5910b958c7b64fcee955f88
tree5bf00ac371f513d42ee2d4c98b290066f26c689f
parentda3ecdc6646f015c02e4414ff54251382b252663
Set x86_cie_data_alignment to -4 for x32.

gas/

2011-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (x86_cie_stack_alignment): New.
(md_begin): Set x86_cie_data_alignment if it isn't set.  Set
x86_cie_stack_alignment.
(i386_target_format): Set x86_cie_data_alignment to -4 for x32.
(tc_x86_frame_initial_instructions): Use x86_cie_stack_alignment
instead of x86_cie_data_alignment on SP and RA.

gas/testsuite/

2011-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/ilp32/cfi/cfi-x86_64.d: Updated.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d