This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Here are some comments from elf.sc:
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. It would
be more correct to do this:
${RELOCATING+. = ${DATA_ADDR-ALIGN(${MAXPAGESIZE})
+ ((ALIGN(8) + ${MAXPAGESIZE} - ALIGN(${MAXPAGESIZE}))
& (${MAXPAGESIZE} - 1)};}
I think the correct one should be
${RELOCATING+. = ALIGN(${MAXPAGESIZE})
+ ((ALIGN(8) + ${MAXPAGESIZE} - ALIGN(${MAXPAGESIZE}))
& (${MAXPAGESIZE} - 1)};}
It should be independent of DATA_ADDR.
I have been adding the ELF shared library support for binutils under
Linux for a while. Any chance to support it in the official source?
H.J.