diff options
author | Nick Clifton <nickc@redhat.com> | 1999-09-16 15:32:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-09-16 15:32:40 +0000 |
commit | d0f2103d0777c9f7f79fe9eff767438d63a617fa (patch) | |
tree | a8e71dfdca45a26486b35277f063dfbd54bc2d5d /bfd/elf32-arm.h | |
parent | 97444aea59232173b47dd50fd35910b0564214af (diff) | |
download | gdb-d0f2103d0777c9f7f79fe9eff767438d63a617fa.zip gdb-d0f2103d0777c9f7f79fe9eff767438d63a617fa.tar.gz gdb-d0f2103d0777c9f7f79fe9eff767438d63a617fa.tar.bz2 |
Mark interworking sections as linker created to prevent garbage collection.
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r-- | bfd/elf32-arm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 2ebfa86..191995f 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -545,7 +545,7 @@ bfd_elf32_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_LINKER_CREATED; sec = bfd_make_section (abfd, ARM2THUMB_GLUE_SECTION_NAME); @@ -559,7 +559,7 @@ bfd_elf32_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_LINKER_CREATED; sec = bfd_make_section (abfd, THUMB2ARM_GLUE_SECTION_NAME); |