mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
Don't align sections in I960 coff files.
(I know there's a GDB freeze on, but this only affects writing i960 coff files, and Steve needs it ASAP.)
This commit is contained in:
parent
323227fefa
commit
5e16788678
@ -1,3 +1,8 @@
|
||||
Wed Jun 17 15:54:57 1992 Ken Raeburn (Raeburn@Cygnus.COM)
|
||||
|
||||
* coffcode.h (coff_compute_section_file_positions): For I960,
|
||||
don't align sections in file.
|
||||
|
||||
Tue Jun 16 06:28:21 1992 Ken Raeburn (Raeburn@Cygnus.COM)
|
||||
|
||||
* targets.c (struct bfd_target): Added field for target-specific
|
||||
|
@ -2204,10 +2204,13 @@ DEFUN(coff_compute_section_file_positions,(abfd),
|
||||
|
||||
current->filepos = sofar;
|
||||
|
||||
sofar += current->_raw_size;
|
||||
#ifndef I960
|
||||
/* make sure that this section is of the right size too */
|
||||
old_sofar = sofar += current->_raw_size;
|
||||
old_sofar = sofar;
|
||||
sofar = BFD_ALIGN(sofar, 1 << current->alignment_power);
|
||||
current->_raw_size += sofar - old_sofar ;
|
||||
#endif
|
||||
|
||||
previous = current;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user