data relocation to !ENDBR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



anybody familiar with this error, or how to fix it ?
It doesnt seem to break anything (boots,runs fine),
but thats not much of a test.



[jimc@frodo b0-dd]$ make
  GEN     Makefile
  CALL    ../scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  LD      vmlinux.o
vmlinux.o: warning: objtool: .export_symbol+0x2c1d8: data relocation
to !ENDBR: stpcpy+0x0
  OBJCOPY modules.builtin.modinfo
...
make finishes

[jimc@frodo b0-dd]$ nm vmlinux.a | grep s7tpcpy
0000000000000050 r __export_symbol_stpcpy
0000000000000110 T stpcpy
00000000000000b0 d __UNIQUE_ID___addressable_stpcpy9

is it improper to EXPORT_SYMBOL a struct in a __section ?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux