From ee1b5888413cde990618e68e627b9c52ec80b8ee Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 19 Jul 2013 10:39:51 +0000 Subject: * 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. --- ld/ldlang.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'ld/ldlang.h') 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 -- cgit v1.2.1