Skip to content

create-diff-object: Create missing section symbol#1273

Merged
jpoimboe merged 1 commit intodynup:masterfrom
jpoimboe:create-secsym
Jun 8, 2022
Merged

create-diff-object: Create missing section symbol#1273
jpoimboe merged 1 commit intodynup:masterfrom
jpoimboe:create-secsym

Conversation

@jpoimboe
Copy link
Member

@jpoimboe jpoimboe commented Jun 7, 2022

Recent toolchains only create a section symbol if it's needed, i.e. if
there's a reference to it. If there's a missing section symbol in
kpatch_create_intermediate_sections(), create one instead of erroring
out.

Fixes #1272.

Signed-off-by: Josh Poimboeuf jpoimboe@redhat.com

Copy link
Contributor

@joe-lawrence joe-lawrence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, assuming you will also bump the unit test obj submodule once the counterpart PR is merged.

Recent toolchains only create a section symbol if it's needed, i.e. if
there's a reference to it.  If there's a missing section symbol in
kpatch_create_intermediate_sections(), create one instead of erroring
out.

Fixes dynup#1272.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
@jpoimboe
Copy link
Member Author

jpoimboe commented Jun 8, 2022

Bumped unit test reference.

@jpoimboe jpoimboe merged commit 7fdbb25 into dynup:master Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kpatch-build error: can't create dynrela for section .rela.static_call_sites

3 participants