* coffcode.h (coff_write_object_contents): Always initialise
section.s_page. * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
This commit is contained in:
parent
15be19c17c
commit
a432f50100
@ -1,3 +1,7 @@
|
||||
2008-12-23 Johan Olmutz Nielsen <jnielsen@ddci.com>
|
||||
|
||||
* ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
|
||||
|
||||
2008-06-17 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
|
||||
|
@ -321,6 +321,15 @@ struct external_scnhdr {
|
||||
} \
|
||||
while (0)
|
||||
|
||||
/* The entire scnhdr may not be assigned.
|
||||
Ensure that everything is initialized. */
|
||||
#define COFF_ADJUST_SCNHDR_OUT_PRE(ABFD, INT, EXT) \
|
||||
do \
|
||||
{ \
|
||||
memset((EXT), 0, sizeof (SCNHDR)); \
|
||||
} \
|
||||
while (0)
|
||||
|
||||
/* The line number and reloc overflow checking in coff_swap_scnhdr_out in
|
||||
coffswap.h doesn't use PUT_X for s_nlnno and s_nreloc.
|
||||
Due to different sized v0/v1/v2 section headers, we have to re-write these
|
||||
|
Loading…
Reference in New Issue
Block a user