Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Open Source Software
Zipr Backend
Compare revisions
018f476afdbf1554a11f62b3259793737232ef40 to 709cd64ca1d3442cc396f14cfb38d2f6b1196351
Project 'allzp/zipr' was moved to 'opensrc/zipr-be'. Please update any links and bookmarks that may still have the old path.
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
opensrc/zipr-be
Select target project
No results found
709cd64ca1d3442cc396f14cfb38d2f6b1196351
Select Git revision
Swap
Target
opensrc/zipr-be
Select target project
No results found
018f476afdbf1554a11f62b3259793737232ef40
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
fixed off-by-one error in getting segment to be extended in gapallocate
· 709cd64c
Jason Hiser
authored
6 years ago
709cd64c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/elfwrite.cpp
+1
-1
1 addition, 1 deletion
src/elfwrite.cpp
with
1 addition
and
1 deletion
src/elfwrite.cpp
View file @
709cd64c
...
...
@@ -406,7 +406,7 @@ bool ElfWriterImpl<T_Elf_Ehdr,T_Elf_Phdr,T_Elf_Addr,T_Elf_Shdr,T_Elf_Sym, T_Elf_
}
// find segment
int
new_phdr_segment_index
=
locate_segment_index
(
new_phdr_addr
);
int
new_phdr_segment_index
=
locate_segment_index
(
new_phdr_addr
-
1
);
// if there's no segment for the start, we'll have to allocate a page anyhow. just use the _Preallocate routine.
if
(
new_phdr_segment_index
==-
1
)
...
...
This diff is collapsed.
Click to expand it.