Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

order local FUNC syms before SECTION syms #75

Merged
merged 2 commits into from
Mar 20, 2014
Merged

order local FUNC syms before SECTION syms #75

merged 2 commits into from
Mar 20, 2014

Conversation

sjenning
Copy link
Contributor

Order LOCAL FUNC syms before LOCAL SECTION syms. Then refactor because we are copy/pasting a that code block over and over

and over.

Fixes issue #53 for real this time.

ld drops FUNC syms that appear after the last SECTION
sym in the symbol table.

Make sure we order the FUNC syms before the SECTION syms.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
Create a new function kpatch_copy_symbols() that copies symbols from
one kelf to another if the "select" function to return true for the
symbol.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
@sjenning sjenning changed the title Symorder order local FUNC syms before SECTION syms Mar 20, 2014
jpoimboe added a commit that referenced this pull request Mar 20, 2014
order local FUNC syms before SECTION syms
@jpoimboe jpoimboe merged commit 5961e19 into dynup:master Mar 20, 2014
@sjenning sjenning deleted the symorder branch March 25, 2014 16:40
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