Skip to content

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

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

jpoimboe merged 1 commit into
dynup:masterfrom
jpoimboe:create-secsym

Conversation

@jpoimboe

@jpoimboe jpoimboe commented Jun 7, 2022

Copy link
Copy Markdown
Member

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

@joe-lawrence joe-lawrence left a comment

Copy link
Copy Markdown
Contributor

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

jpoimboe commented Jun 8, 2022

Copy link
Copy Markdown
Member Author

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