projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bfd/
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-bfin.c
diff --git
a/bfd/elf32-bfin.c
b/bfd/elf32-bfin.c
index 661d4bdd24ee48d25f93cb6c1701ac4d461529c7..ed3db10a2b4a0663ebcbfbed1e64128f7c7499de 100644
(file)
--- a/
bfd/elf32-bfin.c
+++ b/
bfd/elf32-bfin.c
@@
-4234,8
+4234,11
@@
elf32_bfinfdpic_modify_segment_map (bfd *output_bfd,
/* Add the stack section to the PT_GNU_STACK segment,
such that its size and alignment requirements make it
to the segment. */
- m->sections[m->count] = sec;
- m->count++;
+ if (m->count == 0)
+ {
+ m->sections[m->count] = sec;
+ m->count++;
+ }
}
}
This page took
0.042145 seconds
and
4
git commands to generate.