From 1761749581fc38351ea0e3b83d78c8c59da9bdd4 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 5 Oct 2001 21:55:12 +0000 Subject: * 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. --- bfd/som.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/som.h') diff --git a/bfd/som.h b/bfd/som.h index 5f0d183..158c96f 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. */ -- cgit v1.1