summaryrefslogtreecommitdiff
path: root/ld/emultempl/z80.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-12-20 13:00:11 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-12-20 13:00:11 +0000
commit5daebc6a6606a30e60716f5bdee3d2018b560e8e (patch)
tree1d18a8f34c351bb9990aec7ab230d26626bbff0b /ld/emultempl/z80.em
parente347ef3b343fc42ed312d5125047d59ae15df795 (diff)
downloadbinutils-redhat-5daebc6a6606a30e60716f5bdee3d2018b560e8e.tar.gz
* ld.texinfo (Expression Section): Describe treatment of numbers
and absolute symbols. * ldemul.c (after_open_default): Look up __ld_compatibility. * ldexp.c (fold_name): Convert absolute symbols to numbers when inside output section definitions, or when __ld_compatibility >= 221. (exp_fold_tree_1): Convert numbers to absolute when not in output section definition and __ld_compatibility < 221. Don't always convert values outside an output section definition to absolute. * ldexp.h (uses_defined): Comment. * ldlang.c (ld_compatibility): New variable. * ldlang.h (ld_compatibility): Declare. * emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em, * emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em, * emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em, * emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call after_open_default from after_open function.
Diffstat (limited to 'ld/emultempl/z80.em')
-rw-r--r--ld/emultempl/z80.em2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emultempl/z80.em b/ld/emultempl/z80.em
index 100ebd0eb9..eeb32138f3 100644
--- a/ld/emultempl/z80.em
+++ b/ld/emultempl/z80.em
@@ -79,6 +79,8 @@ gldz80_after_open (void)
{
unsigned long mach_type;
+ after_open_default ();
+
switch (result_mach_type)
{
case M_Z80STRICT: