diff options
author | Roland McGrath <roland@gnu.org> | 2012-11-21 19:56:38 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-11-21 19:56:38 +0000 |
commit | 4724d37ec271a50c31dbebb13c424881b057e8d5 (patch) | |
tree | 577dda280446fa7911f51b0d6cfed564fb408c0c /ld/ld.h | |
parent | e0799d78b16861d304aef64ada6949a19ded2aca (diff) | |
download | gdb-4724d37ec271a50c31dbebb13c424881b057e8d5.zip gdb-4724d37ec271a50c31dbebb13c424881b057e8d5.tar.gz gdb-4724d37ec271a50c31dbebb13c424881b057e8d5.tar.bz2 |
ld/
* ld.h (ld_config_type): New flag member separate_code.
* emultempl/elf32.em
(gld${EMULATION_NAME}_before_parse): Set it based on $SEPARATE_CODE.
* ldlang.c (ldlang_override_segment_assignment): If it's set, then
always return TRUE when SEC_CODE differs between the sections.
Diffstat (limited to 'ld/ld.h')
-rw-r--r-- | ld/ld.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -82,7 +82,7 @@ typedef struct name_list { name_list; typedef enum {sort_none, sort_ascending, sort_descending} sort_order; - + /* A wildcard specification. */ typedef enum { @@ -274,6 +274,9 @@ typedef struct { numbers everywhere. */ bfd_boolean sane_expr; + /* If set, code and non-code sections should never be in one segment. */ + bfd_boolean separate_code; + /* The rpath separation character. Usually ':'. */ char rpath_separator; |