diff options
author | Nick Clifton <nickc@redhat.com> | 2000-07-06 17:18:10 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-07-06 17:18:10 +0000 |
commit | b8a9dcabf3d670acedab67c5b6a92002ac5429b9 (patch) | |
tree | 96c92da7375d5256c9530ac752fdc6db7c2e024d /gas/config | |
parent | beb2de9b6154707bebd2fdd24d337a25ac8a638c (diff) | |
download | gdb-b8a9dcabf3d670acedab67c5b6a92002ac5429b9.zip gdb-b8a9dcabf3d670acedab67c5b6a92002ac5429b9.tar.gz gdb-b8a9dcabf3d670acedab67c5b6a92002ac5429b9.tar.bz2 |
Applied Mark Elbrecht <snowball3@bigfoot.com>'s patch to implement
TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/obj-coff.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 6557aa3..aae7de0 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -30,6 +30,13 @@ #define KEEP_RELOC_INFO #endif +/* The BFD_ASSEMBLER version of obj_coff_section will use this macro to set + a new section's attributes when a directive has no valid flags or the + "w" flag is used. This default should be appropriate for most. */ +#ifndef TC_COFF_SECTION_DEFAULT_ATTRIBUTES +#define TC_COFF_SECTION_DEFAULT_ATTRIBUTES (SEC_LOAD | SEC_DATA) +#endif + static void obj_coff_bss PARAMS ((int)); const char *s_get_name PARAMS ((symbolS * s)); static void obj_coff_ln PARAMS ((int)); |