diff options
Diffstat (limited to 'gas/config/tc-alpha.c')
-rw-r--r-- | gas/config/tc-alpha.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 7f80036..70ceba0 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -1205,10 +1205,9 @@ create_literal_section (const char *name, *secp = new_sec = subseg_new (name, 0); subseg_set (current_section, current_subsec); - bfd_set_section_alignment (stdoutput, new_sec, 4); - bfd_set_section_flags (stdoutput, new_sec, - SEC_RELOC | SEC_ALLOC | SEC_LOAD | SEC_READONLY - | SEC_DATA); + bfd_set_section_alignment (new_sec, 4); + bfd_set_section_flags (new_sec, (SEC_RELOC | SEC_ALLOC | SEC_LOAD + | SEC_READONLY | SEC_DATA)); S_CLEAR_EXTERNAL (*symp = section_symbol (new_sec)); } @@ -3985,8 +3984,8 @@ s_alpha_stab (int n) if (alpha_flag_mdebug < 0) { segT sec = subseg_new (".mdebug", 0); - bfd_set_section_flags (stdoutput, sec, SEC_HAS_CONTENTS | SEC_READONLY); - bfd_set_section_alignment (stdoutput, sec, 3); + bfd_set_section_flags (sec, SEC_HAS_CONTENTS | SEC_READONLY); + bfd_set_section_alignment (sec, 3); ecoff_read_begin_hook (); @@ -5301,7 +5300,7 @@ maybe_set_gp (asection *sec) if (!sec) return; - vma = bfd_get_section_vma (sec->owner, sec); + vma = bfd_section_vma (sec); if (vma && vma < alpha_gp_value) alpha_gp_value = vma; } @@ -5515,8 +5514,8 @@ md_begin (void) if (ECOFF_DEBUGGING) { segT sec = subseg_new (".mdebug", (subsegT) 0); - bfd_set_section_flags (stdoutput, sec, SEC_HAS_CONTENTS | SEC_READONLY); - bfd_set_section_alignment (stdoutput, sec, 3); + bfd_set_section_flags (sec, SEC_HAS_CONTENTS | SEC_READONLY); + bfd_set_section_alignment (sec, 3); } #endif @@ -5563,7 +5562,7 @@ md_assemble (char *str) valueT md_section_align (segT seg, valueT size) { - int align = bfd_get_section_alignment (stdoutput, seg); + int align = bfd_section_alignment (seg); valueT mask = ((valueT) 1 << align) - 1; return (size + mask) & ~mask; |