Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jon Boone
cmucl
Commits
42db7268
Commit
42db7268
authored
14 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Add a comment.
parent
50de0468
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lisp/elf.c
+11
-2
11 additions, 2 deletions
lisp/elf.c
with
11 additions
and
2 deletions
lisp/elf.c
+
11
−
2
View file @
42db7268
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
Above changes put into main CVS branch. 05-Jul-2007.
Above changes put into main CVS branch. 05-Jul-2007.
$Id: elf.c,v 1.2
6
2010/08/02 0
3:58:59 agoncharov
Exp $
$Id: elf.c,v 1.2
7
2010/08/02 0
6:03:49 rtoy
Exp $
*/
*/
#include
<stdio.h>
#include
<stdio.h>
...
@@ -479,7 +479,16 @@ map_core_sections(const char *exec_name)
...
@@ -479,7 +479,16 @@ map_core_sections(const char *exec_name)
for
(
j
=
0
;
j
<
3
;
j
++
)
{
for
(
j
=
0
;
j
<
3
;
j
++
)
{
if
(
!
strncmp
(
nambuf
,
section_names
[
j
],
6
))
{
if
(
!
strncmp
(
nambuf
,
section_names
[
j
],
6
))
{
os_vm_address_t
addr
;
os_vm_address_t
addr
;
/*
* On Solaris, the section header sets the addr
* field to 0 because the linker script says the
* sections are NOTE sections. Hence, we need to
* look up the section addresses ourselves.
*
* For other systems, we don't care what the
* address is. We infer the address from the
* segment name.
*/
addr
=
section_addr
[
j
];
addr
=
section_addr
[
j
];
/* Found a core section. Map it! */
/* Found a core section. Map it! */
if
((
os_vm_address_t
)
os_map
(
exec_fd
,
sh
.
sh_offset
,
if
((
os_vm_address_t
)
os_map
(
exec_fd
,
sh
.
sh_offset
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment