Skip to content

Conversation

@sjenning
Copy link
Contributor

Follow-up fixes from #37

Signed-off-by: Seth Jennings <sjenning@redhat.com>
For a local object or function symbol, we expect that
the section offset, sym.st_value, be 0 because we used
-ffunction-sections and -fdata-section during compile.

If value != 0, it undermines assumptions we make and
should return an error.  Exceptions should be handled
on a case by case basis, like __ksymtab_strings.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
Signed-off-by: Seth Jennings <sjenning@redhat.com>
jpoimboe added a commit that referenced this pull request Mar 10, 2014
add a few comments and st_value !=0 error
@jpoimboe jpoimboe merged commit 9e69a53 into dynup:master Mar 10, 2014
georgejguo pushed a commit to georgejguo/kpatch that referenced this pull request Dec 25, 2025
LoongArch64 test objects are now available in the kpatch-unit-test-objs
repository with commit bf463645367e ("Merge pull request dynup#52 from
georgejguo/master")

Add the submodule reference to the above commit so the objects are
available to the test suite for loongarch64.

Co-developed-by: Kexin Liu <liukexin@kylinos.cn>
Signed-off-by: Kexin Liu <liukexin@kylinos.cn>
Signed-off-by: George Guo <guodongtai@kylinos.cn>
georgejguo added a commit to georgejguo/kpatch that referenced this pull request Dec 29, 2025
Loongarch64 test objects are now available in the kpatch-unit-test-objs
repository with commit bf463645367e ("Merge pull request dynup#52 from
georgejguo/master")

Update the submodule reference to the above commit so the objects are
available to the test suite for loongarch64.

Co-developed-by: Kexin Liu <liukexin@kylinos.cn>
Signed-off-by: Kexin Liu <liukexin@kylinos.cn>
Signed-off-by: George Guo <guodongtai@kylinos.cn>
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.

2 participants