diff options
author | Ian Lance Taylor <iant@google.com> | 2007-09-22 04:42:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-09-22 04:42:09 +0000 |
commit | bfd58944a64b0997a310b95fbe0423338961e71c (patch) | |
tree | ba78dccb512106e5eef43093c326272a679f08c3 /gold/gold.cc | |
parent | 306d9ef0484f1928594ce309c1239252fd4915c8 (diff) | |
download | gdb-bfd58944a64b0997a310b95fbe0423338961e71c.zip gdb-bfd58944a64b0997a310b95fbe0423338961e71c.tar.gz gdb-bfd58944a64b0997a310b95fbe0423338961e71c.tar.bz2 |
Define __start and __stop symbols.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index e7b7ae2..2d33462 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -148,6 +148,10 @@ queue_middle_tasks(const General_options& options, // bother to create a task for it. define_standard_symbols(symtab, layout, input_objects->target()); + // Define __start and __stop symbols for output sections where + // appropriate. + layout->define_section_symbols(symtab, input_objects->target()); + // Read the relocations of the input files. We do this to find // which symbols are used by relocations which require a GOT and/or // a PLT entry, or a COPY reloc. When we implement garbage |