This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: binutils 2.9.5.0.7 is released.
- To: "H.J. Lu" <hjl@lucon.org>
- Subject: Re: binutils 2.9.5.0.7 is released.
- From: Etienne Lorrain <etienne.lorrain@ibm.net>
- Date: Tue, 17 Aug 1999 13:25:52 +0100
- CC: egcs@egcs.cygnus.com
- Organization: Protection of the "jnp" instruction league
Hello H.J.,
> This is the beta release of binutils 2.9.5.0.7 for Linux, which is
> based on binutils 1999 0813 plus various changes. It is purely for
> Linux, although it has been tested on Solaris/Sparc and Solaris/x86
> from time to time.
>
> I am planning to make the public release soon. Please test it as much
> as you can.
>
> Please report any bugs related to binutils 2.9.5.0.7 to hjl@lucon.org.
I noticed a feature with my software (gujin) on the linker side.
This exists on RH 6 version of binutils and your lattest snapshot,
but was not present on standart RH 5 distributions (early binutils-2.9.1).
Simply, it is a gap of 0x10 bytes out of sections, i.e. in between
.code and .data - and it seems to be unvolumtary (i.e. no alignment
needed because it is already aligned).
Here is the linker command file:
>>>>>>>> boot.lnk
SECTIONS {
.text : {
boot.o(.text) *(.text) *(.rodata)
. = ALIGN (16) ;
_end = .;
} = 0
.data : {
*(.data) *(.bss) *(COMMON)
. = ALIGN (4);
_edata = .;
. = 112*512-SIZEOF(.text);
} = 0
}
<<<<<<<<
I was assuming that ".data" start just after ".text", mostly because
I have aligned "_end", so the calculus to fill the resulting binary
file to a size of 112*512.
The .map file contains:
>>>>>>>>
.rodata 0x000094e0 0x4f0 user.o
0x000099d0 .=ALIGN(0x10)
0x000099d0 _end=.
.data 0x000099e0 0x4630
*(.data)
<<<<<<<<
i.e. there is a gap of 0x000099e0-0x000099d0 = 0x10 out of any section.
I can modify my software without any problem, but this seems mostly
strange so I think I had to report it (I am also doing full checksum
calculus and things like that).
If needed, I can provide the complete .tar.gz to reproduce it
easily on RH6/egcs-1.1.2/binutils-2.9.5.0.7, or soon on RH6/gcc-2.95,
but it is ~100Kb so not on the list.
Thanks,
Etienne.