mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
1999-09-11 Donn Terry <donn@interix.com>
* config/obj-coff.c (obj_coff_section): Default to setting SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
This commit is contained in:
parent
2fbadf2cf5
commit
5881e4aab3
@ -5,6 +5,9 @@
|
||||
|
||||
1999-09-11 Donn Terry <donn@interix.com>
|
||||
|
||||
* config/obj-coff.c (obj_coff_section): Default to setting
|
||||
SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
|
||||
|
||||
* write.c (adjust_reloc_syms): Print adjusted fixup.
|
||||
|
||||
* expr.c (integer_constant): Correct too_many_digits calculation
|
||||
|
@ -1233,7 +1233,7 @@ obj_coff_section (ignore)
|
||||
SKIP_WHITESPACE ();
|
||||
|
||||
exp = 0;
|
||||
flags = SEC_NO_FLAGS;
|
||||
flags = SEC_LOAD;
|
||||
|
||||
if (*input_line_pointer == ',')
|
||||
{
|
||||
@ -1251,9 +1251,9 @@ obj_coff_section (ignore)
|
||||
{
|
||||
case 'b': flags |= SEC_ALLOC; flags &=~ SEC_LOAD; break;
|
||||
case 'n': flags &=~ SEC_LOAD; break;
|
||||
case 'd':
|
||||
case 'w': flags |= SEC_DATA; flags &=~ SEC_READONLY; break;
|
||||
case 'x': flags |= SEC_CODE; break;
|
||||
case 'd': flags |= SEC_DATA | SEC_LOAD; /* fall through */
|
||||
case 'w': flags &=~ SEC_READONLY; break;
|
||||
case 'x': flags |= SEC_CODE | SEC_LOAD; break;
|
||||
case 'r': flags |= SEC_READONLY; break;
|
||||
case 's': flags |= SEC_SHARED; break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user