FreeBSD Bugzilla – Attachment 178846 Details for
Bug 216012
/usr/lib/libgcc_s.so underlinks libc breaking linking with ld.gold
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
LIBADD+= c in libgcc_s Makefile
pr216012.diff (text/plain), 1.70 KB, created by
Ed Maste
on 2017-01-13 03:18:52 UTC
(
hide
)
Description:
LIBADD+= c in libgcc_s Makefile
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2017-01-13 03:18:52 UTC
Size:
1.70 KB
patch
obsolete
>diff --git a/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c b/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c >index 19b23ad5290..9f910745366 100644 >--- a/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c >+++ b/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c >@@ -550,6 +550,37 @@ elftc_reloc_type_str(unsigned int mach, unsigned int type) > case 48: return "R_RISCV_GPREL_S"; > } > break; >+ case EM_S390: >+ switch (type) { >+ case 0: return "R_390_NONE"; >+ case 1: return "R_390_8"; >+ case 2: return "R_390_12"; >+ case 3: return "R_390_16"; >+ case 4: return "R_390_32"; >+ case 5: return "R_390_PC32"; >+ case 6: return "R_390_GOT12"; >+ case 7: return "R_390_GOT32"; >+ case 8: return "R_390_PLT32"; >+ case 9: return "R_390_COPY"; >+ case 10: return "R_390_GLOB_DAT"; >+ case 11: return "R_390_JMP_SLOT"; >+ case 12: return "R_390_RELATIVE"; >+ case 13: return "R_390_GOTOFF"; >+ case 14: return "R_390_GOTPC"; >+ case 15: return "R_390_GOT16"; >+ case 16: return "R_390_PC16"; >+ case 17: return "R_390_PC16DBL"; >+ case 18: return "R_390_PLT16DBL"; >+ case 19: return "R_390_PC32DBL"; >+ case 20: return "R_390_PLT32DBL"; >+ case 21: return "R_390_GOTPCDBL"; >+ case 22: return "R_390_64"; >+ case 23: return "R_390_PC64"; >+ case 24: return "R_390_GOT64"; >+ case 25: return "R_390_PLT64"; >+ case 26: return "R_390_GOTENT"; >+ } >+ break; > case EM_SPARC: > case EM_SPARCV9: > switch(type) { >diff --git a/lib/libgcc_s/Makefile b/lib/libgcc_s/Makefile >index e4887a631de..78b6515996f 100644 >--- a/lib/libgcc_s/Makefile >+++ b/lib/libgcc_s/Makefile >@@ -8,6 +8,7 @@ MK_SSP= no > WARNS?= 2 > > LDFLAGS+= -nodefaultlibs >+LIBADD+= c > VERSION_MAP= ${.CURDIR}/Version.map > > .include "../libcompiler_rt/Makefile.inc"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216012
: 178846