2010-08-03 Tristan Gingold <gingold@adacore.com>

* vms-alpha.c (evax_section_flags): Fix flags for absolute
	section.  Remove useless parenthesis.
This commit is contained in:
Tristan Gingold 2010-08-03 09:21:09 +00:00
parent 22b6a042aa
commit d833fa0d58
2 changed files with 49 additions and 44 deletions

View File

@ -1,3 +1,8 @@
2010-08-03 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (evax_section_flags): Fix flags for absolute
section. Remove useless parenthesis.
2010-08-03 Tristan Gingold <gingold@adacore.com>
* vms-lib.c (vms_lib_bread_raw): Change type of BUF argument.

View File

@ -939,60 +939,60 @@ struct sec_flags_struct
static const struct sec_flags_struct evax_section_flags[] =
{
{ EVAX_ABS_NAME,
(EGPS__V_SHR),
(SEC_DATA),
(EGPS__V_SHR),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD) },
EGPS__V_SHR,
0,
EGPS__V_SHR,
0 },
{ EVAX_CODE_NAME,
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_EXE),
(SEC_CODE),
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_EXE),
(SEC_CODE | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD) },
EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_EXE,
SEC_CODE,
EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_EXE,
SEC_CODE | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD },
{ EVAX_LITERAL_NAME,
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD | EGPS__V_NOMOD),
(SEC_DATA | SEC_READONLY),
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD) },
EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD | EGPS__V_NOMOD,
SEC_DATA | SEC_READONLY,
EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD },
{ EVAX_LINK_NAME,
(EGPS__V_REL | EGPS__V_RD),
(SEC_DATA | SEC_READONLY),
(EGPS__V_REL | EGPS__V_RD),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD) },
EGPS__V_REL | EGPS__V_RD,
SEC_DATA | SEC_READONLY,
EGPS__V_REL | EGPS__V_RD,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD },
{ EVAX_DATA_NAME,
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT | EGPS__V_NOMOD),
(SEC_DATA),
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD) },
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT | EGPS__V_NOMOD,
SEC_DATA,
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD },
{ EVAX_BSS_NAME,
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT | EGPS__V_NOMOD),
(SEC_NO_FLAGS),
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT | EGPS__V_NOMOD),
(SEC_ALLOC) },
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT | EGPS__V_NOMOD,
SEC_NO_FLAGS,
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT | EGPS__V_NOMOD,
SEC_ALLOC },
{ EVAX_READONLYADDR_NAME,
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_RD),
(SEC_DATA | SEC_READONLY),
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_RD),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD) },
EGPS__V_PIC | EGPS__V_REL | EGPS__V_RD,
SEC_DATA | SEC_READONLY,
EGPS__V_PIC | EGPS__V_REL | EGPS__V_RD,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD },
{ EVAX_READONLY_NAME,
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD | EGPS__V_NOMOD),
(SEC_DATA | SEC_READONLY),
(EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD) },
EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD | EGPS__V_NOMOD,
SEC_DATA | SEC_READONLY,
EGPS__V_PIC | EGPS__V_REL | EGPS__V_SHR | EGPS__V_RD,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD },
{ EVAX_LOCAL_NAME,
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT),
(SEC_DATA),
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD) },
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT,
SEC_DATA,
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD },
{ EVAX_LITERALS_NAME,
(EGPS__V_PIC | EGPS__V_OVR),
(SEC_DATA | SEC_READONLY),
(EGPS__V_PIC | EGPS__V_OVR),
(SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD) },
EGPS__V_PIC | EGPS__V_OVR,
SEC_DATA | SEC_READONLY,
EGPS__V_PIC | EGPS__V_OVR,
SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_READONLY | SEC_LOAD },
{ NULL,
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT),
(SEC_DATA),
(EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT),
(SEC_IN_MEMORY | SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD) }
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT,
SEC_DATA,
EGPS__V_REL | EGPS__V_RD | EGPS__V_WRT,
SEC_IN_MEMORY | SEC_DATA | SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD }
};
/* Retrieve BFD section flags by name and size. */