Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
binutils.237
use-hashtype-both-by-default.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-hashtype-both-by-default.diff of Package binutils.237
Index: ld/ldmain.c =================================================================== --- ld/ldmain.c.orig +++ ld/ldmain.c @@ -279,6 +279,7 @@ main (int argc, char **argv) link_info.combreloc = TRUE; link_info.strip_discarded = TRUE; link_info.emit_hash = TRUE; + link_info.emit_gnu_hash = TRUE; link_info.callbacks = &link_callbacks; link_info.input_bfds_tail = &link_info.input_bfds; /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init Index: ld/testsuite/config/default.exp =================================================================== --- ld/testsuite/config/default.exp.orig +++ ld/testsuite/config/default.exp @@ -23,7 +23,7 @@ # if ![info exists ld] then { - set ld "[findfile $base_dir/ld-new $base_dir/ld-new [transform ld]] -znorelro" + set ld "[findfile $base_dir/ld-new $base_dir/ld-new [transform ld]] -znorelro --hash-style=sysv" } if ![info exists as] then { @@ -69,7 +69,7 @@ if {![file isdirectory tmpdir/ld]} then catch "exec ln -s ../../ld-new tmpdir/ld/ld" status catch "exec ln -s ld tmpdir/ld/collect-ld" status } -set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro" +set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro -Wl,--hash-style=sysv" # load the linker path if {[file exists tmpdir/libpath.exp]} { @@ -279,7 +279,7 @@ if ![info exists READELFFLAGS] then { } if ![info exists LD] then { - set LD "[findfile $base_dir/ld-new ./ld-new [transform ld]] -znorelro" + set LD "[findfile $base_dir/ld-new ./ld-new [transform ld]] -znorelro --hash-style=sysv" } if ![info exists LDFLAGS] then {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor