[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: appchk/libc functions



Stuart Anderson wrote:
> > I get for all applications:
> > - section .sbss is not in the LSB
> 
> When did .sbss get added? What does it do? It's not documented anywhere.

It's one of the "new" sections added for IA-64.  The s stands for
"short".  There's also .sdata, .sdata1, and so on.  It's helpful for
this architecture as there is a substantial cut off in register+offset
addressing at around 22-24 bits, which is clearly much smaller than
the full 64 bit general addressing.

Typically, local compile-time allocated data ("static" data) will
end up in .sdata or .sbss.  Also, the linkage table needs to end up
in this region as well since one needs at least one pointer from
that area to get to extended addresses in PIC code.

But, why does appchk care what names are used for ELF sections?

It's the attributes that are most important, since they are what's
used to determine how allocated sections are merged into segments.

-- 
Dave Prosser dfp@sco.com (908)790-2358 Rm A332, SCO, Murray Hill, NJ



Reply to: