]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf32-i386.c
i386: Simplify VxWorks for non-PIC
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 27 Apr 2017 15:55:36 +0000 (08:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 27 Apr 2017 15:55:36 +0000 (08:55 -0700)
commit1f78f649e868979d36490d7c2ea0b3d41abc5ec6
treef88f434e829ca70d463ffbd9cd185dfaf170a8f2
parent55bcecda5703eb4647165cb3ddb86aed63fd44d2
i386: Simplify VxWorks for non-PIC

Change

  if (PIC)
    {
      #1
    }
  else
    {
      #2
      if (VxWorks)
        {
          #3
        }
    }
  #4
  if (VxWorks && !PIC)
    {
      #5
    }

to

  #4
  if (PIC)
    {
      #1
    }
  else
    {
      #2
      if (VxWorks)
        {
          #3
          #5
        }
    }

* elf32-i386.c (elf_i386_finish_dynamic_sections): Simplify
VxWorks for non-PIC.
bfd/ChangeLog
bfd/elf32-i386.c