aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/internals.texi
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-11-06 17:15:10 +0000
committerNick Clifton <nickc@redhat.com>2007-11-06 17:15:10 +0000
commit8c7504802aa101a9df8e799e1d1943ab7b5ff80b (patch)
tree304a13d2252064bcff551cb28d724bef16deffb1 /gas/doc/internals.texi
parent102890f04c44b64cf5cef4588267dd9f24086ac7 (diff)
downloadbinutils-8c7504802aa101a9df8e799e1d1943ab7b5ff80b.zip
binutils-8c7504802aa101a9df8e799e1d1943ab7b5ff80b.tar.gz
binutils-8c7504802aa101a9df8e799e1d1943ab7b5ff80b.tar.bz2
* ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke it to see if the optimizations should be applied.
* config/tc-mn10300.h (md_allow_eh_opt): Define. Only allow call frame optimization if linker relaxation is not enabled. * gas/elf/elf.exp: Disable ehopt test for mn10300.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r--gas/doc/internals.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index 62f16f7..78b767e 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1547,6 +1547,11 @@ evaluated. Targets which implement link time relaxation which may change the
position of the two symbols relative to each other should ensure that this
macro returns zero in situations where this can occur.
+@item md_allow_eh_opt
+If defined, GAS will check this macro before performing any optimizations on
+the DWARF call frame debug information that is emitted. Targets which
+implement link time relaxation may need to define this macro and set it to zero
+if it is possible to change the size of a function's prologue.
@end table
@node Object format backend