From f0641a0b382db7403f04fab3d4e8fac25a2b68af Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 7 Nov 2006 04:40:46 +0000 Subject: Rework stringpool and hash tables so that we always generate the same output regardless of randomize_va_space. --- gold/layout.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/layout.h') diff --git a/gold/layout.h b/gold/layout.h index bb2b644..fa34617 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -196,8 +196,8 @@ class Layout // Return the output section for NAME, TYPE and FLAGS. Output_section* - get_output_section(const char* name, elfcpp::Elf_Word type, - elfcpp::Elf_Xword flags); + get_output_section(const char* name, Stringpool::Key name_key, + elfcpp::Elf_Word type, elfcpp::Elf_Xword flags); // Create a new Output_section. Output_section* @@ -218,7 +218,7 @@ class Layout // Mapping from input section name/type/flags to output section. We // use canonicalized strings here. - typedef std::pair > Key; struct Hash_key -- cgit v1.1