summaryrefslogtreecommitdiffstats
path: root/bfd/som.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-10-05 21:55:12 +0000
committerJeff Law <law@redhat.com>2001-10-05 21:55:12 +0000
commit1761749581fc38351ea0e3b83d78c8c59da9bdd4 (patch)
treeb9f6a55fc1a287c6417a66f9756ffc8e43857cd6 /bfd/som.h
parente24d7c123d286e71302ded2b5ca4942accb6684b (diff)
downloadppe42-binutils-1761749581fc38351ea0e3b83d78c8c59da9bdd4.tar.gz
ppe42-binutils-1761749581fc38351ea0e3b83d78c8c59da9bdd4.zip
* som.h (som_exec_data): New field "version_id".
* som.c (som_object_setup): Record the version_id if it exists. (som_prep_headers): Do not initialize version_id here. (som_finish_writing): Initialize version_id here.
Diffstat (limited to 'bfd/som.h')
-rw-r--r--bfd/som.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/som.h b/bfd/som.h
index 5f0d1839de..158c96f918 100644
--- a/bfd/som.h
+++ b/bfd/som.h
@@ -94,6 +94,10 @@ struct som_exec_data
null pointer dereferencing is allowed and the like. */
long exec_flags;
+ /* We must preserve the version identifier too. Some versions
+ of the HP linker do not grok NEW_VERSION_ID for reasons unknown. */
+ unsigned int version_id;
+
/* Add more stuff here as needed. Good examples of information
we might want to pass would be presumed_dp, entry_* and maybe
others from the file header. */
OpenPOWER on IntegriCloud