diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-06-01 09:52:27 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-06-01 09:52:27 +0000 |
commit | f3053f204137301416ecac32893aa97dbfbd1de5 (patch) | |
tree | 90fd84320d4f81bc38ae7a78e15f8ce109ebc13d /ld/emultempl | |
parent | a51f0c94000b59fa5b9159e9d9e174a178871807 (diff) | |
download | binutils-redhat-f3053f204137301416ecac32893aa97dbfbd1de5.tar.gz |
bfd/
2010-06-01 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (struct vms_private_data_struct): Add
transfer_address field. Remove unused dst_info field.
(alpha_vms_write_exec): Use transfer_address.
(_bfd_vms_write_egsd): Add a comment about LIB$INITIALIZE.
(alpha_vms_bfd_final_link): Set transfer_address.
ld/
2010-06-01 Tristan Gingold <gingold@adacore.com>
* scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
readonly output-section. Handle LIB$INITIALIZE and sections
created by gcc.
* emultempl/vms.em (vms_place_orphan): Add comments.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/vms.em | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/emultempl/vms.em b/ld/emultempl/vms.em index 0b6b059c49..f21796b83f 100644 --- a/ld/emultempl/vms.em +++ b/ld/emultempl/vms.em @@ -94,11 +94,14 @@ vms_place_orphan (asection *s, 0, 0, 0, 0 }; - /* We have nothing to say for anything other than a final link. */ + /* We have nothing to say for anything other than a final link or an excluded + section. */ if (link_info.relocatable || (s->flags & (SEC_EXCLUDE | SEC_LOAD)) != SEC_LOAD) return NULL; + /* FIXME: we should place sections by VMS program section flags. */ + /* Only handle data sections. */ if ((s->flags & SEC_DATA) == 0) return NULL; |