mirror of
https://github.com/dynup/kpatch
synced 2025-01-08 22:29:34 +00:00
rename .patches section to .kpatch.patches
Adding .kpatch to the section name more clearly documents that these are kpatch related sections. Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
parent
38b7ac74ad
commit
2de5f6cbfb
@ -1,2 +1,2 @@
|
||||
__kpatch_patches = ADDR(.patches);
|
||||
__kpatch_patches_end = ADDR(.patches) + SIZEOF(.patches);
|
||||
__kpatch_patches = ADDR(.kpatch.patches);
|
||||
__kpatch_patches_end = ADDR(.kpatch.patches) + SIZEOF(.kpatch.patches);
|
||||
|
@ -1386,7 +1386,7 @@ void kpatch_create_patches_sections(struct kpatch_elf *kelf,
|
||||
patches = malloc(nr * sizeof(*patches));
|
||||
if (!patches)
|
||||
ERROR("malloc");
|
||||
sec->name = ".patches";
|
||||
sec->name = ".kpatch.patches";
|
||||
sec->index = kelf->sections_nr++;
|
||||
|
||||
/* set data */
|
||||
@ -1408,7 +1408,7 @@ void kpatch_create_patches_sections(struct kpatch_elf *kelf,
|
||||
|
||||
/* allocate section resources */
|
||||
ALLOC_LINK(relasec, &kelf->sections);
|
||||
relasec->name = ".rela.patches";
|
||||
relasec->name = ".rela.kpatch.patches";
|
||||
relasec->index = kelf->sections_nr++;
|
||||
relasec->base = sec;
|
||||
INIT_LIST_HEAD(&relasec->relas);
|
||||
|
Loading…
Reference in New Issue
Block a user