aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-04-18 03:55:10 +0000
committerAlan Modra <amodra@gmail.com>2007-04-18 03:55:10 +0000
commit152d792f471303cf361c7c5dd5bba2d5dcc3e727 (patch)
tree7f57895fca6d263f1e28d73eca4ffe89d3bd0519 /ld/ldlang.h
parent4904bbd9d14123e56b89b97fb563012257ca9607 (diff)
downloadgdb-152d792f471303cf361c7c5dd5bba2d5dcc3e727.zip
gdb-152d792f471303cf361c7c5dd5bba2d5dcc3e727.tar.gz
gdb-152d792f471303cf361c7c5dd5bba2d5dcc3e727.tar.bz2
ld/
* ldlang.h (enum section_type): Add overlay_section. * ldlang.c (lang_add_section): Handle flags for overlay_section as per normal_section. (lang_size_sections_1): When setting lma, detect overlays by os->sectype rather than by looking for overlapping vmas. (lang_enter_overlay_section): Use overlay_section type. (lang_leave_overlay): Set first overlay section to normal. ld/testsuite/ * ld-spu/ovl.lnk: Use OVERLAY keyword.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 33abf9f..f52f46f 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -108,6 +108,7 @@ typedef struct lang_output_statement_struct
enum section_type
{
normal_section,
+ overlay_section,
noload_section,
noalloc_section
};