+Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ * ldlang.c (lang_process): don't pass null pointers when
+ abs_output_section is what is required.
+ * ldwrite.c (ldwrite): use malloc to allocate the largest space
+ used, and pass that down.
+ * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
+ than alloca.
+
Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in, config/ose68.mt: renamed OSE to ose.
lang_statement_union_type *statement)
{
switch (statement->header.type) {
- {
#if 0
+ {
+
bfd_byte play_area[SHORT_SIZE];
unsigned int i;
bfd_putshort(output_bfd, statement->fill_statement.fill, play_area);
1);
}
-#endif
+
abort();
}
break;
+#endif
case lang_data_statement_enum:
#if 0
{
void
-DEFUN(write_relaxnorel,(output_bfd),
- bfd *output_bfd)
+DEFUN(write_relaxnorel,(output_bfd, data),
+ bfd *output_bfd AND
+ PTR data)
{
/* Tie up all the statements to generate an output bfd structure which
bfd can mull over */
lang_for_each_statement(build_it);
- seclet_dump(output_bfd);
+ seclet_dump(output_bfd, data);
}
-void EXFUN(write_relaxnorel,( bfd *output_bfd));
+void EXFUN(write_relaxnorel,( bfd *output_bfd, PTR data));
boolean EXFUN(relax_section,( lang_statement_union_type **this_ptr));