diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2012-06-11 22:46:45 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2012-06-11 22:46:45 +0000 |
commit | f938987f60e922ee81a8fee9b14217d7a1b27c81 (patch) | |
tree | f8ed099c641c66429736905083f077f944a166b2 /gcc/doc/tm.texi | |
parent | ede6c7341ca4f780004b7657efd3912d0d350880 (diff) | |
download | gcc-f938987f60e922ee81a8fee9b14217d7a1b27c81.zip gcc-f938987f60e922ee81a8fee9b14217d7a1b27c81.tar.gz gcc-f938987f60e922ee81a8fee9b14217d7a1b27c81.tar.bz2 |
tm.texi.in (Addressing Modes): Mention that this hook needs to be defined for native TLS.
* doc/tm.texi.in (Addressing Modes) <TARGET_LEGITIMIZE_ADDRESS>:
Mention that this hook needs to be defined for native TLS.
* doc/tm.texi: Regenerate.
From-SVN: r188404
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index aeccc79..0715531 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5529,8 +5529,10 @@ The code of the hook should not alter the substructure of @var{x}. If it transforms @var{x} into a more legitimate form, it should return the new @var{x}. -It is not necessary for this hook to come up with a legitimate address. -The compiler has standard ways of doing so in all cases. In fact, it +It is not necessary for this hook to come up with a legitimate address, +with the exception of native TLS addresses (@pxref{Emulated TLS}). +The compiler has standard ways of doing so in all cases. In fact, if +the target supports only emulated TLS, it is safe to omit this hook or make it return @var{x} if it cannot find a valid way to legitimize the address. But often a machine-dependent strategy can generate better code. |