Explorar o código

branding only under FreeBSD for now

Ralf S. Engelschall %!s(int64=24) %!d(string=hai) anos
pai
achega
502dc0e53a
Modificáronse 2 ficheiros con 2 adicións e 8 borrados
  1. 1 7
      binutils/binutils.patch
  2. 1 1
      binutils/binutils.spec

+ 1 - 7
binutils/binutils.patch

@@ -9,19 +9,13 @@
      (*bed->s->swap_symbol_in) (ibfd, esym, (const PTR) shndx, isym);
  
   out:
-@@ -4235,6 +4235,18 @@
+@@ -4235,6 +4235,12 @@
    else
      i_ehdrp->e_type = ET_REL;
  
 +  /* OpenPKG platform branding BEGIN */
 +#if defined(OPENPKG_OS_FREEBSD)
 +  i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
-+#elif defined(OPENPKG_OS_LINUX)
-+  i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_LINUX;
-+#elif defined(OPENPKG_OS_SOLARIS)
-+  i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_SOLARIS;
-+#else
-+  i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_NONE;
 +#endif
 +  /* OpenPKG platform branding END */
 +

+ 1 - 1
binutils/binutils.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [CORE]
 Group:        Utility
 License:      GPL
 Version:      2.13
-Release:      20020822
+Release:      20020826
 
 #   list of sources
 Source0:      ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2