[vms/committed]: set linktime
Tristan Gingold
gingold@adacore.com
Fri Jun 25 14:54:00 GMT 2010
More information about the Binutils mailing list
Fri Jun 25 14:54:00 GMT 2010
- Previous message (by thread): [RFA] [ARM] Fix Neon Alignment Syntax acceptance
- Next message (by thread): [vms/committed]: set linktime
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, this patch fills the linktime field of Alpha VMS executable with the current time. Committed. Tristan. bfd/ 2010-06-25 Tristan Gingold <gingold@adacore.com> * vms-alpha.c (alpha_vms_write_exec): Set linktime field. *** vms-alpha.c 11 Jun 2010 21:12:11 -0000 1.25 --- vms-alpha.c 25 Jun 2010 14:53:45 -0000 *************** *** 3007,3012 **** --- 3007,3013 ---- char *module; unsigned int len; + /* Set module name. */ module = vms_get_module_name (bfd_get_filename (abfd), TRUE); len = strlen (module); if (len > sizeof (eihi->imgnam) - 1) *************** *** 3015,3022 **** memcpy (eihi->imgnam + 1, module, len); free (module); } ! bfd_putl32 (0, eihi->linktime + 0); ! bfd_putl32 (0, eihi->linktime + 4); eihi->imgid[0] = 0; eihi->linkid[0] = 0; eihi->imgbid[0] = 0; --- 3016,3030 ---- memcpy (eihi->imgnam + 1, module, len); free (module); } ! { ! unsigned int lo; ! unsigned int hi; ! ! /* Set time. */ ! vms_get_time (&hi, &lo); ! bfd_putl32 (lo, eihi->linktime + 0); ! bfd_putl32 (hi, eihi->linktime + 4); ! } eihi->imgid[0] = 0; eihi->linkid[0] = 0; eihi->imgbid[0] = 0;
- Previous message (by thread): [RFA] [ARM] Fix Neon Alignment Syntax acceptance
- Next message (by thread): [vms/committed]: set linktime
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list