GAS: Replace leading spaces with tabs across dw2gencfi.c

* dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
	(dot_cfi_val_encoded_addr, output_cfi_insn): Likewise.
	(output_cie, cfi_change_reg_numbers, cfi_finish): Likewise.
This commit is contained in:
Maciej W. Rozycki 2014-08-20 20:40:10 +01:00
parent 8c45e5ec6b
commit 83e12debff
2 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,9 @@
2014-08-20 Maciej W. Rozycki <macro@codesourcery.com>
* dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
(dot_cfi_val_encoded_addr, output_cfi_insn): Likewise.
(output_cie, cfi_change_reg_numbers, cfi_finish): Likewise.
2014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/tc-arm.c (parse_ifimm_zero): New function. * config/tc-arm.c (parse_ifimm_zero): New function.

View File

@ -187,8 +187,8 @@ make_debug_seg (segT cseg, char *name, int sflags)
else else
flags = bfd_get_section_flags (stdoutput, cseg) flags = bfd_get_section_flags (stdoutput, cseg)
& (SEC_LINK_ONCE | SEC_LINK_DUPLICATES_DISCARD & (SEC_LINK_ONCE | SEC_LINK_DUPLICATES_DISCARD
| SEC_LINK_DUPLICATES_ONE_ONLY | SEC_LINK_DUPLICATES_SAME_SIZE | SEC_LINK_DUPLICATES_ONE_ONLY | SEC_LINK_DUPLICATES_SAME_SIZE
| SEC_LINK_DUPLICATES_SAME_CONTENTS); | SEC_LINK_DUPLICATES_SAME_CONTENTS);
/* Add standard section flags. */ /* Add standard section flags. */
flags |= sflags; flags |= sflags;
@ -999,7 +999,7 @@ dot_cfi_val_encoded_addr (int ignored ATTRIBUTE_UNUSED)
break; break;
case O_constant: case O_constant:
if ((encoding & 0x70) != DW_EH_PE_pcrel) if ((encoding & 0x70) != DW_EH_PE_pcrel)
break; break;
default: default:
encoding = DW_EH_PE_omit; encoding = DW_EH_PE_omit;
break; break;
@ -1330,15 +1330,15 @@ output_cfi_insn (struct cfi_insn_data *insn)
case CFI_val_encoded_addr: case CFI_val_encoded_addr:
{ {
unsigned encoding = insn->u.ea.encoding; unsigned encoding = insn->u.ea.encoding;
offsetT encoding_size; offsetT encoding_size;
if (encoding == DW_EH_PE_omit) if (encoding == DW_EH_PE_omit)
break; break;
out_one (DW_CFA_val_expression); out_one (DW_CFA_val_expression);
out_uleb128 (insn->u.ea.reg); out_uleb128 (insn->u.ea.reg);
switch (encoding & 0x7) switch (encoding & 0x7)
{ {
case DW_EH_PE_absptr: case DW_EH_PE_absptr:
encoding_size = DWARF2_ADDR_SIZE (stdoutput); encoding_size = DWARF2_ADDR_SIZE (stdoutput);
@ -1521,7 +1521,7 @@ output_cie (struct cie_entry *cie, bfd_boolean eh_frame, int align)
if (cie->first) if (cie->first)
{ {
for (i = cie->first; i != cie->last; i = i->next) for (i = cie->first; i != cie->last; i = i->next)
{ {
if (CUR_SEG (i) != CUR_SEG (cie)) if (CUR_SEG (i) != CUR_SEG (cie))
continue; continue;
output_cfi_insn (i); output_cfi_insn (i);
@ -1779,7 +1779,7 @@ cfi_change_reg_numbers (struct cfi_insn_data *insn, segT ccseg)
for (; insn; insn = insn->next) for (; insn; insn = insn->next)
{ {
if (CUR_SEG (insn) != ccseg) if (CUR_SEG (insn) != ccseg)
continue; continue;
switch (insn->insn) switch (insn->insn)
{ {
case DW_CFA_advance_loc: case DW_CFA_advance_loc:
@ -1874,7 +1874,7 @@ cfi_finish (void)
} }
do do
{ {
ccseg = NULL; ccseg = NULL;
seek_next_seg = 0; seek_next_seg = 0;
@ -1944,7 +1944,7 @@ cfi_finish (void)
alignment); alignment);
do do
{ {
ccseg = NULL; ccseg = NULL;
seek_next_seg = 0; seek_next_seg = 0;