This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Update -mcmodel=medium documentation
- From: Ian Lance Taylor <iant at google dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 21 Nov 2008 18:48:22 -0800
- Subject: Re: [PATCH] Update -mcmodel=medium documentation
- References: <20081021142312.GD30239@tyan-ft48-01.lab.bos.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
> 2008-10-21 Jakub Jelinek <jakub@redhat.com>
>
> PR target/37880
> * doc/invoke.texi: Fix spelling of -mlarge-data-threshold option.
> Adjust -mcmodel=medium description for 2005-07-31 changes.
> @@ -11273,9 +11273,10 @@ This model has to be used for Linux kern
> @item -mcmodel=medium
> @opindex mcmodel=medium
> Generate code for the medium model: The program is linked in the lower 2
> -GB of the address space but symbols can be located anywhere in the
> -address space. Programs can be statically or dynamically linked, but
> -building of shared libraries are not supported with the medium model.
> +GB of the address space and symbols with small size as well. Symbols
> +with sizes larger than @option{-mlarge-data-threshold} are put into
> +large data or bss sections and can be located above 2GB. Programs can
> +be statically or dynamically linked.
I recommend "The program is linked in the lower 2 GB of the address
space. Small symbols are also placed there. Symbols with sizes
larger...."
OK with that change.
Thanks
Ian