This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch 0/5] Support ld for ia64 VMS
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Mon, 19 Mar 2012 11:57:50 +0100
- Subject: [Patch 0/5] Support ld for ia64 VMS
Hi,
this is a set of patches to support ld for ia64/VMS. We have that in our tree for a couple of years, so I think it'd time to submit it.
This target is somewhat special because although it uses the ELF format, it has its own shared libraries: basically vector based (not unlike SVR3), relocatable, no symbol preemption, no .dynsym… There are also some minor weirdness (such as several entry points).
I tried to add VMS linker support in elfnn-ia64.c, but this turns out to be unreadable and difficult to maintain, as there are many details that differ between VMS and ELF. So finally I decided to create a new file, elf64-ia64-vms.c. Most of the common code is already in elfxx-ia64.c, there are still much code that look the same between elfnn-ia64.c and elf64-ia64-vms.c, but differ in the details.
It wasn't an easy decision, but in the final I think this is the most maintainable way: there is almost no risk to break ia64 ELF when ia64 VMS is modified (and vice-versa).
The remaining of the patches is business as usual. The patches will be sent separately.
Comments are welcome.
Tristan Gingold.