summaryrefslogtreecommitdiff
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
commit80113bbc8546f2b6c872b24db712421b43801346 (patch)
tree6f249b44091f7356fef79d6346ac5da261176763 /gas/doc/internals.texi
parent4fbee0f3244b0469fcf490c83be3b083d1afd7c3 (diff)
downloadbinutils-redhat-80113bbc8546f2b6c872b24db712421b43801346.tar.gz
* 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 62f16f7f3d..78b767e5f9 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