Build hppa unwind info for more than .text

Alan Modra alan@linuxcare.com.au
Tue Jan 16 15:14:00 GMT 2001


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.




More information about the Binutils mailing list