This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix build with GCC 4


Jakub Jelinek <jakub@redhat.com> writes:

> --- libc/sysdeps/i386/dl-machine.h.jj	2005-02-16 20:16:33.000000000 -0500
> +++ libc/sysdeps/i386/dl-machine.h	2005-03-04 16:50:32.313591897 -0500
> @@ -301,9 +301,7 @@ elf_machine_plt_value (struct link_map *
>  
>  /* The i386 never uses Elf32_Rela relocations for the dynamic linker.
>     Prelinked libraries may use Elf32_Rela though.  */
> -#ifdef RTLD_BOOTSTRAP
> -# define ELF_MACHINE_NO_RELA 1
> -#endif
> +#define ELF_MACHINE_NO_RELA (defined RTLD_BOOTSTRAP)

Does gcc guarantee that this works (which would be an extension wrt the C
standard)?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]