summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-16 04:38:41 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-16 04:38:41 +0000
commit51279fd0ed6db09b723f915c798891d26f914883 (patch)
tree7f63a6c4b359c4cd86259a69c41f53df16267167 /build_tools
parent2b1564743ec337898e31300ccc97b3b91ecc50b3 (diff)
Merged revisions 1826-1827 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1826 | kpfleming | 2007-01-15 22:30:00 -0600 (Mon, 15 Jan 2007) | 3 lines make the 'firmware object' files load the firmware blobs as read-only data simplify the code that uses the firmware objects a bit ........ r1827 | kpfleming | 2007-01-15 22:37:06 -0600 (Mon, 15 Jan 2007) | 2 lines use latest Octasic API tag ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1828 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_firmware_object2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/make_firmware_object b/build_tools/make_firmware_object
index 1aadde3..b00c8f9 100755
--- a/build_tools/make_firmware_object
+++ b/build_tools/make_firmware_object
@@ -9,4 +9,4 @@
bfdname=`objdump -f ${3} | grep -e "${3}:" | sed "s/.*file format \(.*\)/\1/"`
bfdarch=`objdump -f ${3} | grep -e "architecture:" | sed "s/.*ture: \(.*\),.*/\1/"`
-objcopy -I binary ${1} -B ${bfdarch} -O ${bfdname} ${2}
+objcopy -I binary ${1} -B ${bfdarch} -O ${bfdname} ${2} --rename-section .data=.rodata,alloc,load,data,contents,readonly