Include SEC_CODE so that code sections are assigned the LOAD attribute.

This commit is contained in:
Nick Clifton 2003-07-25 10:50:03 +00:00
parent 09fd220b8e
commit 2065057979
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-07-24 Nick Clifton <nickc@redhat.com>
* coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code
sections are assigned the LOAD attribute.
2003-07-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf32-sh.c: Convert to C90. Replace PTR with void *.

View file

@ -2613,9 +2613,9 @@ coff_arm_final_link_postscript (abfd, pfinfo)
#ifndef EXTRA_S_FLAGS
#ifdef COFF_WITH_PE
#define EXTRA_S_FLAGS (SEC_LINK_ONCE | SEC_LINK_DUPLICATES)
#define EXTRA_S_FLAGS (SEC_CODE | SEC_LINK_ONCE | SEC_LINK_DUPLICATES)
#else
#define EXTRA_S_FLAGS 0
#define EXTRA_S_FLAGS SEC_CODE
#endif
#endif