Build hppa unwind info for more than .text

Alan Modra alan@linuxcare.com.au
Wed, 17 Jan 2001 10:14:18 +1100 (EST)


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.