Fix for Solaris build problem
Angela Marie Thomas
angela@cygnus.com
Fri Nov 9 18:04:00 GMT 2001
More information about the Binutils mailing list
Fri Nov 9 18:04:00 GMT 2001
- Previous message (by thread): problems with msg catalogues
- Next message (by thread): Fix for Solaris build problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
While building current binutils on Solaris 8, I got the following error: eelf32_sparc.c: In function `gldelf32_sparc_finish': eelf32_sparc.c:1111: incompatible type for argument 6 of `lang_size_sections' Arg 6 is a "boolean *" so using "false" doesn't work in all cases (and specifically in my case). The patch below fixes it. 2001-11-20 Angela Marie Thomas <angela@redhat.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead of false when calling lang_size_sections(). Index: ./ld/emultempl/elf32.em =================================================================== RCS file: /cvs/src/src/ld/emultempl/elf32.em,v retrieving revision 1.66 diff -u -p -r1.66 elf32.em --- ./ld/emultempl/elf32.em 2001/11/15 12:44:02 1.66 +++ ./ld/emultempl/elf32.em 2001/11/20 12:08:24 @@ -1333,7 +1333,7 @@ gld${EMULATION_NAME}_finish () { /* Resize the sections. */ lang_size_sections (stat_ptr->head, abs_output_section, - &stat_ptr->head, 0, (bfd_vma) 0, false); + &stat_ptr->head, 0, (bfd_vma) 0, NULL); /* Redo special stuff. */ ldemul_after_allocation ();
- Previous message (by thread): problems with msg catalogues
- Next message (by thread): Fix for Solaris build problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list