To satisfy latest CVS gcc:
* emultempl/*.em (ld_emulation_xfer_struct): Add missing NULL initialisers, and comments. * testsuite/ld-srec/sr3.cc (__rethrow): New.
This commit is contained in:
parent
dfad2e408f
commit
e1c47aa42d
15 changed files with 122 additions and 38 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
|
||||||
|
|
||||||
|
* emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
|
||||||
|
generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
|
||||||
|
mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
|
||||||
|
Add missing NULL initialisers, and comments.
|
||||||
|
|
||||||
|
* testsuite/ld-srec/sr3.cc (__rethrow): New.
|
||||||
|
|
||||||
2000-01-21 Nick Clifton <nickc@cygnus.com>
|
2000-01-21 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* ldlang.c (lang_size_sections): Fix typo in comment.
|
* ldlang.c (lang_size_sections): Fix typo in comment.
|
||||||
|
|
|
@ -278,13 +278,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}",
|
"${OUTPUT_FORMAT}",
|
||||||
gld${EMULATION_NAME}_finish, /* finish */
|
gld${EMULATION_NAME}_finish,
|
||||||
NULL, /* create output section statements */
|
NULL, /* create output section statements */
|
||||||
NULL, /* open dynamic archive */
|
NULL, /* open dynamic archive */
|
||||||
NULL, /* place orphan */
|
NULL, /* place orphan */
|
||||||
NULL, /* set_symbols */
|
NULL, /* set symbols */
|
||||||
gld${EMULATION_NAME}_parse_args,
|
gld${EMULATION_NAME}_parse_args,
|
||||||
NULL, /* unrecognised file */
|
NULL, /* unrecognised file */
|
||||||
gld${EMULATION_NAME}_list_options
|
gld${EMULATION_NAME}_list_options,
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1278,14 +1278,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}",
|
"${OUTPUT_FORMAT}",
|
||||||
gld${EMULATION_NAME}_finish, /* finish */
|
gld${EMULATION_NAME}_finish,
|
||||||
NULL, /* create output section statements */
|
NULL, /* create output section statements */
|
||||||
gld${EMULATION_NAME}_open_dynamic_archive,
|
gld${EMULATION_NAME}_open_dynamic_archive,
|
||||||
gld${EMULATION_NAME}_place_orphan,
|
gld${EMULATION_NAME}_place_orphan,
|
||||||
NULL, /* set_symbols */
|
NULL, /* set symbols */
|
||||||
gld${EMULATION_NAME}_parse_args,
|
gld${EMULATION_NAME}_parse_args,
|
||||||
NULL, /* unrecognised file */
|
NULL, /* unrecognized file */
|
||||||
gld${EMULATION_NAME}_list_options,
|
gld${EMULATION_NAME}_list_options,
|
||||||
NULL /* recognized file */
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -163,13 +163,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}",
|
"${OUTPUT_FORMAT}",
|
||||||
NULL, /* finish */
|
NULL, /* finish */
|
||||||
NULL, /* create output section statements */
|
NULL, /* create output section statements */
|
||||||
NULL, /* open dynamic archive */
|
NULL, /* open dynamic archive */
|
||||||
NULL, /* place orphan */
|
NULL, /* place orphan */
|
||||||
NULL, /* set_symbols */
|
NULL, /* set symbols */
|
||||||
NULL,
|
NULL, /* parse args */
|
||||||
NULL, /* unrecognised file */
|
NULL, /* unrecognized file */
|
||||||
NULL
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -832,6 +832,9 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
NULL, /* open dynamic archive */
|
NULL, /* open dynamic archive */
|
||||||
gld${EMULATION_NAME}_place_orphan,
|
gld${EMULATION_NAME}_place_orphan,
|
||||||
gld_${EMULATION_NAME}_set_symbols,
|
gld_${EMULATION_NAME}_set_symbols,
|
||||||
gld_${EMULATION_NAME}_parse_args
|
gld_${EMULATION_NAME}_parse_args,
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -113,6 +113,15 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
before_allocation_default,
|
before_allocation_default,
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}"
|
"${OUTPUT_FORMAT}",
|
||||||
|
NULL, /* finish */
|
||||||
|
NULL, /* create output section statements */
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -168,6 +168,15 @@ struct ld_emulation_xfer_struct ld_gld960_emulation =
|
||||||
before_allocation_default,
|
before_allocation_default,
|
||||||
gld960_get_script,
|
gld960_get_script,
|
||||||
"960",
|
"960",
|
||||||
""
|
"",
|
||||||
|
NULL, /* finish */
|
||||||
|
NULL, /* create output section statements */
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -184,6 +184,15 @@ struct ld_emulation_xfer_struct ld_gld960coff_emulation =
|
||||||
before_allocation_default,
|
before_allocation_default,
|
||||||
gld960_get_script,
|
gld960_get_script,
|
||||||
"960coff",
|
"960coff",
|
||||||
""
|
"",
|
||||||
|
NULL, /* finish */
|
||||||
|
NULL, /* create output section statements */
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -276,5 +276,12 @@ struct ld_emulation_xfer_struct ld_hppaelf_emulation =
|
||||||
"elf32-hppa",
|
"elf32-hppa",
|
||||||
hppaelf_finish,
|
hppaelf_finish,
|
||||||
hppaelf_create_output_section_statements,
|
hppaelf_create_output_section_statements,
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -198,14 +198,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}",
|
"${OUTPUT_FORMAT}",
|
||||||
NULL,
|
NULL, /* finish */
|
||||||
gld${EMULATION_NAME}_create_output_section_statements,
|
gld${EMULATION_NAME}_create_output_section_statements,
|
||||||
gld${EMULATION_NAME}_open_dynamic_archive,
|
gld${EMULATION_NAME}_open_dynamic_archive,
|
||||||
NULL,
|
NULL, /* place orphan */
|
||||||
NULL,
|
NULL, /* set symbols */
|
||||||
NULL,
|
NULL, /* parse args */
|
||||||
NULL,
|
NULL, /* unrecognized file */
|
||||||
NULL,
|
NULL, /* list options */
|
||||||
NULL
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -320,6 +320,15 @@ struct ld_emulation_xfer_struct ld_lnk960_emulation =
|
||||||
lnk960_before_allocation,
|
lnk960_before_allocation,
|
||||||
lnk960_get_script,
|
lnk960_get_script,
|
||||||
"lnk960",
|
"lnk960",
|
||||||
""
|
"",
|
||||||
|
NULL, /* finish */
|
||||||
|
NULL, /* create output section statements */
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -224,6 +224,15 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
before_allocation_default,
|
before_allocation_default,
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}"
|
"${OUTPUT_FORMAT}",
|
||||||
|
NULL, /* finish */
|
||||||
|
NULL, /* create output section statements */
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1029,10 +1029,14 @@ struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
|
||||||
gld${EMULATION_NAME}_get_script,
|
gld${EMULATION_NAME}_get_script,
|
||||||
"${EMULATION_NAME}",
|
"${EMULATION_NAME}",
|
||||||
"${OUTPUT_FORMAT}",
|
"${OUTPUT_FORMAT}",
|
||||||
NULL, /* finish */
|
NULL, /* finish */
|
||||||
gld${EMULATION_NAME}_create_output_section_statements,
|
gld${EMULATION_NAME}_create_output_section_statements,
|
||||||
NULL, /* open_dynamic_library */
|
NULL, /* open dynamic archive */
|
||||||
NULL, /* place_orphan */
|
NULL, /* place orphan */
|
||||||
gld${EMULATION_NAME}_set_symbols
|
gld${EMULATION_NAME}_set_symbols,
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -64,6 +64,15 @@ struct ld_emulation_xfer_struct ld_vanilla_emulation =
|
||||||
before_allocation_default,
|
before_allocation_default,
|
||||||
vanilla_get_script,
|
vanilla_get_script,
|
||||||
"vanilla",
|
"vanilla",
|
||||||
"a.out-sunos-big"
|
"a.out-sunos-big",
|
||||||
|
NULL, /* finish */
|
||||||
|
NULL, /* create output section statements */
|
||||||
|
NULL, /* open dynamic archive */
|
||||||
|
NULL, /* place orphan */
|
||||||
|
NULL, /* set symbols */
|
||||||
|
NULL, /* parse args */
|
||||||
|
NULL, /* unrecognized file */
|
||||||
|
NULL, /* list options */
|
||||||
|
NULL /* recognized file */
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -55,6 +55,11 @@ __throw ()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
__rethrow ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
__terminate ()
|
__terminate ()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue