aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/emultempl/m88kbcs.em1
-rw-r--r--ld/ld.111
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/emultempl/m88kbcs.em b/ld/emultempl/m88kbcs.em
index 8196923..1d1f05a 100644
--- a/ld/emultempl/m88kbcs.em
+++ b/ld/emultempl/m88kbcs.em
@@ -108,6 +108,7 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
syslib_default,
hll_default,
after_parse_default,
+ after_open_default,
after_allocation_default,
set_output_arch_default,
ldemul_default_target,
diff --git a/ld/ld.1 b/ld/ld.1
index 102c8a2..c229710 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -42,6 +42,7 @@ ld \- the GNU linker
.RB "[\|" "\-e\ "\c
.I entry\c
\&\|]
+.RB "[\|" \-embedded\-relocs "\|]"
.RB "[\|" \-F "\|]"
.RB "[\|" "\-F\ "\c
.I format\c
@@ -427,6 +428,16 @@ discussion of defaults and other ways of specifying the
entry point.
.TP
+.B \-embedded\-relocs
+This option is only meaningful when linking MIPS embedded PIC code,
+generated by the
+.B \-membedded\-pic
+option to the GNU compiler and assembler. It causes the linker to
+create a table which may be used at runtime to relocate any data which
+was statically initialized to pointer values. See the code in
+testsuite/ld-empic for details.
+
+.TP
.B \-F
.TP
.BI "-F" "format"\c