diff options
author | Nick Clifton <nickc@redhat.com> | 1999-11-25 11:52:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-11-25 11:52:39 +0000 |
commit | 306b73473219d293cd41f9ccca2c2d7078580808 (patch) | |
tree | 5850189838cd6c86be9231f0f9b121c59c928612 /bfd/coff-arm.c | |
parent | 13c60016b03e7f21eb6fe693cdbc10b34603a8b3 (diff) | |
download | gdb-306b73473219d293cd41f9ccca2c2d7078580808.tar.gz |
Add SEC_CODE and SEC_READONLY flags to glue sections.
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r-- | bfd/coff-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index f50cf8cc026..a7938257b42 100644 --- a/bfd/coff-arm.c +++ b/bfd/coff-arm.c @@ -1820,7 +1820,7 @@ bfd_arm_get_bfd_for_interworking (abfd, info) if (sec == NULL) { - flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY; + flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_CODE | SEC_READONLY; sec = bfd_make_section (abfd, ARM2THUMB_GLUE_SECTION_NAME); @@ -1834,7 +1834,7 @@ bfd_arm_get_bfd_for_interworking (abfd, info) if (sec == NULL) { - flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY; + flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_CODE | SEC_READONLY; sec = bfd_make_section (abfd, THUMB2ARM_GLUE_SECTION_NAME); |