diff options
author | John Gilmore <gnu@cygnus> | 1991-11-22 23:02:29 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-22 23:02:29 +0000 |
commit | 853f0a703050ce2022ae9946d168d13289929ccb (patch) | |
tree | 24d614620a0cb95ec76f587aae196d388e47ef7f /bfd/coffcode.h | |
parent | 2dd074f42164525862ce3f9dd831e1f5e4982f7f (diff) | |
download | gdb-853f0a703050ce2022ae9946d168d13289929ccb.zip gdb-853f0a703050ce2022ae9946d168d13289929ccb.tar.gz gdb-853f0a703050ce2022ae9946d168d13289929ccb.tar.bz2 |
* coff-mips.c, coffcode.h: Peter Schauer's patch to kludge in
nonstandard MIPS sections (.rdata, .sdata, etc).
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 0410c00..636ac61 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -369,6 +369,10 @@ DEFUN(styp_to_sec_flags, (styp_flags), if ((styp_flags & STYP_LIT) == STYP_LIT) sec_flags = (SEC_LOAD | SEC_ALLOC | SEC_READONLY); #endif /* STYP_LIT */ +#ifdef STYP_OTHER_LOAD /* Other loaded sections */ + if (styp_flags & STYP_OTHER_LOAD) + sec_flags = (SEC_LOAD | SEC_ALLOC); +#endif /* STYP_SDATA */ return(sec_flags); } |