This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build hppa unwind info for more than .text


On Tue, 16 Jan 2001, Nick Clifton wrote:

> : -  if (now_seg != text_section)
> : +  if ((bfd_get_section_flags (stdoutput, now_seg)
> : +       & (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
> : +      != (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
> :      return;
> 
> Won't this create unwind info for read only data sections ?

Only if the assembler sees

 .proc
 .callinfo
 .entry

 function body

 .exit
 .procend

You're unlikely to get unwanted unwind info.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]