From 82902d0e9549999bb3324440738b42f6d741c67e Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 16 Jan 2007 04:30:00 +0000 Subject: make the 'firmware object' files load the firmware blobs as read-only data simplify the code that uses the firmware objects a bit git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1826 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- build_tools/make_firmware_object | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_tools') 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 -- cgit v1.2.3