Commit 10934c3b by Roger Sayle Committed by Roger Sayle

dwarf2out.c (output_call_frame_info): Create debug_frame_section if it hasn't…

dwarf2out.c (output_call_frame_info): Create debug_frame_section if it hasn't been initialized by dwarf2out_init.


	* dwarf2out.c (output_call_frame_info): Create debug_frame_section
	if it hasn't been initialized by dwarf2out_init.

From-SVN: r112871
parent 63c9a190
2006-04-11 Roger Sayle <roger@eyesopen.com>
* dwarf2out.c (output_call_frame_info): Create debug_frame_section
if it hasn't been initialized by dwarf2out_init.
2006-04-11 John David Anglin <dava.anglin@nrc-cnrc.gc.ca>
* pa.md (MAX_12BIT_OFFSET, MAX_17BIT_OFFSET): Define and use new
......
......@@ -2218,7 +2218,12 @@ output_call_frame_info (int for_eh)
if (for_eh)
switch_to_eh_frame_section ();
else
switch_to_section (debug_frame_section);
{
if (!debug_frame_section)
debug_frame_section = get_section (DEBUG_FRAME_SECTION,
SECTION_DEBUG, NULL);
switch_to_section (debug_frame_section);
}
ASM_GENERATE_INTERNAL_LABEL (section_start_label, FRAME_BEGIN_LABEL, for_eh);
ASM_OUTPUT_LABEL (asm_out_file, section_start_label);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment