summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2002-02-12 06:45:39 +0000
committerAlan Modra <modra@gmail.com>2002-02-12 06:45:39 +0000
commit4e8de18e4e9539c4b80413cb9824c276c7f27b28 (patch)
treee3547540ba7ce229579336ddefd0dff5ce447cd5
parent34124a07180b9c8c7479517436c49292cfd12dcd (diff)
downloadcygnal-4e8de18e4e9539c4b80413cb9824c276c7f27b28.tar.gz
cygnal-4e8de18e4e9539c4b80413cb9824c276c7f27b28.tar.bz2
cygnal-4e8de18e4e9539c4b80413cb9824c276c7f27b28.zip
Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags.
* elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing 64k boundary.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/ppc.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 79f99ac64..f0e04db5d 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-12 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc.h (DT_PPC64_OPD, DT_PPC64_OPDSZ): Define.
+
2002-02-09 Richard Henderson <rth@redhat.com>
* alpha.h (R_ALPHA_BRSGP): New.
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index 8e4af62fb..dfb43f46a 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -174,6 +174,10 @@ END_RELOC_NUMBERS (R_PPC_max)
/* Specify the start of the .glink section. */
#define DT_PPC64_GLINK DT_LOPROC
+/* Specify the start and size of the .opd section. */
+#define DT_PPC64_OPD (DT_LOPROC + 1)
+#define DT_PPC64_OPDSZ (DT_LOPROC + 2)
+
/* Processor specific flags for the ELF header e_flags field. */
#define EF_PPC_EMB 0x80000000 /* PowerPC embedded flag. */