diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-06-24 00:38:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-06-24 00:38:00 +0000 |
commit | 1518dc8f89bfcd443f8853368fd44cbd526f2a7f (patch) | |
tree | 137c3587d4a25e9d527e5e8e7eeac06fe2553ed2 /gold/layout.h | |
parent | a71d5864861507609376014210d365250704b225 (diff) | |
download | gdb-1518dc8f89bfcd443f8853368fd44cbd526f2a7f.zip gdb-1518dc8f89bfcd443f8853368fd44cbd526f2a7f.tar.gz gdb-1518dc8f89bfcd443f8853368fd44cbd526f2a7f.tar.bz2 |
PR 10219
* layout.cc (Layout::Layout): Initialize have_stabstr_section_.
(Layout::make_output_section): Set have_stabstr_section_ if we see
a .stab*str section.
(Layout::finalize): Call link_stabs_sections.
(Layout::link_stabs_sections): New file.
* layout.h (class Layout): Add have_stabstr_section_ field.
Declare link_stabs_sections.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index 93ecd85..f538b64 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -480,6 +480,10 @@ class Layout void create_build_id(); + // Link .stab and .stabstr sections. + void + link_stabs_sections(); + // Create .gnu_incremental_inputs and .gnu_incremental_strtab sections needed // for the next run of incremental linking to check what has changed. void @@ -724,6 +728,8 @@ class Layout bool any_postprocessing_sections_; // Whether we have resized the signatures_ hash table. bool resized_signatures_; + // Whether we have created a .stab*str output section. + bool have_stabstr_section_; // In incremental build, holds information check the inputs and build the // .gnu_incremental_inputs section. Incremental_inputs* incremental_inputs_; |