mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
Merge from libretro/master:46902e0 for repo synchronization
This commit is contained in:
parent
9d1ecde692
commit
61d76999d7
74 changed files with 14043 additions and 2094 deletions
|
@ -51,7 +51,7 @@ check_obj ()
|
|||
fi
|
||||
# find the start line of the .rodata section; read the next line
|
||||
ro=$($OBJDUMP -s /tmp/getoffs.o | awk '\
|
||||
/Contents of section.*(__const|.ro?data|.sdata)/ {o=1; next} \
|
||||
/Contents of section.*(__const|.r[o]?data|.sdata)/ {o=1; next} \
|
||||
{if(o) { gsub(/ .*/,""); $1=""; gsub(/ /,""); print; exit}}')
|
||||
# no working tool for extracting the ro data; stop here
|
||||
if [ -z "$ro" ]; then
|
||||
|
@ -79,7 +79,7 @@ compile_rodata ()
|
|||
elif [ -n "$OBJDUMP" ]; then
|
||||
# find the start line of the .rodata section; read the next line
|
||||
ro=$($OBJDUMP -s /tmp/getoffs.o | awk '\
|
||||
/Contents of section.*(__const|.ro?data|.sdata)/ {o=1; next} \
|
||||
/Contents of section.*(__const|.r[o]?data|.sdata)/ {o=1; next} \
|
||||
{if(o) { gsub(/ .*/,""); $1=""; gsub(/ /,""); print; exit}}')
|
||||
fi
|
||||
if [ "$ENDIAN" = "le" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue