This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Fix for alignment of .stab section in sh-pe gas
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: Fix for alignment of .stab section in sh-pe gas
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Wed, 29 Mar 2000 20:21:42 +0100 (BST)
- CC: amylaar at pasanda dot cygnus dot co dot uk, binutils at sourceware dot cygnus dot com
> * config/tc-sh.h (SUB_SEGMENT_ALIGN): Give the .stab section an
> alignment of 2 and the .stabstr section an alignment of 0.
So why are you still suppressing the effect of the -small option?
> * config/tc-sh.c (sh_cons_align): Do not generate alignment
> frags in the .stab section.
Do you want to suppress the alignment because the data is in the stab
section, or because it's a .stabn / .stabs pseudo-op?
If the answer is the latter, then you can do that by using special
functions to process stabn / stabs, which set sh_no_align_cons before
calling s_stab.
The s_uacons function in tc-sh.c aleady uses sh_no_align_cons to
implement .uaword.