OBJCOPY warning?

OP #1173100
I'm getting a warning from objcopy and was just wondering what it means,
and if it could cause problems.

This is the warning that I get several time :
BFD: Temp.elf: warning: Empty loadable segment detected, is this
intentional ?

Here is the section of my link file that uses it :
        @cp Final.elf Temp.elf
  @$(OBJCOPY) -g      Temp.elf
  @$(OBJCOPY) -R  STACKS    Temp.elf
  @$(OBJCOPY) -R  DATA_CACHE_A  Temp.elf
  @$(OBJCOPY) -R  DATA_CACHE_B  Temp.elf
  @$(OBJCOPY) -R  VARS_LOW  Temp.elf
  @$(OBJCOPY) -R  VARS_HI    Temp.elf
  @$(OBJCOPY) -R  END_OF_MEMORY  Temp.elf
  @$(OBJCOPY) -R  MVL0IF0    Temp.elf
  @$(OBJCOPY) -R  MVL0IF1    Temp.elf
  @$(OBJCOPY) -R  MVL0SATA0  Temp.elf
  @$(OBJCOPY) -R  MVL0SATA1  Temp.elf
  @$(OBJCOPY) -R  MVL0EXPROM  Temp.elf
  @$(OBJCOPY) -R  MVL1IF0    Temp.elf
  @$(OBJCOPY) -R  MVL1IF1    Temp.elf
  @$(OBJCOPY) -R  MVL1SATA0  Temp.elf
  @$(OBJCOPY) -R  MVL1SATA1  Temp.elf
  @$(OBJCOPY) -R  MVL1EXPROM  Temp.elf
  @$(OBJCOPY) -R  QLogic0_Mem  Temp.elf
  @$(OBJCOPY) -R  QLogic0_Rom  Temp.elf
  @$(OBJCOPY) -R  QLogic0_IO  Temp.elf
  @$(OBJCOPY) -R  QLogic1_Mem  Temp.elf
  @$(OBJCOPY) -R  QLogic1_Rom  Temp.elf
  @$(OBJCOPY) -R  QLogic1_IO  Temp.elf
  @$(OBJCOPY) -R  UART0    Temp.elf
  @$(OBJCOPY) -R  UART1    Temp.elf
  @$(OBJCOPY) -R  INTERRUPTS  Temp.elf
  @$(OBJCOPY) -R  FRAM_AREA  Temp.elf
  @$(OBJCOPY) -R  XSCALE    Temp.elf
  @$(OBJCOPY) -R .comment    Temp.elf
  @$(OBJDUMP) -h      Temp.elf
  @$(OBJCOPY) -O srec    Temp.elf Final.srec
  @$(OBJCOPY) -O binary    Temp.elf Final.bin
  @$(OBJCOPY) -O ihex     Temp.elf Final.hex

Thanks.

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.