summaryrefslogtreecommitdiff
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
commitf83d594e4f8a49d3a6f5e199b48b42d4d6e75c2d (patch)
tree1c14ac66be241f8ce83e9f13ccac495dfde43e12 /bfd/som.h
parent1f36f75352ef32d09f0a8e1e883d2df37ea0297c (diff)
downloadbinutils-redhat-f83d594e4f8a49d3a6f5e199b48b42d4d6e75c2d.tar.gz
* 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. */