alpha
Login
or
Join now
theoparis.com
/
binutils-apple
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
WIP MachO binutils port assisted by AI I may consider upstreaming this in the future.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
binutils-apple
/
ld
/
testsuite
/
ld-srec
/
at
master
4 files
H.J. Lu
ld: Pass --no-rosegment to ld in some linker tests
5mo ago
db4f00be
sr1.c
ld: Pass --no-rosegment to ld in some linker tests For elf/x86, --rosegment places code after read-only data, instead of before read-only data. Pass --no-rosegment to ld in some linker tests to avoid extra linker test failures when binutils is configured with --enable-rosegment for elf/x86. binutils/ PR ld/34003 * testsuite/lib/binutils-common.exp (check_rosegment_support): New. (run_dump_test): Make NO_ROSEGMENT_LDFLAGS global. ld/ PR ld/34003 * testsuite/config/default.exp (NO_ROSEGMENT_LDFLAGS): New. * testsuite/ld-elf/mbind1a.d: Pass $NO_ROSEGMENT_LDFLAGS to ld. * testsuite/ld-elf/pr26256-2b.d: Likewise. * testsuite/ld-srec/srec.exp (extra_flags): Add $NO_ROSEGMENT_LDFLAGS. * testsuite/ld-x86-64/no-plt.exp: Pass -Wl,--no-rosegment to compiler. * testsuite/ld-x86-64/pr27491-1c.d: Pass --no-rosegment to ld. * testsuite/ld-x86-64/pr27491-2.d: Likewise. * testsuite/ld-x86-64/pr27491-3.d: Likewise. * testsuite/ld-x86-64/pr27491-4.d: Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
5 months ago
sr2.c
ld: Update function prototypes for compilers defaulting to -std=gnu23 Since GCC 15 defaults to -std=gnu23, update function prototypes in linker tests for compilers defaulting to -std=gnu23. PR ld/32546 * ld-shared/main.c (shlib_checkfunptr1): Update prototype for compilers defaulting to -std=gnu23. (shlib_checkfunptr2): Likewise. * ld-shared/sh1.c (shlib_checkfunptr1): Likewise. (shlib_checkfunptr2): Likewise. * ld-srec/sr1.c (fn1): Likewise. (fn2): Likewise. * ld-srec/sr2.c (fn1): Likewise. (fn2): Likewise. * ld-vsb/main.c (shlib_checkfunptr1): Likewise. (shlib_checkfunptr2): Likewise. * ld-vsb/sh1.c (hlib_checkfunptr1): Likewise. (shlib_checkfunptr2): Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
2 years ago
sr3.cc
Work around gcc10 FAIL: S-records with constructors gcc10 on x86_64 and powerpc64le recognises that the loop in Foo::operator= can be turned into a call to memmove, which then results in an undefined symbol when linking. Avoid that by making the loop smaller. * testsuite/ld-srec/sr3.cc (FOO_MSG_LEN): Set to 4.
7 years ago
srec.exp
ld: Pass --no-rosegment to ld in some linker tests For elf/x86, --rosegment places code after read-only data, instead of before read-only data. Pass --no-rosegment to ld in some linker tests to avoid extra linker test failures when binutils is configured with --enable-rosegment for elf/x86. binutils/ PR ld/34003 * testsuite/lib/binutils-common.exp (check_rosegment_support): New. (run_dump_test): Make NO_ROSEGMENT_LDFLAGS global. ld/ PR ld/34003 * testsuite/config/default.exp (NO_ROSEGMENT_LDFLAGS): New. * testsuite/ld-elf/mbind1a.d: Pass $NO_ROSEGMENT_LDFLAGS to ld. * testsuite/ld-elf/pr26256-2b.d: Likewise. * testsuite/ld-srec/srec.exp (extra_flags): Add $NO_ROSEGMENT_LDFLAGS. * testsuite/ld-x86-64/no-plt.exp: Pass -Wl,--no-rosegment to compiler. * testsuite/ld-x86-64/pr27491-1c.d: Pass --no-rosegment to ld. * testsuite/ld-x86-64/pr27491-2.d: Likewise. * testsuite/ld-x86-64/pr27491-3.d: Likewise. * testsuite/ld-x86-64/pr27491-4.d: Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
5 months ago