summaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-19 10:39:51 +0000
committerNick Clifton <nickc@redhat.com>2013-07-19 10:39:51 +0000
commitee1b5888413cde990618e68e627b9c52ec80b8ee (patch)
tree4ffd8008c75245363bd8e56f670c92aef79a3d92 /ld/ldlang.h
parentf74ac3a7f7c62f4456ba2720bdc09f9e4d4bc7d2 (diff)
downloadbinutils-redhat-ee1b5888413cde990618e68e627b9c52ec80b8ee.tar.gz
* ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
* ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l: Likewise. * mri.c: Likewise. * ld.texinfo: Document new feature. * NEWS: Mention new feature. * ld-scripts/script.exp: Run align with input test. * ld-scripts/align-with-input.t: New file. * ld-scripts/rgn-at8.d: Likewise. * ld-scripts/rgn-at8.t: Likewise.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 00e37578d5..2dbec5a413 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -1,7 +1,5 @@
/* ldlang.h - linker command language support
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
- Free Software Foundation, Inc.
+ Copyright 1991-2013 Free Software Foundation, Inc.
This file is part of the GNU Binutils.
@@ -167,6 +165,8 @@ typedef struct lang_output_section_statement_struct
unsigned int update_dot : 1;
/* If this section is after assignment to _end. */
unsigned int after_end : 1;
+ /* If this section uses the alignment of its input sections. */
+ unsigned int align_lma_with_input : 1;
} lang_output_section_statement_type;
typedef struct
@@ -502,12 +502,8 @@ extern void lang_set_flags
extern void lang_add_output
(const char *, int from_script);
extern lang_output_section_statement_type *lang_enter_output_section_statement
- (const char *output_section_statement_name,
- etree_type *address_exp,
- enum section_type sectype,
- etree_type *align,
- etree_type *subalign,
- etree_type *, int);
+ (const char *, etree_type *, enum section_type, etree_type *, etree_type *,
+ etree_type *, int, int);
extern void lang_final
(void);
extern void lang_relax_sections