Small tidy to elf64-ppc.c
Alan Modra
amodra@bigpond.net.au
Fri Apr 1 02:54:00 GMT 2005
More information about the Binutils mailing list
Fri Apr 1 02:54:00 GMT 2005
- Previous message (by thread): R_PPC64_NONE relocs
- Next message (by thread): "Error: constant too large" on mips gas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
We're alway SEC_ALLOC here. * elf64-ppc.c (ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check. Applying mainline and branch. Index: bfd/elf64-ppc.c =================================================================== RCS file: /cvs/src/src/bfd/elf64-ppc.c,v retrieving revision 1.194 diff -u -p -r1.194 elf64-ppc.c --- bfd/elf64-ppc.c 5 Mar 2005 11:44:14 -0000 1.194 +++ bfd/elf64-ppc.c 1 Apr 2005 02:00:21 -0000 @@ -4686,9 +4688,8 @@ ppc64_elf_check_relocs (bfd *abfd, struc sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY - | SEC_IN_MEMORY | SEC_LINKER_CREATED); - if ((sec->flags & SEC_ALLOC) != 0) - flags |= SEC_ALLOC | SEC_LOAD; + | SEC_IN_MEMORY | SEC_LINKER_CREATED + | SEC_ALLOC | SEC_LOAD); if (sreloc == NULL || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 3)) -- Alan Modra IBM OzLabs - Linux Technology Centre
- Previous message (by thread): R_PPC64_NONE relocs
- Next message (by thread): "Error: constant too large" on mips gas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list