git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a0950
)
Extract `.GCC.command.line'.
author
jkratoch
<>
Sat, 2 Oct 2010 15:58:19 +0000
(15:58 +0000)
committer
jkratoch
<>
Sat, 2 Oct 2010 15:58:19 +0000
(15:58 +0000)
bin/gcc-command-line
[new file with mode: 0755]
patch
|
blob
diff --git a/bin/gcc-command-line
b/bin/gcc-command-line
new file mode 100755
(executable)
index 0000000..
5e756b9
--- /dev/null
+++ b/
bin/gcc-command-line
@@ -0,0
+1,4
@@
+#! /bin/sh
+for i in "$@";do
+ objcopy -O binary -j .GCC.command.line --set-section-flags .GCC.command.line=A --change-section-address .GCC.command.line=0 "$i" /proc/self/fd/1|tr '\0' ' '|sed 's/ $//';echo
+done