mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 05:42:42 +08:00
* ldlang.h (enum section_type): Delete dsect_section, copy_section,
info_section and overlay_section. Add noalloc_section. * ldlang.c (lang_add_section): Adjust. * ldgram.y (type): Adjust.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2006-06-07 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldlang.h (enum section_type): Delete dsect_section, copy_section,
|
||||||
|
info_section and overlay_section. Add noalloc_section.
|
||||||
|
* ldlang.c (lang_add_section): Adjust.
|
||||||
|
* ldgram.y (type): Adjust.
|
||||||
|
|
||||||
2006-06-06 Alan Modra <amodra@bigpond.net.au>
|
2006-06-06 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* ldlang.c (init_os): Whitespace.
|
* ldlang.c (init_os): Whitespace.
|
||||||
|
10
ld/ldgram.y
10
ld/ldgram.y
@ -1,6 +1,6 @@
|
|||||||
/* A YACC grammar to parse a superset of the AT&T linker scripting language.
|
/* A YACC grammar to parse a superset of the AT&T linker scripting language.
|
||||||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||||
Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
|
Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com).
|
||||||
|
|
||||||
This file is part of GNU ld.
|
This file is part of GNU ld.
|
||||||
@ -963,10 +963,10 @@ section: NAME { ldlex_expression(); }
|
|||||||
|
|
||||||
type:
|
type:
|
||||||
NOLOAD { sectype = noload_section; }
|
NOLOAD { sectype = noload_section; }
|
||||||
| DSECT { sectype = dsect_section; }
|
| DSECT { sectype = noalloc_section; }
|
||||||
| COPY { sectype = copy_section; }
|
| COPY { sectype = noalloc_section; }
|
||||||
| INFO { sectype = info_section; }
|
| INFO { sectype = noalloc_section; }
|
||||||
| OVERLAY { sectype = overlay_section; }
|
| OVERLAY { sectype = noalloc_section; }
|
||||||
;
|
;
|
||||||
|
|
||||||
atype:
|
atype:
|
||||||
|
@ -1962,10 +1962,7 @@ lang_add_section (lang_statement_list_type *ptr,
|
|||||||
{
|
{
|
||||||
case normal_section:
|
case normal_section:
|
||||||
break;
|
break;
|
||||||
case dsect_section:
|
case noalloc_section:
|
||||||
case copy_section:
|
|
||||||
case info_section:
|
|
||||||
case overlay_section:
|
|
||||||
output->bfd_section->flags &= ~SEC_ALLOC;
|
output->bfd_section->flags &= ~SEC_ALLOC;
|
||||||
break;
|
break;
|
||||||
case noload_section:
|
case noload_section:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* ldlang.h - linker command language support
|
/* ldlang.h - linker command language support
|
||||||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
2001, 2002, 2003, 2004, 2005
|
2001, 2002, 2003, 2004, 2005, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GLD, the Gnu Linker.
|
This file is part of GLD, the Gnu Linker.
|
||||||
@ -108,11 +108,8 @@ typedef struct lang_output_statement_struct
|
|||||||
enum section_type
|
enum section_type
|
||||||
{
|
{
|
||||||
normal_section,
|
normal_section,
|
||||||
dsect_section,
|
|
||||||
copy_section,
|
|
||||||
noload_section,
|
noload_section,
|
||||||
info_section,
|
noalloc_section
|
||||||
overlay_section
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This structure holds a list of program headers describing
|
/* This structure holds a list of program headers describing
|
||||||
|
Reference in New Issue
Block a user