aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2009-03-14 09:15:12 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2009-03-14 09:15:12 +0000
commit62008a1686c7043e11fdf8f28aafba721d9cb2b3 (patch)
tree064d419aee4ae1b86a6250a2112cbc0336d5f194
parentd19d97e928f5a43ff00c1983224e65490fd6f5d2 (diff)
downloadgdb-62008a1686c7043e11fdf8f28aafba721d9cb2b3.zip
gdb-62008a1686c7043e11fdf8f28aafba721d9cb2b3.tar.gz
gdb-62008a1686c7043e11fdf8f28aafba721d9cb2b3.tar.bz2
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set config.dynamic_link to TRUE.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/aix.em1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 50f8bc9..fb3b552 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
+ * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
+ config.dynamic_link to TRUE.
+
+2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
+
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
.text, .data and .bss output sections as SEC_KEEP.
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index b30000b..90465f2 100644
--- a/ld/emultempl/aix.em
+++ b/ld/emultempl/aix.em
@@ -137,6 +137,7 @@ gld${EMULATION_NAME}_before_parse (void)
{
ldfile_set_output_arch ("${OUTPUT_ARCH}", bfd_arch_`echo ${ARCH} | sed -e 's/:.*//'`);
+ config.dynamic_link = TRUE;
config.has_shared = TRUE;
/* The link_info.[init|fini]_functions are initialized in ld/lexsup.c.