From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32607 invoked by alias); 9 Feb 2005 23:03:50 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 32540 invoked from network); 9 Feb 2005 23:03:43 -0000 Received: from unknown (HELO ausmtp01.au.ibm.com) (202.81.18.186) by sourceware.org with SMTP; 9 Feb 2005 23:03:43 -0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id j19N5MqI118562 for ; Thu, 10 Feb 2005 10:05:25 +1100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.250.237]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j19N5q5e168250 for ; Thu, 10 Feb 2005 10:05:52 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11/8.12.11) with ESMTP id j19N3bgO028726 for ; Thu, 10 Feb 2005 10:03:37 +1100 Received: from ozlabs.au.ibm.com (haven.au.ibm.com [9.190.164.82]) by d23av04.au.ibm.com (8.12.11/8.12.11) with ESMTP id j19N3a0l028719 for ; Thu, 10 Feb 2005 10:03:37 +1100 Received: from namadgi.ozlabs.ibm.com (localhost [127.0.0.1]) by ozlabs.au.ibm.com (Postfix) with SMTP id 5455717DDD for ; Thu, 10 Feb 2005 10:03:36 +1100 (EST) Received: by namadgi.ozlabs.ibm.com (sSMTP sendmail emulation); Thu, 10 Feb 2005 10:05:26 +1100 From: "Ben Elliston" Date: Thu, 10 Feb 2005 08:58:00 -0000 To: binutils@sources.redhat.com Subject: small ld/emultempl cleanup Message-ID: <20050209230526.GA3585@namadgi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-02/txt/msg00187.txt.bz2 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2148 I'm just flushing a few lurking patches from my tree, so here is a small one against emultempl/beos.em. Okay for mainline? 2005-02-10 Ben Elliston * emultempl/beos.em: Remove #if 0 and #if 1 blocks. Index: emultempl/beos.em =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/bje/src-cvs/src/ld/emultempl/beos.em,v retrieving revision 1.25 diff -u -p -u -r1.25 beos.em --- emultempl/beos.em 3 Jan 2004 11:09:07 -0000 1.25 +++ emultempl/beos.em 9 Feb 2005 23:02:36 -0000 @@ -187,10 +187,6 @@ set_pe_subsystem (void) { "wwindows", 2, "_wWinMainCRTStartup" }, { "console", 3, "_mainCRTStartup" }, { "wconsole", 3, "_wmainCRTStartup" }, -#if 0 - /* The Microsoft linker does not recognize this. */ - { "os2", 5, "" }, -#endif { "posix", 7, "___PosixProcessStartup"}, { 0, 0, 0 } }; @@ -733,30 +729,7 @@ gld${EMULATION_NAME}_place_orphan (lang_ } ps[0] =3D 0; if (l =3D=3D NULL) -#if 1 einfo ("%P%F: *(%s\$) missing from linker script\n", output_secname); -#else /* FIXME: This block is untried. It exists to convey the intent, - should one decide to not require *(.foo\$) to appear in the linker - script. */ - { - lang_wild_statement_type *new; - struct wildcard_list *tmp; - - tmp =3D (struct wildcard_list *) xmalloc (sizeof *tmp); - tmp->next =3D NULL; - tmp->spec.name =3D xmalloc (strlen (output_secname) + 2); - sprintf (tmp->spec.name, "%s\$", output_secname); - tmp->spec.exclude_name_list =3D NULL; - tmp->sorted =3D FALSE; - new =3D new_stat (lang_wild_statement, &os->children); - new->filename =3D NULL; - new->filenames_sorted =3D FALSE; - new->section_list =3D tmp; - new->keep_sections =3D FALSE; - lang_list_init (&new->children); - l =3D new; - } -#endif =20 /* Link the input section in and we're done for now. The sections still have to be sorted, but that has to wait until --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCCpc2MGpskFPkywkRAmCbAJsEHcSolCdquqbI+lSLvp5Ax9hwxgCfaPQI lBQkRylNrLDEXhxyNiEvFss= =6ihO -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--