mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
Rename DT_GUILE_VM_VERSION.
* libguile/objcodes.c (DT_GUILE_VM_VERSION, process_dynamic_segment): * module/system/vm/elf.scm (DT_GUILE_VM_VERSION): Rename from DT_GUILE_RTL_VERSION. * module/system/vm/assembler.scm (link-dynamic-section): Adapt.
This commit is contained in:
parent
6b9470bf48
commit
8bf83893c7
3 changed files with 7 additions and 7 deletions
|
@ -68,7 +68,7 @@
|
|||
#define DT_GUILE_GC_ROOT_SZ 0x37146001 /* Size in machine words of GC
|
||||
roots */
|
||||
#define DT_GUILE_ENTRY 0x37146002 /* Address of entry thunk */
|
||||
#define DT_GUILE_RTL_VERSION 0x37146003 /* Bytecode version */
|
||||
#define DT_GUILE_VM_VERSION 0x37146003 /* Bytecode version */
|
||||
#define DT_HIGUILE 0x37146fff /* End of Guile-specific */
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
|
@ -280,9 +280,9 @@ process_dynamic_segment (char *base, Elf_Phdr *dyn_phdr,
|
|||
return "duplicate DT_GUILE_ENTRY";
|
||||
entry = base + dyn[i].d_un.d_val;
|
||||
break;
|
||||
case DT_GUILE_RTL_VERSION:
|
||||
case DT_GUILE_VM_VERSION:
|
||||
if (bytecode_kind != BYTECODE_KIND_NONE)
|
||||
return "duplicate DT_GUILE_RTL_VERSION";
|
||||
return "duplicate DT_GUILE_VM_VERSION";
|
||||
{
|
||||
scm_t_uint16 major = dyn[i].d_un.d_val >> 16;
|
||||
scm_t_uint16 minor = dyn[i].d_un.d_val & 0xffff;
|
||||
|
@ -319,7 +319,7 @@ process_dynamic_segment (char *base, Elf_Phdr *dyn_phdr,
|
|||
break;
|
||||
case BYTECODE_KIND_NONE:
|
||||
default:
|
||||
return "missing DT_GUILE_RTL_VERSION";
|
||||
return "missing DT_GUILE_VM_VERSION";
|
||||
}
|
||||
|
||||
if (gc_root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue