aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/coff/xcoff.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index c40136e..5cf3fa7 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2022-04-20 Clément Chigot <clement.chigot@atos.net>
+
+ * coff/xcoff.h (struct xcoff_loader_info): Add ldrel_count and
+ libpath fields.
+
2022-04-07 Mark Harmstone <mark@harmstone.com>
* coff/i386.h: Define R_SECTION.
diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h
index acadf54..0770d04 100644
--- a/include/coff/xcoff.h
+++ b/include/coff/xcoff.h
@@ -432,6 +432,10 @@ struct xcoff_loader_info
/* Number of ldsym structures. */
size_t ldsym_count;
+ /* A count of non TOC relative relocs which will need to be
+ allocated in the .loader section. */
+ size_t ldrel_count;
+
/* Size of string table. */
size_t string_size;
@@ -440,6 +444,9 @@ struct xcoff_loader_info
/* Allocated size of string table. */
size_t string_alc;
+
+ /* The libpath being used. */
+ const char *libpath;
};
/* In case we're on a 32-bit machine, construct a 64-bit "-1" value