diff options
author | Alan Modra <amodra@gmail.com> | 2006-10-29 23:49:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-10-29 23:49:37 +0000 |
commit | 017657f05697a9bae31e7117075d3429b5b5eecf (patch) | |
tree | 5d674369de586f3978166c969359ff7ca127ced9 /bfd/elf.c | |
parent | b12e747eaf3af502e5c23187721b2d37a6797a38 (diff) | |
download | gdb-017657f05697a9bae31e7117075d3429b5b5eecf.zip gdb-017657f05697a9bae31e7117075d3429b5b5eecf.tar.gz gdb-017657f05697a9bae31e7117075d3429b5b5eecf.tar.bz2 |
* elf.c (elfcore_write_note): Pad to 4-byte boundary.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8120,7 +8120,7 @@ elfcore_write_note (bfd *abfd, namesz = strlen (name) + 1; bed = get_elf_backend_data (abfd); - pad = -namesz & ((1 << bed->s->log_file_align) - 1); + pad = -namesz & 3; } newspace = 12 + namesz + pad + size; |